Christopher Benjamin Coffey <chris.cof...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to