If they have the permissions, you can just raise the priority of user B's jobs to be higher than whatever A's currently are. Then they will run next.
That will work if you are able to wait for some jobs to finish and you can 'skip the line' for the priority jobs.
If you need to preempt running jobs, that would take a bit more effort to set up, but is an alternative.
Brian Andrus
Coordinator permissions from the man pages:
coordinator
A special privileged user, usually an account manager, that can add users or sub-accounts to the account they are coordinator over. This should be a trusted person since they can change limits on account and user associations, as well as cancel, requeue or reassign accounts of jobs inside their realm.
So, I read that as it manages accounts in slurmdb with minimal access to the jobs themselves. So you would be stuck with cancel/requeue. I see no mention of hold, but if that is one of the permissions, I would say, yes, our approach does what you want within the limits of what the default permissions of a coordinator can do.
Of course, that still may not work if there are other accounts/partitions/users with higher priority jobs than User B. Specifically if those jobs can use the same resources A's jobs are running on.
Brian Andrus
If there’s a fairshare component to job priorities, and there’s a share assigned to each user under the account, wouldn’t the light user’s jobs move ahead of any of the heavy user’s pending jobs automatically?
From: slurm-users <slurm-use...@lists.schedmd.com> on behalf of "Groner, Rob" <rug...@psu.edu>
Reply-To: Slurm User Community List <slurm...@lists.schedmd.com>
Date: Wednesday, May 17, 2023 at 1:09 PM
To: "slurm...@lists.schedmd.com" <slurm...@lists.schedmd.com>
Subject: Re: [slurm-users] On the ability of coordinators
External Email Warning
This email originated from outside the university. Please use caution when opening attachments, clicking links, or responding to requests.
|
You don't often get email from ren...@tntech.edu.
Learn why this is important
|