Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SLURM: see how many cores per node, and how many cores per job

Tags:

slurm

I have searched google and read the documentation.

My local cluster is using SLURM. I want to check the following things: How many cores does each node have? How many cores has each job in the queue reserved?

Any advice would be much appreciated!

like image 328
Parsa Avatar asked Dec 23 '16 10:12

Parsa


People also ask

How many cores does a node have?

Each regular compute node has 64 cores, 500 GB of available memory, GigE and EDR (100Gbit) Infiniband interconnects.

How do you check nodes in Slurm?

Features available the nodes, also see %b. %F. Number of nodes by state in the format "allocated/idle/other/total". Note the use of this format option with a node state format option ("%t" or "%T") will result in the different node states being be reported on separate lines.

How do I know how many cores I have?

Press Ctrl + Shift + Esc to open Task Manager. Select the Performance tab to see how many cores and logical processors your PC has.

What is the difference between nodes and cores?

From what I gathered, nodes are computing points within the cluster, essentially a single computer. Tasks are processes that can be executed either on a single node or on multiple nodes. And cores are basically how much of a CPU on a single node do you want to be allocated to executing the task assigned to that CPU.


1 Answers

in order to see the details of all the nodes you can use:

scontrol show node 

For an specific node:

scontrol show node "nodename" 

And for the cores of job you can use the format mark %C, for instance:

squeue -o"%.7i %.9P %.8j %.8u %.2t %.10M %.6D %C" 

More info about format.

like image 171
Bub Espinja Avatar answered Oct 03 '22 13:10

Bub Espinja