<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>That I don't know.  I would imagine not as it doesn't touch the
      job records.  It just touches the totals that sshare uses to
      compute fairshare.  But that's just a guess on my part.  We don't
      really use sreport for reporting, we instead use grafana and XDMod
      for historic data.<br>
    </p>
    <p>-Paul Edmon-<br>
    </p>
    <div class="moz-cite-prefix">On 7/27/2020 2:24 PM, Jason Simms
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAP7JYwfTQndbsjpCz8+0+S-jZ1q6KzZ3_LbH+_K1VzcrAEcEUg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Does setting RawUsage=0 for a user affect
        historical usage information, used by, e.g., sreport?
        <div><br>
        </div>
        <div>Jason</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 2:22
          PM Paul Edmon <<a href="mailto:pedmon@cfa.harvard.edu"
            moz-do-not-send="true">pedmon@cfa.harvard.edu</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <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 href="https://slurm.schedmd.com/sacctmgr.html"
                target="_blank" moz-do-not-send="true">https://slurm.schedmd.com/sacctmgr.html</a></p>
            <p>-Paul Edmon-<br>
            </p>
            <div>On 7/27/2020 2:17 PM, Jason Simms wrote:<br>
            </div>
            <blockquote type="cite">
              <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">
                    <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>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="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>
    </blockquote>
  </body>
</html>