Hi David,
Baker D.J. <[email protected]> writes:
> Hi Loris,
>
> Thank you for your reply. The output from "sprio -l" is:
>
> JOBID USER PRIORITY AGE FAIRSHARE JOBSIZE
> PARTITION QOS NICE TRES
> 25988 mjp1m12 -922337203 2 nan 1
> 1000 0 0
> 25992 mjp1m12 -922337203 2 nan 1
> 1000 0 0
> 25993 mjp1m12 -922337203 2 nan 1
> 1000 0 0
> 25994 mjp1m12 -922337203 2 nan 1
> 1000 0 0
> 25995 mjp1m12 -922337203 2 nan 1
> 1000 0 0
> 25996 mjp1m12 -922337203 2 nan 1
> 1000 0 0
> 25997 mjp1m12 -922337203 2 nan 1
> 1000 0 0
>
> I've also attached a copy of our slurm.conf, if that helps. Any advice that
> you could give us would be appreciated.
A value of 'nan' for 'FAIRSHARE' is not what you want. I suspect you
haven't set up any shares. What does the following produce?
sacctmgr list assoc tree format=account,user,fairshare
For me this looks something like:
Account User Share
-------------------- ---------- ---------
root 1
root root 1
bcp 169
biology 15
group01 3
group01 alice 1
group01 bob 1
group01 carol 1
group02 1
group02 dave 1
...
For each user and account you need to set up the shares. Check the
official 'sacctmgr' page:
https://slurm.schedmd.com/sacctmgr.html
Ole Holm Nielsen also has some helpful information on the following
page:
https://wiki.fysik.dtu.dk/niflheim/Slurm_accounting
In general it can be a bit of a faff setting up and maintaining shares.
All our users have equal shares and only belong to one account, so when
we add a users, we just automatically increment all the shares up to the
top of the hierarchy and decrement correspondingly when the user is
deleted.
HTH
Loris
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email [email protected]