USCbiostats / slurmR

slurmR: A Lightweight Wrapper for Slurm
https://uscbiostats.github.io/slurmR/
Other
57 stars 12 forks source link

[JOSS review] cli argument --chdir not portable #14

Closed mllg closed 5 years ago

mllg commented 5 years ago

This is a part of the JOSS review outlined in openjournals/joss-reviews#1493.

--chdir is not available for all slurm installations.

$ sbatch --version
slurm 16.05.9

$ sbatch --chdir=~
sbatch: unrecognized option '--chdir=~'
Try "sbatch --help" for more information

-D seems to be a workaround.

gvegayon commented 5 years ago

This actually turned to be a big issue (required me to make a new branch). I was kind of using chdir as a tmp_dir, now changed and it shouldn't be an issue anymore.