[slurm-users] slurm does not pass mca params toopenmpi?

gilles at rist.or.jp gilles at rist.or.jp
Thu Jul 19 08:48:00 MDT 2018


Roger,


is the home directory mounted at the same place regardless this is a 
frontend or a compute node ?

I noted you --export=ALL, so there is a risk you export $HOME that is 
not reachable on the compute nodes.


Cheers,

Gilles


----- Original Message -----
> Hello Paul,
> 
> Paul Edmon <pedmon at cfa.harvard.edu> writes:
> 
> > So the recommendation I've gotten the past is to us option number 4
> > from this FAQ:
> >
> > https://www.open-mpi.org/faq/?category=tuning#setting-mca-params
> >
> > This works for both mpirun and srun in slurm because its a flat file
> > that is read rather than options that are passed in.
> 
> I think that is what I'm doing with this:
> >> If I put the the MCA parameters in ~/.openmpi/mca-params.conf:
> >> btl_tcp_if_include=192.168.0.0/24
> 
> but mpirun (apparently) does not access that file when called from
> slurm.  It _does_ access the file when called from the command-line.
> 
> Thanks,
> Roger
> 
> 
> 





More information about the slurm-users mailing list