[slurm-users] Problem with assigning user to partition

Mahmood Naderan mahmood.nt at gmail.com
Fri Apr 20 04:00:11 MDT 2018


OK. It seems to be working :)

[test2 at rocks7 ~]$ squeue
             JOBID PARTITION     NAME     USER ST       TIME  NODES
NODELIST(REASON)
                78  MONTHLY1      g-8    test2  R       0:30      1 compute-0-0


I will conclude that in a separate email for future.


Regards,
Mahmood




On Fri, Apr 20, 2018 at 2:26 PM, Mahmood Naderan <mahmood.nt at gmail.com> wrote:
> For both "add user" and "modify user", I see Partitions=
> So, how did you conclude that Partitions is only available with "add user"?
>
> [root at rocks7 ~]# sacctmgr remove user where name=test2
>  Deleting users...
>   test2
> Would you like to commit changes? (You have 30 seconds to decide)
> (N/y): y
> [root at rocks7 ~]# sacctmgr add user test2 Account=diamond Partitions=MONTHLY1
>  Adding User(s)
>   test2
>  Associations =
>   U = test2     A = diamond    C = jupiter    P = monthly1
>  Non Default Settings
> Would you like to commit changes? (You have 30 seconds to decide)
> (N/y): y
> [root at rocks7 ~]# sacctmgr list association
> format=account,user,partition,association
>    Account       User  Partition     Assocs
> ---------- ---------- ---------- ----------
>       root
>       root       root
>    diamond
>    diamond      test2   monthly1
>      local
>      local      hamid
>      local    mahmood
>      local       test
>
> Is that correct?
>
> Regards,
> Mahmood
>



More information about the slurm-users mailing list