<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>You want this handy feature in sacctmgr:</p>
<dl compact="compact">
<dt><i>RawUsage</i>=<value></dt>
<dd>
This allows an administrator to reset the raw usage accrued to
an
account. The only value currently supported is 0 (zero). This is
a
settable specification only - it cannot be used as a filter to
list
accounts.
</dd>
</dl>
<p>See: <br>
</p>
<p><a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/sacctmgr.html">https://slurm.schedmd.com/sacctmgr.html</a></p>
<p>-Paul Edmon-<br>
</p>
<div class="moz-cite-prefix">On 7/27/2020 2:17 PM, Jason Simms
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAP7JYwdmzgao9m+Nr9=-yVG+bA8GwLZqNSL4H3Vz8X83vVispg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Dear all,
<div><br>
</div>
<div>Apologies for the basic question. I've looked around online
for an answer to this, and I haven't found anything that has
helped accomplish exactly what I want. That said, it is also
probable that what I am asking isn't a best practice, or isn't
actually necessary, etc. I'd welcome any advice.</div>
<div><br>
</div>
<div>My question is, how can I reset a user's FairShare number?
Specifically, I'm asking about the last column displayed by
default when typing: sshare -a</div>
<div><br>
</div>
<div>If I want to reset a user's value for that to 1, so that
they are back at "top priority," I'm unclear how to do that.</div>
<div><br>
</div>
<div>When I type:</div>
<div><br>
</div>
<div>sacctmgr modify user <username> set FairShare=1</div>
<div><br>
</div>
<div>That seems actually to update the RawShares column! I guess
this (kind of) makes sense, since apparently I can set
FairShare=parent, so it's clear that command is not used to
update the last column (the one titled FairShare); so
confusing!</div>
<div><br>
</div>
<div>Is the actual FairShare column a calculated value that is
immutable? My understanding, however, is that it is that value
that controls a user's job priority. We do have job priority
scheduling configured and it *seems* to be working as
intended, I'm just not sure how to "reset" a given user's
priority weighting.</div>
<div><br>
</div>
<div>I do have PriorityDecayHalfLife=7 set in slurm.conf, and
this does decrement the RawUsage column appropriately, but
even when that reaches 0, the FairShare value doesn't change.</div>
<div><br>
</div>
<div>Warmest regards,</div>
<div>Jason<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;margin:0px"><span
style="color:rgb(130,36,51)"><font
face="Century Gothic"><b>Jason L. Simms,
Ph.D., M.P.H.</b></font></span></div>
<div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;margin:0px"><font
face="Century Gothic"><span>Manager of
Research and High-Performance Computing</span></font></div>
<div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;margin:0px"><font
face="Century Gothic"><span>XSEDE Campus
Champion<br>
</span><span style="color:gray">Lafayette
College<br>
Information Technology Services<br>
710 Sullivan Rd | Easton, PA 18042<br>
Office: 112 Skillman Library<br>
p: (610) 330-5632</span></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>