<div dir="ltr">I had found some inconsistent behavior with the epilog that I didn't understand, but we worked around it at our site and didn't follow up.  <a href="https://bugs.schedmd.com/show_bug.cgi?id=6911">https://bugs.schedmd.com/show_bug.cgi?id=6911</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 9, 2019 at 11:58 AM Brian Andrus <<a href="mailto:toomuchit@gmail.com">toomuchit@gmail.com</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>Absolutely, which we do, however it is difficult to simulate all
      the possible job failures/ending/cancellations in 2 minutes or at
      all for some things.<br>
    </p>
    <p>So we post on the forums both to see if this has been found out
      and to draw attention to the fact that the documentation could be
      improved by adding a bit of clarification.</p>
    <p>Brian<br>
    </p>
    <p><br>
    </p>
    <div>On 12/9/2019 10:10 AM, Riebs, Andy
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      
      <div>
        <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">At
            the risk of stating the obvious… these seem like the sort of
            questions that could be answered with a 2 minute test.
            Better yet, not just answered, but with answers specific to
            your configuration </span><span style="font-size:11pt;font-family:Wingdings;color:rgb(31,73,125)">J</span><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
        <p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US"> slurm-users
            [<a href="mailto:slurm-users-bounces@lists.schedmd.com" target="_blank">mailto:slurm-users-bounces@lists.schedmd.com</a>]
            <b>On Behalf Of </b>Alex Chekholko<br>
            <b>Sent:</b> Monday, December 9, 2019 12:53 PM<br>
            <b>To:</b> Slurm User Community List
            <a href="mailto:slurm-users@lists.schedmd.com" target="_blank"><slurm-users@lists.schedmd.com></a><br>
            <b>Subject:</b> Re: [slurm-users] Timeout and Epilogue<u></u><u></u></span></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <div>
          <p class="MsoNormal">Hi,<u></u><u></u></p>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
          <div>
            <p class="MsoNormal">I had asked a similar question recently
              (maybe a year ago) and also got crickets.  I think in our
              case we were not able to ensure that the epilog always ran
              for different types of job failures, so we just had the
              users add some more cleanup code to the end of their jobs
              _and_ also run separate cleanup jobs.<u></u><u></u></p>
          </div>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
          <div>
            <p class="MsoNormal">Regards,<u></u><u></u></p>
          </div>
          <div>
            <p class="MsoNormal">Alex<u></u><u></u></p>
          </div>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
        </div>
        <p class="MsoNormal"><u></u> <u></u></p>
        <div>
          <div>
            <p class="MsoNormal">On Wed, Dec 4, 2019 at 7:29 PM Brian
              Andrus <<a href="mailto:toomuchit@gmail.com" target="_blank">toomuchit@gmail.com</a>>
              wrote:<u></u><u></u></p>
          </div>
          <blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
            <p class="MsoNormal" style="margin-bottom:12pt">Quick
              question:<br>
              <br>
              Is the epilogue script run if a job exceeds its time
              limits and is being <br>
              canceled?<br>
              <br>
              What about just cancelled?<br>
              <br>
              I need to be able to clean up some job-specific files
              regardless of how <br>
              the job ends and I'm not sure epilogue is sufficient.<br>
              <br>
              Brian Andrus<br>
              <br>
              <u></u><u></u></p>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </div>

</blockquote></div>