<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
There are MinNodes and MaxNodes settings that can be defined for each partition listed in slurm.conf [1]. Set both to 1 and you should end up with the non-MPI partitions you want.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[1] <a href="https://slurm.schedmd.com/slurm.conf.html" id="LPNoLP970651">https://slurm.schedmd.com/slurm.conf.html</a></div>
<br>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of Holtgrewe, Manuel <manuel.holtgrewe@bihealth.de><br>
<b>Sent:</b> Friday, May 8, 2020 4:26 AM<br>
<b>To:</b> slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> [slurm-users] Defining a default --nodes=1</font>
<div><br>
</div>
</div>
<div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>Dear all,</div>
<div><br>
</div>
<div>we're running a cluster where the large majority of jobs will use multi-threading and no message passing. Sometimes CPU>1 jobs are scheduled to run on more than one node (which would be fine for MPI jobs of course...)<br>
</div>
<div><br>
</div>
<div>Is it possible to automatically set "--nodes=1" for all jobs outside of the "mpi" partition (that we setup for message passing jobs)?</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Manuel<br>
</div>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div><font size="2"><span style="font-size:10pt">-- <br>
Dr. Manuel Holtgrewe, Dipl.-Inform.<br>
Bioinformatician<br>
Core Unit Bioinformatics – CUBI<br>
Berlin Institute of Health / Max Delbrück Center for Molecular Medicine in the Helmholtz Association / Charité – Universitätsmedizin Berlin<br>
<br>
Visiting Address: Invalidenstr. 80, 3rd Floor, Room 03 028, 10117 Berlin<br>
Postal Address: Chariteplatz 1, 10117 Berlin<br>
<br>
E-Mail: manuel.holtgrewe@bihealth.de<br>
Phone: +49 30 450 543 607<br>
Fax: +49 30 450 7 543 901<br>
Web: cubi.bihealth.org  www.bihealth.org  www.mdc-berlin.de  www.charite.de</span></font><font size="2"><span style="font-size:10pt">
</span></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>