Andrej,

you *have* to invoke
mpirun --mca plm slurm ...
from a SLURM allocation, and SLURM_* environment variables should have
been set by SLURM
(otherwise, this is a SLURM error out of the scope of Open MPI).

Here is what you can try (and send the logs if that fails)

$ salloc -N 4 -n 384
and once you get the allocation
$ env | grep ^SLURM_
$ mpirun --mca plm_base_verbose 10 --mca plm slurm true


Cheers,

Gilles

On Tue, Feb 2, 2021 at 9:27 AM Andrej Prsa via devel
<devel@lists.open-mpi.org> wrote:
>
> Hi Gilles,
>
> > I can reproduce this behavior ... when running outside of a slurm 
> > allocation.
>
> I just tried from slurm (sbatch run.sh) and I get the exact same error.
>
> >
> > What does
> > $ env | grep ^SLURM_
> > reports?
>
> Empty; no environment variables have been defined.
>
> Thanks,
> Andrej
>

Reply via email to