Greetings!

I’ve spent only a few days of experience playing with slurm, so apologies if 
I’m missing something obvious, but I couldn’t find a good way to query nodes 
automatically to generate NodeName lines in detail.

I saw the "slurm -C” option, which comes *really* close, but some of the fields 
it includes are not compatible. E.g.:

# slurmd -C
NodeName=devel-comp1 CPUs=2 Boards=1 SocketsPerBoard=2 CoresPerSocket=1 
ThreadsPerCore=1 RealMemory=5845 TmpDisk=16260

But slurm doesn’t like it when copied directly into the conf:

# service slurm restart
scontrol: error: NodeNames=devel-comp1 CPUs=# or Procs=# with Boards=# is 
invalid and is ignored.

The problem is, we have thousands of heterogeneous nodes, it’s almost 
impossible to set a default or enter each different architecture manually. So 
we *really* need a way to collect the specs from nodes and construct the 
configuration dynamically.

Thanks a lot!
-Mehmet


Reply via email to