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.
--
|