For this use case you probably want to go with Classic Fairshare (https://slurm.schedmd.com/classic_fair_share.html) rather than FairTree. Classic Fairshare behaves in a way similar to what you describe. You can set up different bins for fairshare and then the user can pull from them. So that would be my recommendation. This is how we handle fairshare at FASRC: https://docs.rc.fas.harvard.edu/kb/fairshare/ As we use Classic Fairshare. You will need to enable this: https://slurm.schedmd.com/slurm.conf.html#OPT_NO_FAIR_TREE as Fair Tree is on by default.
-Paul Edmon-
On 3/27/2024 9:22 AM, Long, Daniel S. via slurm-users wrote:
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.