[slurm-users] Problem with assigning user to partition

Loris Bennett loris.bennett at fu-berlin.de
Fri Apr 20 03:25:35 MDT 2018


Mahmood Naderan <mahmood.nt at gmail.com> writes:

> Got the same error with plural
>
[snip (55 lines)]

> PartitionName=MONTHLY1 AllowAccounts=diamond Nodes=compute-0-0
> [root at rocks7 ~]# sacctmgr modify user name=test2 account=diamond set
> partitions=MONTHLY1
>  Unknown option: partitions=MONTHLY1
>  Use keyword 'where' to modify condition
> [root at rocks7 ~]# sacctmgr modify user set partitions=MONTHLLY1 where
> name=test2 account=diamond
>  Unknown option: partitions=MONTHLLY1
>  Use keyword 'where' to modify condition
>
>
>
> What did I miss here? Any feedback is welcome.

>From 'sacctmgr --help':

       add user           - Accounts=, AdminLevel=, Clusters=,             
                            DefaultAccount=, DefaultQOS=, DefaultWCKey=,   
                            Fairshare=, MaxTRESMins=, MaxTRES=,            
                            MaxJobs=, MaxNodes=, MaxSubmitJobs=, MaxWall=, 
                            Names=, Partitions=, and QosLevel=             
       modify user        - (set options) AdminLevel=, DefaultAccount=,    
                            DefaultQOS=, DefaultWCKey=, Fairshare=,        
                            MaxTRESMins=, MaxTRES=, MaxJobs=, MaxNodes=,   
                            MaxSubmitJobs=, MaxWall=, NewName=,            
                            and QosLevel=,                                 
                            RawUsage= (with admin privileges only)         
                            (where options) Accounts=, AdminLevel=,        
                            Clusters=, DefaultAccount=, Names=,            
                            Partitions=, and QosLevel=             >

I would interpret this as meaning you can set 'Partitions' when you
create a user, but you can't change it later using 'modify' as it is
then only a 'where option'.

So it looks to me like you need to delete your user and recreate it with
the desired partition.

Cheers,

Loris

PS: In your example you have a typo: MONTHLLY1 with double 'L' - don't
let that trip you up.

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett at fu-berlin.de



More information about the slurm-users mailing list