[slurm-users] [External] slurmd -C vs lscpu - which do I use to populate slurm.conf?
mrobbert at mines.edu
Wed Apr 28 23:06:31 UTC 2021
I think that you want to use the output of slurmd -C, but if that isn’t telling you the truth then you may not have built slurm with the correct libraries. I believe that you need to build with hwloc in order to get the most accurate details of the CPU topology. Make sure you have hwloc-devel installed and try to rebuild Slurm.
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of David Henkemeyer <david.henkemeyer at gmail.com>
Date: Wednesday, April 28, 2021 at 16:37
To: slurm-users at lists.schedmd.com <slurm-users at lists.schedmd.com>
Subject: [External] [slurm-users] slurmd -C vs lscpu - which do I use to populate slurm.conf?
CAUTION: This email originated from outside of the Colorado School of Mines organization. Do not click on links or open attachments unless you recognize the sender and know the content is safe.
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users