[slurm-users] How to Make AvailableFeatures Persist after Slurmctld Restart
mhanby at uab.edu
Thu Jun 2 20:55:46 UTC 2022
Ah, thank you. I was assuming it would use the same name as in scontrol
Per ‘man slurm.conf’ :
A comma delimited list of arbitrary strings indicative of some characteristic associated with the node. There is no value associated with a feature at this time, a node either has a feature or it does not. If desired a feature may contain a numeric component indicating, for example, processor speed. By default a node has no features. Also see Gres.
Identify the feature(s) available on the specified node. Any previously defined available feature specification will be overwritten with the new value. AvailableFeatures assigned via scontrol will only persist across the restart of the slurmctld daemon with the -R option and state files preserved or slurmctld's receipt of a SIGHUP. Update slurm.conf with any changes meant to be persistent across normal restarts of slurmctld or the execution of scontrol reconfig.
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Sarlo, Jeffrey S <JSarlo at Central.UH.EDU>
Date: Thursday, June 2, 2022 at 3:12 PM
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] How to Make AvailableFeatures Persist after Slurmctld Restart
In slurm.conf, we just add the Features to the node description. Is that what you were looking for?
NodeName=compute-4-4 … Weight=15 Feature=gen10
UH IT - HPC
From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of Hanby, Mike
Sent: Thursday, June 2, 2022 2:06 PM
To: slurm-users at lists.schedmd.com
Subject: [slurm-users] How to Make AvailableFeatures Persist after Slurmctld Restart
I can’t seem to find a solution in ‘man slurm.conf’ for this. How can I make the following persist a slurmctld restart:
scontrol update NodeName="c001" AvailableFeatures=hi_mem,data,scratch
NodeName=c001 Arch=x86_64 CoresPerSocket=12
CPUAlloc=2 CPUTot=48 CPULoad=6.08
Thanks for any insight,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users