LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Pushkar Pradhan (pushkar_at_[hidden])
Date: 2004-06-20 23:47:53


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.

Can somebody tell me what's wrong in my code? Thanks,
Pushkar