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

Parsa picture Parsa · Dec 23, 2016 · Viewed 26.6k times · Source

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!

Answer

Bub Espinja picture Bub Espinja · Dec 23, 2016

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.