Re: [OMPI users] Problems with MPI_Iprobe

2011-08-03 Thread Jeff Squyres
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_

Re: [OMPI users] Problems with MPI_Iprobe

2011-08-02 Thread Thatyene Louise Alves de Souza Ramos
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,

[OMPI users] Problems with MPI_Iprobe

2011-07-22 Thread Rodrigo Oliveira
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