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 <
mohammed.gaa...@brightcomputing.com> wrote:

>
> 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
>
>
>
> On 07/21/2014 03:52 PM, Mohammed Gaafar wrote:
>
>> 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
>>
>

Reply via email to