[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
add users. On Aug 10, 2024, at 6:21 PM, Drucker, Daniel via slurm-users wrote: External Email - Use Caution Yes, there is 'root' and 'mic', and everyone is under 'mic. No, I don't know any Steve. So what you're saying is I *must* at account-creat

[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
***AHA**888 I FOUND IT! FairShare=parent It is possible to disable the fairshare at certain levels of the fair share hierarchy by using the FairShare=parent option of sacctmgr. For users and accounts with FairShare=parent the normalized

[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
Yes, there is 'root' and 'mic', and everyone is under 'mic. No, I don't know any Steve. So what you're saying is I *must* at account-creation time explicitly assign a fairshare value? Would it be sufficient to just say, in my account creation script, sacctmgr modify user $NEWUSERNAME set fairsh

[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
And now, a few hours later - with no changes made - everyone has the same fairshare? $ sshare -l -a AccountUser RawShares NormSharesRawUsage NormUsage EffectvUsage FairShareGrpTRESMins TRESRunMins

[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
Hmm, no. That solved the problem of everyone having the same FairShare, but even after restarting slurmd and doing reconfigure, if I submit a job as someone with a huge usage and someone with zero usage, they both end up with the same Priority. On Aug 10, 2024, at 8:05 AM, Daniel M. Drucker

[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
I just set PriorityFlags=NO_FAIR_TREE and this seems to have solved the problem! On Aug 10, 2024, at 7:45 AM, Drucker, Daniel wrote: According to https://docs.rc.fas.harvard.edu/kb/fairshare/ and https://slurm.schedmd.com/SUG14/fair_tree.pdf : "The Fairshare score is calculated using the

[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
According to https://docs.rc.fas.harvard.edu/kb/fairshare/ and https://slurm.schedmd.com/SUG14/fair_tree.pdf : "The Fairshare score is calculated using the following formula.f = 2^(-EffectvUsage/NormShares)" This is clearly not happening on my system: AccountUser RawShar

[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
Here is what is confusing me I guess. Look at the below. You can see that some people have no usage and some people have a lot of usage. But their FairShare value is all identical. https://lists.schedmd.com/mailman3/hyperkitty/list/slurm-users@lists.schedmd.com/thread/I53OEJSNBT2BMXYVFEFHQQKKAHI

[slurm-users] Re: FairShare if there's only one account?

2024-08-10 Thread Drucker, Daniel via slurm-users
So I'm still getting identical priorities for every job. For example in: squeue --format="%.18i %.9P %.50j %.8u %.8T %.10M %.9l %.6D %R %.10Q" the PRIORITY field is 98387 (which is 1* the fairshare value shown in "sshare -a -A mic") for every single job, even though some of the jobs in the

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
On Aug 9, 2024, at 9:21 PM, Fulcomer, Samuel wrote: > And note that the high PriorityWeightAge may be complicating things. We set > it to 0. With it set so high, it allows users to gain priority by flooding > the queue if you allow high numbers of job submissions and they age up in > priority w

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
> On Aug 9, 2024, at 9:15 PM, Fulcomer, Samuel > wrote: > ...and what are the top 10-15 lines in your share output?... See the 4:10PM message in this thread. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you i

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
ink fairshare use is updated until jobs finish... On Fri, Aug 9, 2024 at 5:59 PM Drucker, Daniel via slurm-users mailto:slurm-users@lists.schedmd.com>> wrote: Hi Paul from over at mclean.harvard.edu<http://mclean.harvard.edu/>! I have never added any users using sacctmgr - I've al

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
uot;$descr" \ >> fairshare=200 GrpJobsAccrue=8 >> >> and users with >> >> sacctmgr -i add user "$u" account=$acct fairshare=parent >> >> If you want users to have their own independent fairshare, you >> do not use fairshare=parent b

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
ution I don't think fairshare use is updated until jobs finish... On Fri, Aug 9, 2024 at 5:59 PM Drucker, Daniel via slurm-users mailto:slurm-users@lists.schedmd.com>> wrote: Hi Paul from over at mclean.harvard.edu<http://mclean.harvard.edu/>! I have never added any users using

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
Fri, Aug 9, 2024 at 5:59 PM Drucker, Daniel via slurm-users mailto:slurm-users@lists.schedmd.com>> wrote: Hi Paul from over at mclean.harvard.edu<http://mclean.harvard.edu/>! I have never added any users using sacctmgr - I've always just had everyone I guess automatically join the de

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
with sacctmgr -i add user "$u" account=$acct fairshare=parent If you want users to have their own independent fairshare, you do not use fairshare=parent but assign a real number. -- Paul Raines (http://help.nmr.mgh.harvard.edu) On Fri, 9 Aug 2024 5:20pm, Drucker, Daniel via slurm-us

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
I got the opposite result. When I submitted a job as bsmith, they got a lower priority (the number was smaller) than the job submitted as csmith. bsmith (who has never submitted a job before) got a priority of 98387 (which is 1 times the 0.983871 FairShare), whereas csmith (who is already ru

[slurm-users] Re: FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
, Daniel via slurm-users mailto:slurm-users@lists.schedmd.com>> Date: Friday, August 9, 2024 at 1:39 PM To: slurm-users@lists.schedmd.com<mailto:slurm-users@lists.schedmd.com> mailto:slurm-users@lists.schedmd.com>> Subject: [slurm-users] FairShare if there's only one account? Exter

[slurm-users] FairShare if there's only one account?

2024-08-09 Thread Drucker, Daniel via slurm-users
Simple question: Does FairShare still work if every user is under one account? E.g.: $ sacctmgr show assoc format=Account,User Account User -- -- root root root mic mic asmith mic bsmith mic csmith mic djones