[slurm-users] srun --reboot in sbatch

Chris Samuel chris at csamuel.org
Thu May 10 04:26:25 MDT 2018


On Monday, 7 May 2018 11:42:03 PM AEST Tueur Volvo wrote:

> why ? can i have srun --reboot in sbatch file ?

It doesn't make sense to reboot the node part way through running your job, 
you're just going to kill the running job.

Instead add this near the top of your batch script:

#SBATCH --reboot

Good luck!
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC




More information about the slurm-users mailing list