Ben Roberts
2014-09-11 03:29:30 UTC
Hi all,
I’m hoping someone can help me. A researcher I work with would like to use logical-OR dependencies in his job submission scripts, so that one of these could be done:
#SBATCH --dependency=[run if either job 10000001 or job 10000002 finished OK]
#SBATCH --dependency=[run if either job 10000001 finished OK or job 10000002 finished not OK]
As far as I can tell, Slurm’s dependencies are all logical-AND based. Is there any way to do these logical-OR dependencies?
Thanks,
Ben
PS. Apologies if this question is already answered on the list: I can’t seem to access the list archives for some reason. =
I’m hoping someone can help me. A researcher I work with would like to use logical-OR dependencies in his job submission scripts, so that one of these could be done:
#SBATCH --dependency=[run if either job 10000001 or job 10000002 finished OK]
#SBATCH --dependency=[run if either job 10000001 finished OK or job 10000002 finished not OK]
As far as I can tell, Slurm’s dependencies are all logical-AND based. Is there any way to do these logical-OR dependencies?
Thanks,
Ben
PS. Apologies if this question is already answered on the list: I can’t seem to access the list archives for some reason. =