I don't see the issue with connected dynamic processes and finalize. Doesn't each process just wait until count=0 to actually finalize? In this case, is it not sufficient for each process to use its local ref count? Your slide looks fine to me. What's the example where borkification happens?<div>
<br></div><div>Jeff<br><br><div class="gmail_quote">On Tue, Jun 18, 2013 at 7:47 AM, Jeff Squyres (jsquyres) <span dir="ltr"><<a href="mailto:jsquyres@cisco.com" target="_blank">jsquyres@cisco.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For comment...<br>
<br>
Here's a first cut at slides that we discussed yesterday. It's meant to be a rollup of all the issues surrounding:<br>
<br>
- thread safe INIT / FINALIZE<br>
- reference-counting INIT / FINALIZE<br>
- nesting of INIT / FINALIZE<br>
<br>
I discovered a new issue when making up these slides: with ref-counting INIT/FINALIZE, since INIT/FINALIZE are collective, we have the same ref counts in all procs in MPI_COMM_WORLD. But the ref counts may be different in non-COMM_WORLD connected processes. What happens when they try to finalize over all connected processes? See slide 12 for an example. I'm not sure what the right answer is yet.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jeff Squyres<br>
<a href="mailto:jsquyres@cisco.com">jsquyres@cisco.com</a><br>
For corporate legal information go to: <a href="http://www.cisco.com/web/about/doing_business/legal/cri/" target="_blank">http://www.cisco.com/web/about/doing_business/legal/cri/</a><br>
</font></span><br>_______________________________________________<br>
Mpi3-hybridpm mailing list<br>
<a href="mailto:Mpi3-hybridpm@lists.mpi-forum.org">Mpi3-hybridpm@lists.mpi-forum.org</a><br>
<a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-hybridpm" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-hybridpm</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeff Hammond<br>
Argonne Leadership Computing Facility<br>University of Chicago Computation Institute<br><a href="mailto:jhammond@alcf.anl.gov" target="_blank">jhammond@alcf.anl.gov</a> / (630) 252-5381<br><a href="http://www.linkedin.com/in/jeffhammond" target="_blank">http://www.linkedin.com/in/jeffhammond</a><br>
<a href="https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond" target="_blank">https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond</a><br>ALCF docs: <a href="http://www.alcf.anl.gov/user-guides" target="_blank">http://www.alcf.anl.gov/user-guides</a>
</div>