Our site effectively runs all slurm jobs with sbatch --export=NONE ...  and
creates the necessary environment inside the batch script.  After upgading
to 14.11,  OpenMPI mpirun jobs hit

2015-04-15T08:53:54+08:00 nod0138 slurmstepd[3122]: error: execve(): orted:
No such file or directory

The issue appears to be that, as of 14.11, srun now recognizes
--export=NONE and, more importantly, the SLURM_EXPORT_ENV=NONE set in the
jobs environment if you submit with sbatch --export=NONE .   The simple
workaround is to unset SLURM_EXPORT_ENV before mpirun.  Possibly mpirun
should add --export=ALL to its srun commands.

Cheers
David

Reply via email to