Hi Jeff,
thanks for the explanation - I should have read the MPI standard more carefully.
In the end, I traced the bug down to using standard send instead of
synchronous send,
so it had nothing to do with the receiving side at all.
Best regards,
Riccardo
On Nov 21, 2010, at 1:46 PM, Riccardo Murri wrote:
> I'm using code like this:
>
> MPI_Iprobe(MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, &flag, &status);
> if(flag) {
>int size;
>MPI_Get_count(&status, MPI_BYTE, &size);
>void* row = xmalloc(size);
>/* ... */
>MPI_Recv(row,
Hello,
I'm trying to debug a segfaulting application; the segfault does not
happen consistently, however, so my guess is that it is due to some
memory corruption problem which I'm trying to find.
I'm using code like this:
MPI_Iprobe(MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, &flag, &status);