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-05 09:30:22


On Dec 5, 2004, at 12:52 AM, Junaid Ali wrote:

> indeed my spawned process is getting inited ( i checked it by writing
> to the file, and it works..) but i am not being able to send messages
> to or receive message from the spawned process as the program crashes
> while doing so.

Without more specific information, it's difficult/impossible for me to
guess why your application is crashing.

I suggest that you run both your master program and the spawned
programs through a memory checking debugger to check for obvious memory
issues (be sure to compile LAM with --with-purify to avoid false
positives). There may be other issues in your application that are
causing crashes later in the execution.

You might want to have a look in the lamtests suite and check out the
tests that use spawn (using GNU grep, "grep -r MPI_Comm_spawn *").
Perhaps they can provide some concrete examples and inspiration on how
to use MPI_Comm_spawn properly?

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