<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">In srun there is a parameter -I or —immidiate.</div>
<div class=""><br class="">
</div>
<div class="">Check the documentation for details <a href="https://slurm.schedmd.com/srun.html" class="">https://slurm.schedmd.com/srun.html</a></div>
<div class=""><br class="">
</div>
<div class="">BR</div>
<div class="">
<div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
--------------------</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
Zia Ul Huda<br class="">
Forschungszentrum Jülich GmbH<br class="">
Institute for Advanced Simulation (IAS)<br class="">
Jülich Supercomputing Centre (JSC)<br class="">
Wilhelm-Johnen-Straße<br class="">
52425 Jülich, Germany<br class="">
<br class="">
Phone: +49 2461 61 96905<br class="">
<a href="mailto:z.huda@fz-juelich.de" class="">E-mail:  z.huda@fz-juelich.de</a><br class="">
<br class="">
WWW: http://www.fz-juelich.de/ias/jsc/<br class="">
<br class="">
<br class="">
JSC is the coordinator of the<br class="">
John von Neumann Institute for Computing<br class="">
and member of the<br class="">
Gauss Centre for Supercomputing <br class="">
<br class="">
--------------------</div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 13. Oct 2020, at 08:26, Chaofeng Zhang <<a href="mailto:zhangcf1@lenovo.com" class="">zhangcf1@lenovo.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 11pt; font-family: 等线;" class="">
<span style="font-family: Calibri, sans-serif;" class="">If there is no available resource when I submitting a job, I want slurm to return job submission failed directly. How to configure slurm?   <o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 11pt; font-family: 等线;" class="">
<span style="font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 11pt; font-family: 等线;" class="">
<span style="font-family: Calibri, sans-serif;" class="">Thanks</span></div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<font face="Arial" color="Black" size="1"><br>
------------------------------------------------------------------------------------------------<br>
------------------------------------------------------------------------------------------------<br>
Forschungszentrum Juelich GmbH<br>
52425 Juelich<br>
Sitz der Gesellschaft: Juelich<br>
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498<br>
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke<br>
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),<br>
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt<br>
------------------------------------------------------------------------------------------------<br>
------------------------------------------------------------------------------------------------<br>
<br>
</font>
</body>
</html>