Re: [OMPI devel] Slurm integration and rankfiles....

2021-03-21 Thread Martyn Foster via devel
Sorry for the slow reply! I didn't want to get fixated on why the variable was unset, though I can understand the existence of a check if Slurm always sets this (I don't recall that being the case for all configurations historically, but perhaps it is now). The reason I'd unset it (!) is because I

Re: [OMPI devel] Slurm integration and rankfiles....

2021-03-12 Thread Martyn Foster via devel
Hi Ralph, Slurm is 19.05. To be clear - its not unexpected that SLURM_TASKS_PER_NODE is unset in the configuration. Martyn On Thu, 11 Mar 2021 at 16:09, Ralph Castain via devel < devel@lists.open-mpi.org> wrote: > What version of Slurm is this? > > > On Mar 11, 2021, at 8:03

[OMPI devel] Slurm integration and rankfiles....

2021-03-11 Thread Martyn Foster via devel
Hi all, Using a rather trivial example mpirun -np 1 -rf rankfile ./HelloWorld on a Slurm system; -- While trying to determine what resources are available, the SLURM resource allocator expects to find the following environment