[slurm-users] working with SLURM_EXPORT_ENV

Christopher Samuel chris at csamuel.org
Wed Mar 21 17:20:38 MDT 2018

On 21/03/18 19:09, Daniel Grimwood wrote:

> Hi Chris,


> Thanks for that.  I had overlooked SBATCH_EXPORT as I interpreted the
> man page literally, as "Same as --export".  It's actually "Same as
> --export without setting SLURM_EXPORT_ENV=NONE".  That's great!

My pleasure. :-)

> Now all we need for completeness is a SRUN_EXPORT that works the
> same, although SBATCH_EXPORT on its own goes a long way:).

I suspect you don't want that as srun would then dump anything
configured by modules and your MPI codes wouldn't run if
they're not statically linked and don't have the libraries
you need in the ld.so.conf paths!

All the best,
  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

More information about the slurm-users mailing list