<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><style><!--

@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}

p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></div><div><span class="tlid-translation translation" lang="en"><span title="">Hello,</span><br><br><span title="">Thank you for your answers.</span> </span></div><div><span class="tlid-translation translation" lang="en"><span title="" class=""><br data-mce-bogus="1"></span></span></div><div><span class="tlid-translation translation" lang="en"><span title="" class="">I did not succeed to make the faq proposal (Question 30 note).</span> <span title="" class="">I think I succeeded by cheating like this:</span></span></div><div><br></div><div><span style="font-family: 'Arial',sans-serif; color: black;" data-mce-style="font-family: 'Arial',sans-serif; color: black;">NodeName=DEFAULT Boards=1 SocketsPerBoard=2 CoresPerSocket=36 ThreadsPerCore=1 RealMemory=128000</span></div><div><span style="font-family: 'Arial',sans-serif; color: black;" data-mce-style="font-family: 'Arial',sans-serif; color: black;"><br data-mce-bogus="1"></span></div><div><span style="font-family: 'Arial',sans-serif; color: black;" data-mce-style="font-family: 'Arial',sans-serif; color: black;">Regards.<br data-mce-bogus="1"></span></div><div><span style="font-family: 'Arial',sans-serif; color: black;" data-mce-style="font-family: 'Arial',sans-serif; color: black;"><br data-mce-bogus="1"></span></div><div><span style="font-family: 'Arial',sans-serif; color: black;" data-mce-style="font-family: 'Arial',sans-serif; color: black;">Jean-Mathieu<br data-mce-bogus="1"></span></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Doug Meyer" <dameyer@raytheon.com><br><b>À: </b>"Slurm User Community List" <slurm-users@lists.schedmd.com><br><b>Envoyé: </b>Jeudi 2 Mai 2019 16:15:30<br><b>Objet: </b>Re: [slurm-users] How should I do so that jobs are allocated to the        thread and not to the core ?<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">






<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Had same problem in slurm 15, not sure if it affects newer versions.  Don’t use the expanded node definition</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">NodeName = DEFAULT Boards = 1 SocketsPerBoard = 2 CoresPerSocket = 18 ThreadsPerCore = 2 RealMemory = 128000</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Use the simpler</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">NodeName=DEFAULT Cores=36 RealMemory = 128000</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Slurm will use both logical threads and not just the physical. 
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Doug
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">“To err is human – and to blame it on a computer is even more so.”  Robert Orben</span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> slurm-users <slurm-users-bounces@lists.schedmd.com>
<b>On Behalf Of </b>Benjamin Redling<br>
<b>Sent:</b> Thursday, May 2, 2019 3:49 AM<br>
<b>To:</b> Slurm User Community List <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> [External] Re: [slurm-users] How should I do so that jobs are allocated to the thread and not to the core ?</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Have you Seen the slurm FAQ?<br>
You may want to search on that site for "Hyperthreading"<br>
<br>
(Sorry for the TOFU. vacation, mobile)</p>
<div>
<p class="MsoNormal">Am 30. April 2019 18:07:03 MESZ schrieb Jean-mathieu CHANTREIN <<a href="mailto:jean-mathieu.chantrein@univ-angers.fr" target="_blank">jean-mathieu.chantrein@univ-angers.fr</a>>:</p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div id="zimbraEditorContainer" class="2">
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">Hello,</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">Most jobs of my users are single-thread. I have multithreaded processors. The jobs seem to reserve 2 logical CPU (1 core=2 CPU (2 threads)) whereas it only uses 1 logical CPU(1 thread).
 Nevertheless, my slurm.conf file indicates:</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">[...]<br>
SelectType = select / cons_res<br>
SelectTypeParameters = CR_CPU<br>
FastSchedule = 1<br>
[...]<br>
NodeName = DEFAULT Boards = 1 SocketsPerBoard = 2 CoresPerSocket = 18 ThreadsPerCore = 2 RealMemory = 128000<br>
<br>
And here is an excerpt from the output of a job running on this type of node:<br>
$ scontrol show job idjob</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">[...]</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">   NumNodes=1 NumCPUs=1 NumTasks=1 CPUs/Task=1 ReqB:S:C:T=0:0:*:*<br>
   TRES=cpu=1,mem=200M,node=1,billing=1<br>
   Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=*<br>
   MinCPUsNode=1 MinMemoryCPU=200M MinTmpDiskNode=0<br>
   Features=(null) DelayBoot=00:00:00<br>
   OverSubscribe=OK Contiguous=0 Licenses=(null) Network=(null)<br>
<br>
</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">But with
<a href="https://github.com/OleHolmNielsen/Slurm_tools/tree/master/pestat" target="_blank">pestat
</a>, I can see my node use 72/72 CPU but have only 36 job running like this one.
</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">How should I do so that jobs are allocated to the thread and not to the core ?</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">Best regards.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">Jean-Mathieu</span></p>
</div>
<div>
<div>
<table class="MsoNormalTable" style="width:240.0pt" cellpadding="0" border="0" width="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
-- <br>
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.</p>
</div><br></blockquote></div></div></body></html>