<div dir="ltr">Hmm. I have it as an issue as well as several jobs that are in the db without an end time, even though they are not running.<br>Not sure how that happened, but I do want to find a good way to clean it up. Without and end time, sacct reports the jobs as if they continue to run and the total elapsed time keeps growing.<div><br></div><div>Does anyone have a process they use to handle empty (aka "Unknown") end times for jobs that are not running?</div><div><br></div><div>Brian Andrus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 27, 2019 at 10:43 PM Chris Samuel <<a href="mailto:chris@csamuel.org">chris@csamuel.org</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">On Tuesday, 26 February 2019 10:03:34 AM PST Brian Andrus wrote:<br>
<br>
> One thing I have noticed is that the END field for jobs with a state of<br>
> FAILED is "Unknown" but the ELAPSED field has the time it ran.<br>
<br>
That shouldn't happen, it works fine here (and where I've used Slurm in <br>
Australia).<br>
<br>
$ sacct -j ${FAILED_JOBID} -o start,end,elapsed,state<br>
Start End Elapsed State<br>
------------------- ------------------- ---------- ----------<br>
2019-02-27T22:35:23 2019-02-27T22:36:20 00:00:57 FAILED<br>
2019-02-27T22:35:23 2019-02-27T22:36:20 00:00:57 FAILED<br>
2019-02-27T22:35:23 2019-02-27T22:36:38 00:01:15 COMPLETED<br>
<br>
The "COMPLETED" part is the extern step we have as we use pam_slurm_adopt.<br>
<br>
All the best,<br>
Chris<br>
-- <br>
Chris Samuel : <a href="http://www.csamuel.org/" rel="noreferrer" target="_blank">http://www.csamuel.org/</a> : Berkeley, CA, USA<br>
<br>
<br>
<br>
<br>
</blockquote></div>