[Mpi3-hybridpm] slightly improved document is posted
Snir, Marc
snir at illinois.edu
Tue Jan 19 10:14:55 CST 2010
On Jan 18, 2010, at 5:41 PM, Rajeev Thakur wrote:
> I think some text is needed to specify what MPI_Comm_rank returns.
> Suppose a thread calls MPI_Comm_rank on MPI_COMM_WORLD, does it return
> the rank of the endpoint the thread is currently attached to? What is
> returned if the thread is not attached to an endpoint?
MPI calls by a thread not attached to an endpoint are erroneous. If a thread is attached it will return the rank of the enpoint it is attached to.
>
> The function MPI_Comm_endpoint is defined as "retrieves the endpoint
> associated with a communicator". But a communicator can have multiple
> endpoints. Should it be rephrased to say "the endpoint that the calling
> thread is currently attached to"? What is returned if the thread is not
> attached to an endpoint in that communicator?
Correct "the endpoint that the calling thread is attached to". Again, a comm object is thread local and should not be passed across threads -- the results are undefined if it is passed.
>
> Rajeev
>
>
>
>> -----Original Message-----
>> From: mpi3-hybridpm-bounces at lists.mpi-forum.org
>> [mailto:mpi3-hybridpm-bounces at lists.mpi-forum.org] On Behalf
>> Of Snir, Marc
>> Sent: Sunday, January 17, 2010 9:03 PM
>> To: mpi3-hybridpm at lists.mpi-forum.org
>> Subject: [Mpi3-hybridpm] slightly improved document is posted
>>
>> hybrid-V5.2.pdf<https://svn.mpi-forum.org/trac/mpi-forum-web/a
> ttachment/wiki/MPI3Hybrid/hybrid-V5.2.pdf>
>>
>> Please use this one for our discussion coming week.
>>
>> Marc Snir
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mpi3-hybridpm mailing list
>> Mpi3-hybridpm at lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-hybridpm
>>
>
> _______________________________________________
> Mpi3-hybridpm mailing list
> Mpi3-hybridpm at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-hybridpm
Marc Snir
More information about the mpiwg-hybridpm
mailing list