Re: [OMPI users] Possible buffer overflow on Recv rank

2019-03-27 Thread Gilles Gouaillardet
Carlos, can you post a trimmed version of your code that evidences the issue ? Keep in mind that if you want to write MPI code that is correct with respect to the standard, you should assume MPI_Send() might block until a matching receive is posted. Cheers, Gilles Sent from my iPod > On Ma

Re: [OMPI users] Possible buffer overflow on Recv rank

2019-03-27 Thread carlos aguni
Not "MPI_Send from 0".. MPI_Send from 1 to 0 MPI_Send from 7 to 0 And so on.. On Wed, Mar 27, 2019, 8:43 AM carlos aguni wrote: > Hi all. > > I've an MPI application in which at one moment one rank receives a slice > of an array from the other nodes. > Thing is that my application hangs there. >

[OMPI users] Possible buffer overflow on Recv rank

2019-03-27 Thread carlos aguni
Hi all. I've an MPI application in which at one moment one rank receives a slice of an array from the other nodes. Thing is that my application hangs there. One thing I could get from printint out logs are: (Rank 0) Starts MPI_Recv from source 4 But then it receives: MPI_Send from 0 MPI_Send from