<div dir="ltr"><div dir="ltr">Hola Gestió,<div><br></div><div>You can have a look at: <a href="https://slurm.schedmd.com/core_spec.html">https://slurm.schedmd.com/core_spec.html</a> and the "CoreSpecCount" or "CpuSpecList" of the slurm.conf file.</div><div><br></div><div>Regards,</div><div>Carlos</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 22, 2019 at 6:50 AM Chris Samuel <<a href="mailto:chris@csamuel.org">chris@csamuel.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thursday, 21 February 2019 1:00:52 PM PST Sam Hawarden wrote:<br>
<br>
> Linux assigns numbers to your CPUs. 0-15 will be socket 1, thread 1. 16-31<br>
> are socket 2, thread 1, 32-47 are socket 1, thread 2. 48-63 are socket 2,<br>
> thread 2.<br>
<br>
This isn't strictly true, for x86 for instance the kernel will read firmware <br>
tables to discover how the vendor has assigned the core numbering.<br>
<br>
This means it can vary from vendor to vendor and model to model plus it can <br>
potentially change on a firmware upgrade, just to make life even more <br>
exciting.<br>
<br>
This is why hwloc (and its predecessors) exist, to give a sane interface and <br>
default logical layout. Slurm uses a similar system that results in something <br>
that looks very similar, so to Slurm CPU 0 is socket 1, core 1, thread 1 and <br>
CPU 2 is socket 1, core 1, thread 2, etc...<br>
<br>
All the best,<br>
Chris<br>
-- <br>
Chris Samuel : <a href="http://www.csamuel.org/" rel="noreferrer" target="_blank">http://www.csamuel.org/</a> : Berkeley, CA, USA<br>
<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">--<br>Carles Fenoy<br></div>