<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true">
<p>I can't test this right now, but possibly</p>
<p><br>
</p>
<p>squeue -j <jobid> -O 'name,nodes,tres-per-node,sct'</p>
<p><br>
</p>
<p>From squeue man page <a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/squeue.html">https://slurm.schedmd.com/squeue.html</a>:</p>
<p>sct<br>
Number of requested sockets, cores, and threads (S:C:T) per
node for the job. When (S:C:T) has not been set, "*" is displayed.
(Valid for jobs only)</p>
<p>tres-per-node<br>
Print the trackable resources per node requested by the job or
job step.</p>
<p><br>
</p>
<p>Again, can't test just now, so no idea if applicable to your use
case.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 10/18/19 9:51 PM, Mark Hahn wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.LFD.2.02.1910181448530.11434@coffee.psychology.mcmaster.ca">
<blockquote type="cite">$ scontrol --details show job 1653838
<br>
JobId=1653838 JobName=v1.20
<br>
</blockquote>
...
<br>
<blockquote type="cite"> Nodes=r00g01 CPU_IDs=31-35 Mem=5120
GRES_IDX=
<br>
Nodes=r00n16 CPU_IDs=34-35 Mem=2048 GRES_IDX=
<br>
Nodes=r00n20 CPU_IDs=12-17,30-35 Mem=12288 GRES_IDX=
<br>
Nodes=r01n16 CPU_IDs=15 Mem=1024 GRES_IDX=
<br>
</blockquote>
<br>
thanks for sharing this! we've had a lot of discussion
<br>
on how to collect this information as well, even whether it would
be worth doing in a prolog script...
<br>
<br>
regards,
<br>
--
<br>
Mark Hahn | SHARCnet Sysadmin | <a class="moz-txt-link-abbreviated" href="mailto:hahn@sharcnet.ca">hahn@sharcnet.ca</a> |
<a class="moz-txt-link-freetext" href="http://www.sharcnet.ca">http://www.sharcnet.ca</a>
<br>
| McMaster RHPCS | <a class="moz-txt-link-abbreviated" href="mailto:hahn@mcmaster.ca">hahn@mcmaster.ca</a> | 905 525 9140
x24687
<br>
| Compute/Calcul Canada |
<a class="moz-txt-link-freetext" href="http://www.computecanada.ca">http://www.computecanada.ca</a>
<br>
<br>
</blockquote>
</body>
</html>