Introduces the --save-jobid flag for the launch command and the --read-jobid-from flag for status, watch and cancel.
Storing the job ID in a file is useful when a CI job times out, but the Slurm Job is still running.
For example after_script in GitLab CI can be used to cancel the Slurm Job after the timeout by reading the job ID from the previously stored file.
Introduces the
--save-jobid
flag for thelaunch
command and the--read-jobid-from
flag forstatus
,watch
andcancel
.Storing the job ID in a file is useful when a CI job times out, but the Slurm Job is still running. For example
after_script
in GitLab CI can be used to cancel the Slurm Job after the timeout by reading the job ID from the previously stored file.