[slurm-users] Aborting a job from inside the prolog
alexander.grund at tu-dresden.de
Wed Jun 14 12:56:10 UTC 2023
We are doing some checking on the users Job inside the prolog script and
upon failure of those checks the job should be canceled.
Our first approach with `scancel $SLURM_JOB_ID; exit 1` doesn't seem to
work as the (sbatch) job still gets re-queued.
Is this possible at all (i.e. prevent jobs from running if some check
fails) and what would be correct?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5782 bytes
Desc: S/MIME Cryptographic Signature
More information about the slurm-users