[mvapich-discuss] Stupid question about MPI Communicators

James Dinan dinan at mcs.anl.gov
Thu Jun 9 15:36:34 EDT 2011


Hi Mike,

Nope, communication cannot pass from one communicator into another. 
Communicators contain both a group and a context ID and this context ID 
is effectively used as a second tag when matching communication 
operations.  If you were to call MPI_Comm_compare on such communicators, 
MPI will tell you MPI_CONGRUENT if both communicators were built with 
the same MPI group or MPI_SIMILAR, but not MPI_IDENT(ical).

Best,
  ~Jim.

On 6/9/11 1:28 PM, Mike Heinz wrote:
> If I create two communicators with the exact same members, are they considered to be the same communicator?  That is, if I create Communicator A and Communicator B with the same members, and Rank-a sends via A, will Rank b receive it while listening to Communicator B?
>
> This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
>
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss



More information about the mvapich-discuss mailing list