LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-08-18 17:04:04


You might want to check and ensure that you don't have any pending send or
receive requests when you call MPI_Finalize. LAM will try to finalize all
outstanding requests before finishing, which is probably what you're
seeing.

On Mon, 18 Aug 2003, Michael Lees wrote:

> I'm having a problem where my program seems to reach the end of its
> execution and then hang.
>
> The program finishes with two steps, MPI_Barrier followed by
> MPI_Finalize?
>
> All the nodes within the program complete the barrier synchronisation
> and then call MPI_Finalize. The MPI_Finalize never completes, it just
> seems to hang?
>
> Each node has two seperate threads, with the master thread calling
> MPI_Finalize. The child threads do terminate via pthread_exit and seem
> to be okay? To ensure this each of the master threads on the nodes makes
> a pthread_join call prior to the final MPI_Barrier call.
>
> Could anyone offer a suggestions as to what I'm doing wrong or what the
> problem might be?

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/