LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Michael Lees (mhl_at_[hidden])
Date: 2003-08-18 10:32:39


Hi all,

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?

Thanks

-- 
Mike
mhl_at_[hidden]