LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Dominik Epple (epple_at_[hidden])
Date: 2004-11-29 06:14:26


Hi list,

I am trying to write some fault-tolerant code, guided by the example
in the distribution.

I have a call to MPI_Waitany:

    err=MPI_Waitany(ntasks, req_slaves, &idone, MPI_STATUS_IGNORE);

This call produces

MPI_Recv: process in remote group is dead (rank 0, MPI_COMM_PARENT)
Rank (0, MPI_COMM_WORLD): Call stack within LAM:
Rank (0, MPI_COMM_WORLD): - MPI_Recv()
Rank (0, MPI_COMM_WORLD): - main()

if all elements of req_slaves are MPI_REQUEST_NULL. If I understand
the documentation correctly, it should not abort, but complete.
Cf. the man page:

NOTES
       If all of the requests are MPI_REQUEST_NULL , then index
       is returned as MPI_UNDEFINED , and stat is returned as an
       empty status.

What am I missing here?

Thanks, Dominik.

--