[slurm-users] Slurm 19.05 --workdir non existent?

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Thu Aug 15 07:06:33 UTC 2019


Christopher Benjamin Coffey <Chris.Coffey at nau.edu> writes:

> It seems that --workdir= is no longer a valid option in batch jobs and
> srun in 19.05, and has been replaced by --chdir. I didn't see a change
> log about this, did I miss it? Going through the man pages it seems it
> hasn't existed for some time now actually! Maybe not since before
> 17.11 series. When did this happen?!

From the NEWS file:

* Changes in Slurm 17.11.0rc1
==============================
[...]
 -- Change --workdir in sbatch to be --chdir as in all other commands (salloc,
    srun).

> I guess I'll have to write a
> jobsubmit rule to overwrite this in the meantime till we get users
> trained differently.

I think you would have to write a SPANK plugin that implements the
--workdir switch.

-- 
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190815/43e2f984/attachment-0001.sig>


More information about the slurm-users mailing list