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

Alexander Grund alexander.grund at tu-dresden.de
Wed Jun 14 12:56:10 UTC 2023


Hi,

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?

Thanks,
Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5782 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230614/6b0743d0/attachment.bin>


More information about the slurm-users mailing list