When preempting, slurm sends a SIGTERM signal and gives the process two minutes time to gracefully terminate itself. Writing a restart immediately might work in that situation.
If the university IT department actually wants to take slurm preemption into use, we better be prepared. :)
When preempting, slurm sends a SIGTERM signal and gives the process two minutes time to gracefully terminate itself. Writing a restart immediately might work in that situation.
If the university IT department actually wants to take slurm preemption into use, we better be prepared. :)
Tested (by hand) with a small testpackage job.