From: salo@cray.com (Eric Salo)
Newsgroups: comp.parallel.mpi
Subject: Re: problems with MPI_Cancel()
Date: 28 May 1999 15:30:07 GMT
Organization: Silicon Graphics, Inc.
Message-Id: <7imcpv$8qo$1@walter-fddi.cray.com>
References: <374DB25B.C5963D17@sd.aetc.com>
Xref: ukc comp.parallel.mpi:5143


In general, it is not a good idea to try to use MPI_Cancel() on a send.
Note that the MPI Standard in no way guarantees that the cancel will
succeed, and it is in fact perfectly legal to implement it as follows:

	int
	MPI_Cancel(...)
	{
		if (request_is_a_send) {
			return failure;
		}
	}

Which is exactly what some implementations do, and even those that claim
to have a "proper" implementation are not to be trusted IMHO.

Basically, MPI is just a really lousy fit for what you are trying to do.

--
Eric Salo      Silicon Graphics      salo@sgi.com

