It looks like a garden variety race condition -- MCW rank 1 is probably calling
MPI_Iprobe before the message has actually been delivered by MCW rank 0.
Try putting in a sleep(1) (or some other kind of delay) before your MPI_Iprobe,
and I'll bet that the first call to MPI_Iprobe will return has_
I am having this problem too. If someone could help, I will appreciate!
On Fri, Jul 22, 2011 at 5:29 PM, Rodrigo Oliveira wrote:
> Hi there.
>
> I have an application in which I need to terminate a process anytime due an
> external command. In order to maintain the consistence of the processes,
Hi there.
I have an application in which I need to terminate a process anytime due an
external command. In order to maintain the consistence of the processes, I
need to receive the messages that were already sent to the terminating
process. I used the MPI_Iprobe to check whether there is messages