<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
See the no-requeue option for SBATCH:</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
--no-requeue</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
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. </div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<a href="https://slurm.schedmd.com/sbatch.html">https://slurm.schedmd.com/sbatch.html</a><br>
</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
Get <a href="https://aka.ms/AAb9ysg">Outlook for Android</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of 顏文 <peteryen2017@gmail.com><br>
<b>Sent:</b> Tuesday, September 14, 2021 7:02:13 AM<br>
<b>To:</b> slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> [External] [slurm-users] How can I do to prevent a specific job from being prempted?</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear slurm users,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>with regards,<br>
Peter</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</body>
</html>