[slurm-users] Aborting a job from inside the prolog

Gerhard Strangar g.s at arcor.de
Mon Jun 19 15:32:18 UTC 2023

Alexander Grund wrote:

> Our first approach with `scancel $SLURM_JOB_ID; exit 1` doesn't seem to 
> work as the (sbatch) job still gets re-queued.

Try to exit with 0, because it's not your prolog that failed.

More information about the slurm-users mailing list