Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Waitall never returns
From: Ross Boylan (ross_at_[hidden])
Date: 2014-04-04 20:20:31


During shutdown of my application the processes issue a waitall, since
they have done some Isends. A couple of them never return from that call.

Could this be the result of some of the processes already being shutdown
(the processes with the problem were late in the shutdown sequence)? If
so, what is the recommended solution? A barrier?

The shutdown proceeds in stages, but the processes in question are not
told to shutdown until all the messages they have sent have been
received. So there shouldn't be any outstanding messages from them.

My reading of the manual is that Waitall with a count of 0 should return
immediately, not hang. Is that correct?

Running under R with openmpi 1.7.4.