[Mpi-forum] Cancelling a send matched by a matching probe

Marek Tomáštík tomastik.marek at gmail.com
Sun Nov 1 11:59:18 CST 2015

2015-10-31 17:33 GMT+01:00 William Gropp <wgropp at illinois.edu>:
>Under the interpretation of using whether the target process has observed,
>rather than received the message, a consistent interpretation is that the
>MPI_Cancel fails at the source, as it would if the message had been

But does that satisfy the requirement that "[i]f a communication is marked
for cancellation, then a MPI_WAIT call for that communication is guaranteed
to return, irrespective of the activities of other processes (i.e.,
MPI_WAIT behaves as a local function); similarly if MPI_TEST is repeatedly
called in a busy wait loop for a cancelled communication, then MPI_TEST
will eventually be successful"? As far as I can see, MPI_Wait for the
matched send cannot be local, since it can complete only once the receiver
actually receives the message.

I understand that cancelling of sends is in the process of being phased out
of the standard, but I would like to find out how/if it's possible to
implement this feature correctly given that it is, currently, a part of the

Marek Tomáštík
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpi-forum/attachments/20151101/41d2105a/attachment.html>

More information about the mpi-forum mailing list