I can't test this right now, but possibly
squeue -j -O 'name,nodes,tres-per-node,sct'
From squeue man page https://slurm.schedmd.com/squeue.html:
sct
Number of requested sockets, cores, and threads (S:C:T) per
node for the job. When (S:C:T
$ scontrol --details show job 1653838
JobId=1653838 JobName=v1.20
...
Nodes=r00g01 CPU_IDs=31-35 Mem=5120 GRES_IDX=
Nodes=r00n16 CPU_IDs=34-35 Mem=2048 GRES_IDX=
Nodes=r00n20 CPU_IDs=12-17,30-35 Mem=12288 GRES_IDX=
Nodes=r01n16 CPU_IDs=15 Mem=1024 GRES_IDX=
thanks for sharing t
Adding the "--details" flag to scontrol lookup of the job:
$ scontrol --details show job 1636832
JobId=1636832 JobName=R3_L2d
:
NodeList=r00g01,r00n09
BatchHost=r00g01
NumNodes=2 NumCPUs=60 NumTasks=60 CPUs/Task=1 ReqB:S:C:T=0:0:*:*
TRES=cpu=60,mem=60G,node=2,billing=55350
Sock
On 18-10-2019 19:56, Tom Wurgler wrote:
I need to know how many cores a given job is using per node.
Say my nodes have 24 cores each and I run a 36 way job.
It take a node and a half.
scontrol show job id
shows me 36 cores, and the 2 nodes it is running on.
But I want to know how it split the job