LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Prabhanjan Kambadur (pkambadu_at_[hidden])
Date: 2004-06-22 17:49:01


On Sun, 20 Jun 2004, Pushkar Pradhan wrote:

> I've a MPI_Comm_spawn call in my code, which doesn't spawn a process on any
> other node except the one from where it is called. I work with 2 processors.
>
> This is the relevant code (it's a MATLAB binding of MPI):
> [info sinf] = MPI_Info_create;
> info = MPI_Info_set(sinf, 'lam_spawn_sched_round_robin', 'n1');
> sprintf('MPI_Info_set return code: %d', info)
>
> [info children errs] = MPI_Comm_spawn('matlab', ...
> {'-nosplash','-nojvm'},1,sinf,0,'WORLD')
>
> So if I use 'n1' it spawns another matlab but on the same host and if I use
> 'n0', the MPI_Comm_spawn call return status is 27 and the error code is
> 307227.

Could you confirm that matlab is present on all the nodes on which you are
running your application? Unless the executable is explicitly passed on to
the machine (check user documentation on how to do that), LAM assumes that
the right executable is found in the $PATH environment variable.

Hope this helps,
Anju

>
> Can somebody tell me what's wrong in my code? Thanks,
> Pushkar
>
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>