[slurm-users] Number of allocated cores/threads ..

Sefa Arslan sefa.arslan at tubitak.gov.tr
Tue Dec 13 08:02:15 UTC 2022


Thanks a a lot. 

That is what I was looking for. 

Regards. 




> Kilian Cavalotti <kilian.cavalotti.work at gmail.com> şunları yazdı (12 Ara 2022 20:51):
> 
> Hi Sefa,
> 
> `scontrol -d show job <jobid>` should give you that information:
> 
> # scontrol -d  show job 2781284 | grep Nodes=
>   NumNodes=10 NumCPUs=256 NumTasks=128 CPUs/Task=2 ReqB:S:C:T=0:0:*:*
>     Nodes=sh03-01n29 CPU_IDs=4-6,12-19,22-23,25 Mem=71680 GRES=
>     Nodes=sh03-01n[38,40] CPU_IDs=0-31 Mem=163840 GRES=
>     Nodes=sh03-01n41 CPU_IDs=0-3,8-9,12,14-19,22-30 Mem=112640 GRES=
>     Nodes=sh03-01n[42,44-45] CPU_IDs=0-31 Mem=163840 GRES=
>     Nodes=sh03-01n48 CPU_IDs=3-30 Mem=143360 GRES=
>     Nodes=sh03-01n53 CPU_IDs=7-14,24-25,27-30 Mem=71680 GRES=
>     Nodes=sh03-01n59 CPU_IDs=0-1,6-7,10-23 Mem=92160 GRES=
> 
> Cheers,
> --
> Kilian
> 
> On Mon, Dec 12, 2022 at 4:01 AM Sefa Arslan <sefa.arslan at gmail.com> wrote:
>> 
>> Hi All,
>> 
>> Is there a way  to find the number of allocated cores  on a node for a particular multinode job? squeue or sacct give  only the min core per node or total number of cores of a job.
>> 
>> Regards,
>> 
>> Sefa..
> 
> 
> 
> -- 
> Kilian
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20221213/8845e3ff/attachment-0003.htm>


More information about the slurm-users mailing list