Discussion:
Limiting the number of jobs per partition
Mohammed Gaafar
2014-07-21 13:50:32 UTC
Permalink
Dear All,

I have 12 nodes shared between 3 partitions. I need to limit the number
of jobs per partition to a certain value. Is this possible? and if you,
what is the best way to do that?

Best Regards,
Mohammed Gaafar
Mohammed Gaafar
2014-07-22 13:53:59 UTC
Permalink
Dear All,
I have tried to follow the instructions in the accounting page of the
documentation to create an association consists of a cluster, account,
user, and a partition. However, when I tried to modify the user or the
account to add the Partition option, as mentioned in the documentation,
I got an error message that Partition is not a valid option. Would you
please clarify how this should work.

# sacctmgr modify account set Partition=defq where Name=test_limit
Unknown option: Partition=defq
Use keyword 'where' to modify condition

# sacctmgr modify user set Partition=defq2 where Name=cmsupport
Unknown option: Partition=defq2
Use keyword 'where' to modify condition

Generally my purpose is to create an association on which I can limit
the number of jobs per Partition to a certain number using the GrpJobs
option which I could successfully set.

Best Regards,
Mohammed Gaafar
Post by Mohammed Gaafar
Dear All,
I have 12 nodes shared between 3 partitions. I need to limit the
number of jobs per partition to a certain value. Is this possible? and
if you, what is the best way to do that?
Best Regards,
Mohammed Gaafar
Lyn Gerner
2014-07-22 17:17:39 UTC
Permalink
Hi Mohammed,

If I understand your goal correctly, something similar to the following
should work:

sacctmgr modify user name=cmsupport where Partition=defq2 set GrpJobs=12

Regards,
Lyn



On Tue, Jul 22, 2014 at 3:54 AM, Mohammed Gaafar <
Post by Mohammed Gaafar
Dear All,
I have tried to follow the instructions in the accounting page of the
documentation to create an association consists of a cluster, account,
user, and a partition. However, when I tried to modify the user or the
account to add the Partition option, as mentioned in the documentation, I
got an error message that Partition is not a valid option. Would you please
clarify how this should work.
# sacctmgr modify account set Partition=defq where Name=test_limit
Unknown option: Partition=defq
Use keyword 'where' to modify condition
# sacctmgr modify user set Partition=defq2 where Name=cmsupport
Unknown option: Partition=defq2
Use keyword 'where' to modify condition
Generally my purpose is to create an association on which I can limit the
number of jobs per Partition to a certain number using the GrpJobs option
which I could successfully set.
Best Regards,
Mohammed Gaafar
Post by Mohammed Gaafar
Dear All,
I have 12 nodes shared between 3 partitions. I need to limit the number
of jobs per partition to a certain value. Is this possible? and if you,
what is the best way to do that?
Best Regards,
Mohammed Gaafar
Loading...