I am configuring a Slurm scheduler, and I need limit the number of maximum jobs running concurrently on a partition (queue).
I am reading a lot of information about accounting and resources, but is all related to user limits, also I read about create associations, but I am not sure if it is necessary.
I need to limit the number of jobs per partition (queue), since I have compute nodes which belongs to the same partition.
I.e. I have 2 partitions, short and long, with the same compute nodes, but with different time limits and priority. If all the user launch long jobs using the long partition, they can block the cluster. So, I want to limit the number of maximum jobs running for the long partition.
Thanks in advance.