Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] MPI_Comm_spawn and oreted
From: Jerome BENOIT (ml.jgmbenoit_at_[hidden])
Date: 2009-04-16 06:02:51

Hi !

finally I got it:
passing the mca key/value `"plm_slurm_args"/"--chdir /local/folder"' does the trick.

As a matter of fact, my code pass the MPI_Info key/value `"wdir"/"/local/folder"'
to MPI_Comm_spawn as well: the working directories on the nodes of the spawned programs
are `nodes:/local/folder' as expected, but the working directory of the oreted_s
is the working directory of the parent program. My guess is that the MPI_Info key/vale
may also be passed to `srun'.


Jerome BENOIT wrote:
> Hello Again,
> Jerome BENOIT wrote:
>> Hello List,
>> I have just noticed that, when MPI_Comm_spawn is used to launch
>> programs around,
>> oreted working directory on the nodes is the working directory of the
>> spawnning program:
>> can we ask to oreted to use an another directory ?
> Changing the working the directory via chdir before spawning with
> MPI_Comm_spawn
> changes nothing: the oreted working directory on the nodes seems to be
> imposed
> by something else. As run OMPI on top of SLURM, I guess this is related
> to SLURM.
> Jerome
>> Thanks in advance,
>> Jerome _______________________________________________
>> users mailing list
>> users_at_[hidden]