body p { margin-bottom: 0cm; margin-top: 0pt; }
1. Regarding QOS - did you set slurm.conf to enforce qos limits?
*AccountingStorageEnforce=*limits,qos
2. Regarding your original question "limit the
number of nodes allocated at the same time to a partion" -
I'm not sure what you mean by nodes allocated to a partition.
A partition defines nodes with some common characteristics. I don't
think slurm allocates nodes to a partition.
If you meant allocate nodes from a partition than you have to
consider the issue of multiple partitions with overlap - if 2 nodes
were allocated by specifying partition A, and a 3rd node (also in
partition A) is allocated from partition B - would you consider that
to be a good or a bad thing?
3. This would seem like an xy problem - why would you want to limit
the number of nodes allocatable from a partition?
On 02/16/2016 03:40 PM, David Roman
wrote:
Hello,
I'm discovering SLURM.
And I try to do something to understand it. One of the
things I 'm trying to do, it is to limit the number of nodes
allocated at the same time to a partion. I don't know if it
is possible.
In slurm.conf, I append
the MaxNodes parameter . But it limits only the nodes
allowed to a job ans not for the partition.
I append the QOS
parameter, and create a QOS with sacctmgr. I set the
GrpNodes parameter . But there is no effect.
I have a doubt if slurm
permit to have a partition which includes 10 nodes, and use
at the same time only 2 nodes
Regards
David