<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>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.</p>
<p>That will work if you are able to wait for some jobs to finish
and you can 'skip the line' for the priority jobs.</p>
<p>If you need to preempt running jobs, that would take a bit more
effort to set up, but is an alternative.</p>
<p><br>
</p>
<p>Brian Andrus</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 5/17/2023 6:40 AM, Groner, Rob
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DM6PR02MB45080ABDE4ADCF6FB96ABB2B807E9@DM6PR02MB4508.namprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I was asked to see if coordinators could do anything in this
scenario:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<ul
data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}">
<li style="list-style-type: disc;">Within the account that
they coordinated, User A submitted 1000s of jobs and left
for the day.</li>
<li style="list-style-type: disc;">Within the same account,
User B wanted to run a few jobs really quickly. Once
submitted, his jobs were of course behind User A's jobs.</li>
<li style="list-style-type: disc;">The coordinator wanted to
see the results of User B's runs.</li>
</ul>
<div>Reading the docs and doing some experiments, here is what I
determined:</div>
<div>
<ul
data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}">
<li style="list-style-type: disc;">The coordinator could put
a hold on all of User A's jobs in the pending queue. This
won't affect any jobs User A has that aren't tied to the
coordinated account.</li>
<li style="list-style-type: disc;">With User A's jobs held,
then User B's jobs would be next to run.</li>
<li style="list-style-type: disc;">If the coordinator was
particularly impatient, he could scancel User A's
currently running jobs so that User B's jobs immediately
started.</li>
<li style="list-style-type: disc;">The coordinator would
need to remember to release the held jobs, or put them in
a uhold so that User A could release them eventually.</li>
</ul>
<div>It seems like the easiest way for the coordinator to
elevate User B's jobs to the top of the queue would be if he
could "scontrol top" those jobs. But my testing indicates
that the coordinator doesn't have that permission. Is there
some reason that a coordinator can't use "scontrol top" to
change the priority of jobs within the account that he
coordinates?</div>
</div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div>Rob</div>
<div><br>
</div>
</div>
</blockquote>
</body>
</html>