[mpich-discuss] Semantics of MPI_Cancel

Rajeev Thakur thakur at mcs.anl.gov
Wed Aug 7 16:10:02 CDT 2013


You canceled the recv, not the send. The send will still go through and match the first available receive that can be matched.

On Aug 7, 2013, at 3:25 PM, Matthieu Dorier wrote:

> Hi,
> 
> Suppose process 0 does the following
> MPI_Irecv(...req)
> MPI_Cancel(req)
> MPI_Recv
> 
> and process 1 does
> MPI_Send
> MPI_Send
> 
> Does process 0 receives the data from the first or the second MPI_Send?
> (I'd tend to say the second, but I'd like a confirmation).
> 
> Thanks!
> 
> Matthieu Dorier
> PhD student at ENS Cachan Brittany and IRISA
> http://people.irisa.fr/Matthieu.Dorier
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss




More information about the discuss mailing list