We do it by assigning fairshare just to the account.
sacctmgr -i add account $acct Description="$descr" \ Organization="$org" fairshare=200 GrpJobsAccrue=8 sacctmgr -i add user "$u" DefaultAccount=$acct fairshare=parent
Add the same user to other accounts with
sacctmgr -i add user "$u" account=$acct fairshare=parent
-- Paul Raines (http://help.nmr.mgh.harvard.edu)
On Wed, 27 Mar 2024 9:22am, Long, Daniel S. via slurm-users wrote:
External Email - Use Caution
Hi,
I’m trying to set up multifactor priority on our cluster and am having some trouble getting it to behave the way I’d like. My main issues seem to revolve around FairShare.
We have multiple projects on our cluster and multiple users in those projects (and some users are in multiple projects, of course). I would like the FairShare to be based only on the project associated with the job; if user A and user B both submit jobs on project C, the FairShare should be identical. However, it looks like the FairShare is based on both the project and the user. Is there a way to get the behavior I’m looking for?
Thanks for any help you can provide.
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 in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline https://www.massgeneralbrigham.org/complianceline . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.