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: 2004-12-03 19:10:37


On Dec 2, 2004, at 6:15 PM, mailtome_at_[hidden] wrote:

> i have a master process with an initial group. Now he spawns another
> process using MPI_Comm_Spawn() & then merges it into the current group
> using MPI_Intercomm_merge().
> The operations performed are successful, except for the spawned process
> initializing MPI i.e (child doesnt run MPI_Init()).

I'm not sure what you're saying here -- LAM's MPI_COMM_SPAWN does not
return until the newly-spawned processes have invoked MPI_INIT.

Hence, if MPI_COMM_SPAWN completes, then the children have successfully
started and invoked MPI_INIT (indeed, the establishment of
communication between the parent and children processes is one of the
last things that happens in MPI_INIT).

So I'm not quite sure what you're saying -- you indicate that
COMM_SPAWN and INTERCOMM_MERGE complete (both of which must mean that
the children have spawned and passed MPI_INIT), but then you say that
the children never invoke MPI_INIT. Can you clarify?

And can you indicate how you're sure that the children are not invoking
MPI_INIT?

Also, what version of LAM are you running?

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