Hi, I'd like to report a bug and suggest an enhancement to the sbatch --workdir feature. Currently (with slurm 17.02.5), the sbatch --workdir=dir1 command works only if the directory foo already exists.
If dir1 does not exist, then my job does not produce any output that I can see (slurm-%j.out is not created). That's the bug. Sbatch should be able to test for the existence of dir1 and give a useful error message at submit-time (not at runtime). The proposed enhancement is to create dir1 at runtime. I'd really like it if the workdir could support the same filename pattern substitutions as --output. Thanks, Brian
