<div dir="ltr">That is another option... Consider a case with cooperatively scheduled user-level threads. It could be hard to meet the concurrency requirement for collectives even if you have MPI_THREAD_MULTIPLE.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 2:09 PM, Jeff Hammond <span dir="ltr"><<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Would it make it easier to just require MPI_THREAD_MULTIPLE here? Is<br>
that not the only _reasonable_ use case?<br>
<br>
Sorry if I am bringing a dead horse back to life so we can beat it to<br>
death again.<br>
<br>
Jeff<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Apr 7, 2014 at 1:07 PM, Jim Dinan <<a href="mailto:james.dinan@gmail.com">james.dinan@gmail.com</a>> wrote:<br>
> Every process in a communicator has its own set of attributes. Seems<br>
> natural that this would be extended to endpoints. They don't propagate when<br>
> the endpoints communicator is created, so you would need to set them on each<br>
> endpoint.<br>
><br>
> ~Jim.<br>
><br>
><br>
> On Mon, Apr 7, 2014 at 1:27 PM, Jeff Squyres (jsquyres) <<a href="mailto:jsquyres@cisco.com">jsquyres@cisco.com</a>><br>
> wrote:<br>
>><br>
>> More to the point -- did we decide that if you create_endpoints and get N<br>
>> local communicators out, are there N local copies of each of the attributes?<br>
>> Or just 1 copy?<br>
>><br>
>> I.e., does the attribute copy callback get invoked N times or 1 time?<br>
>><br>
>> This may be in the text already -- forgive me if it is -- but I should<br>
>> think that there should be a symmetry between attribute copy/creation and<br>
>> destruction with regards to endpoint-created communicator handles.<br>
>><br>
>><br>
>><br>
>> On Apr 7, 2014, at 1:21 PM, "Balaji, Pavan" <<a href="mailto:balaji@anl.gov">balaji@anl.gov</a>> wrote:<br>
>><br>
>> ><br>
>> > On Apr 7, 2014, at 12:09 PM, Jim Dinan <<a href="mailto:james.dinan@gmail.com">james.dinan@gmail.com</a>> wrote:<br>
>> >> Dan suggested a third approach where we leave the Comm_free semantic<br>
>> >> unchanged and add a new function, MPI_Comm_free_endpoints(MPI_Comm<br>
>> >> comm_handles[], int my_num_ep), that has symmetry with<br>
>> >> Comm_create_endpoints. An endpoints communicator can be freed with either<br>
>> >> Comm_free or Comm_free_endpoints. They differ in their concurrency<br>
>> >> requirement.<br>
>> ><br>
>> > What happens to the attribute callbacks when you use<br>
>> > MPI_Comm_free_endpoints?<br>
>> ><br>
>> > — Pavan<br>
>> ><br>
>> > _______________________________________________<br>
>> > mpiwg-hybridpm mailing list<br>
>> > <a href="mailto:mpiwg-hybridpm@lists.mpi-forum.org">mpiwg-hybridpm@lists.mpi-forum.org</a><br>
>> > <a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-hybridpm" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-hybridpm</a><br>
>><br>
>><br>
>> --<br>
>> Jeff Squyres<br>
>> <a href="mailto:jsquyres@cisco.com">jsquyres@cisco.com</a><br>
>> For corporate legal information go to:<br>
>> <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>
>><br>
>> _______________________________________________<br>
>> mpiwg-hybridpm mailing list<br>
>> <a href="mailto:mpiwg-hybridpm@lists.mpi-forum.org">mpiwg-hybridpm@lists.mpi-forum.org</a><br>
>> <a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-hybridpm" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-hybridpm</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> mpiwg-hybridpm mailing list<br>
> <a href="mailto:mpiwg-hybridpm@lists.mpi-forum.org">mpiwg-hybridpm@lists.mpi-forum.org</a><br>
> <a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-hybridpm" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-hybridpm</a><br>
<br>
<br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">Jeff Hammond<br>
<a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
mpiwg-hybridpm mailing list<br>
<a href="mailto:mpiwg-hybridpm@lists.mpi-forum.org">mpiwg-hybridpm@lists.mpi-forum.org</a><br>
<a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-hybridpm" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-hybridpm</a></div></div></blockquote></div><br></div>