Hi

Search for "node range expression" in the slurm.conf manpage.  You want:

PartitionName=serial Nodes=node0[01-07,10-13] ...

HTH

On Fri, Sep 25, 2015 at 7:17 AM, Antonia Mey <antonia....@gmail.com> wrote:

> Hi all,
> I am sure this is a trivial question, but I can't seem to find a working
> solution.
>
> I have two partitions on my small cluster a serial queue and a GPU queue.
> I recently acquired some new nodes and now I would like my partition
> config to look something like this:
> PartitionName=serial Nodes=node0[01-07] Default=YES MaxTime=2-0
> MaxCPUsPerNode=28 #State=U
> PartitionName=serial Nodes=node0[10-13] Default=YES MaxTime=2-0
> MaxCPUsPerNode=28 #State=U
>
> PartitionName=GPU Nodes=node0[05-06] Default=NO MaxTime=2-0 #Shared=YES
> Priority=1
> PartitionName=GTX Nodes=node0[10-13] Default=NO MaxTime=2-0 #Shared=YES
> Priority=1
>
> node08 and node09 are not compute nodes.
> the second serial queue does not show up:
>
> serial*      up 2-00:00:00      1  down* node007
> serial*      up 2-00:00:00      6   idle node[001-006]
> GPU          up 2-00:00:00      2   idle node[005-006]
> GTX          up 2-00:00:00      4   idle node[010-013]
>
> and the nodes10-13 only show up in sinfo if I give the partition a new
> name.
> I don't want two serial partitions for node001-007 and node010-013 nor do
> I want two GPU partitions for node005-007 and node010-node013.
>
> Is there anyway to define something like:
> PartitionName=serial Nodes=node0[01-07, 10-13] # This does not work.
>
> I am using slurm version: slurm 14.11.7
>
> Best,
> Antonia
>
> --
> Dr Antonia Mey
> University of Edinburgh
> Department of Chemistry
> Joseph Black Building
> Edinburgh
> EH9 3JF
>
> Tel: +44 1316507748
> Email: antonia....@gmail.com
>
>
>
>

Reply via email to