[slurm-users] question about configuration in slurm.conf

Herbert Steininger herbert.steininger at uni-konstanz.de
Tue Sep 26 13:07:46 UTC 2023


Hi,

you are talking about

scontrol hostlist
scontrol hostlistsorted
and
scontrol hostnames

find it here:
https://slurm.schedmd.com/scontrol.html#OPT_hostlist

Best.

Am 26.09.23 um 14:50 schrieb Groner, Rob:
> There's a builtin slurm command, I can't remember what it is and google 
> is failing me, that will take a compacted list of nodenames and return 
> their full names, and I'm PRETTY sure it will do the opposite as well 
> (what you're asking for).
> 
> It's probably sinfo or scontrol....maybe an sutil if that exists.
> 
> Sorry, that's all the help I can give.
> ------------------------------------------------------------------------
> *From:* slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of 
> Felix <felix at itim-cj.ro>
> *Sent:* Tuesday, September 26, 2023 7:22 AM
> *To:* Slurm User Community List <slurm-users at lists.schedmd.com>
> *Subject:* [slurm-users] question about configuration in slurm.conf
> hello
> 
> I have at my site the following work nodes
> 
> awn001 ... awn099
> 
> and then it continues awn100 ... awn199
> 
> How can I configure this line
> 
> PartitionName=debug Nodes=awn-0[01-32,46-77,95-99] Default=YES
> MaxTime=INFINITE State=UP
> 
> so that it can contain the nodes from 001 to 199
> 
> can I write:
> 
> PartitionName=debug Nodes=awn-0[01-32,46-77,95-99] awn-1[00-99]
> Default=YES MaxTime=INFINITE State=UP
> 
> is this correct?
> 
> Thank you
> 
> Felix
> 
> 
-- 
Herbert Steininger
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Wissenschaftliches Rechnen | bwHPC
78457 Konstanz
Tel: +49 7531 882103

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5927 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230926/500c0447/attachment.bin>


More information about the slurm-users mailing list