Prevent "scontrol update job" from updating jobs that have already finished.
Prevents the following sequence from causing a segfault: $ scontrol create partitionname=stuff nodes=ALL $ sbatch --wrap="hostname" -o/dev/null -p stuff Submitted batch job 1047468 $ scontrol delete partitionname=stuff $ scontrol update jobid=1047468 partition=stuff
Please register or sign in to comment