Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Waitall never returns
From: Ralph Castain (rhc_at_[hidden])
Date: 2014-04-04 21:01:59

It sounds like you don't have a balance between sends and recvs somewhere - i.e., some apps send messages, but the intended recipient isn't issuing a recv and waiting until the message has been received before exiting. If the recipient leaves before the isend completes, then the isend will never complete and the waitall will not return.

On Apr 4, 2014, at 5:20 PM, Ross Boylan <ross_at_[hidden]> wrote:

> 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.
> _______________________________________________
> users mailing list
> users_at_[hidden]