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

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Tue Sep 26 12:07:39 UTC 2023


Felix <felix at itim-cj.ro> writes:

> I have at my site the following work nodes
>
> awn001 ... awn099
>
> and then it continues awn100 ... awn199

I presume you meant awn-001 etc, not awn001.  If not, replace "awn-"
with "awn" below.

> 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
>

PartitionName=debug Nodes=awn-0[01-32,46-77,95-99],awn-1[00-99] ...

or

PartitionName=debug Nodes=awn-[001-032,046-077,095-199] ...

should work.  I'd personally use the second one.

-- 
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230926/94643e45/attachment.sig>


More information about the slurm-users mailing list