Re: [slurm-users] srun --reboot in sbatch

2018-05-10 Thread Chris Samuel
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 --reboo

[slurm-users] srun --reboot in sbatch

2018-05-07 Thread Tueur Volvo
hello i try to reboot my node in sbatch when i run srun hostname it's work whe i run : srun --reboot hostname it's work, my slurmd node reboot and execute hostname but i create sbatch file like this : #!/bin/bash -l #SBATCH --output=/nfs/myoutput.txt # Jobs Steps: echo "begin" srun hostname