[slurm-users] slurmd -C vs lscpu - which do I use to populate slurm.conf?

David Henkemeyer david.henkemeyer at gmail.com
Wed Apr 28 22:34:43 UTC 2021

I'm working on populating slurm.conf on my nodes, and I noticed that slurmd
-C doesn't agree with lscpu, in all cases, and I'm not sure why.  Here is
what lscpu reports:

Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1

And here is what slurmd -C is reporting:

NodeName=devops2 CPUs=4 Boards=1 SocketsPerBoard=1 CoresPerSocket=4
ThreadsPerCore=1 RealMemory=9913

Why is there a discrepancy?  Which should I use to populate slurm.conf?

The OS of this machine is Centos 8.

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210428/f754d7de/attachment.htm>

More information about the slurm-users mailing list