See the no-requeue option for SBATCH: --no-requeue Specifies that the batch job should never be requeued under any circumstances. Setting this option will prevent system administrators from being able to restart the job (for example, after a scheduled downtime), recover from a node failure, or be requeued upon preemption by a higher priority job. When a job is requeued, the batch script is initiated from its beginning. Also see the --requeue option. The JobRequeue configuration parameter controls the default behavior on the cluster.
https://slurm.schedmd.com/sbatch.html Get Outlook for Android<https://aka.ms/AAb9ysg> ________________________________ From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of 顏文 <peteryen2...@gmail.com> Sent: Tuesday, September 14, 2021 7:02:13 AM To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com> Subject: [External] [slurm-users] How can I do to prevent a specific job from being prempted? Dear slurm users, I have some specific jobs that can't be terminated, otherwise they need to be rerun from the beginning. Can we simply apply some settings (either by user or administrator) so that these jobs will not be preempted ? Thanks. with regards, Peter