<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">Hi Lois
<div><br>
</div>
<div>Thanks for letting us know!</div>
<div><br>
</div>
<div>So out of the box there's no way to know what script for example a user ran in a particular job? Wish that feature existed as we sometimes have users who contact us regarding jobs that exited weeks ago.</div>
<div><br>
</div>
<div>We will look into the solution you suggest.</div>
<div><br>
</div>
<div>
<div>
<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>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr" style="font-size:small">Thanks,</div>
<div dir="ltr" style="font-size:small"><br>
Douglas Duckworth, MSc, LFCS<br>
HPC System Administrator<br>
<span style="font-size:12.8px"><a href="https://scu.med.cornell.edu" target="_blank">Scientific Computing Unit</a></span></div>
<div dir="ltr" style="font-size:small">Weill Cornell Medicine</div>
<div style="font-size:small">1300 York Avenue</div>
<div style="font-size:small">New York, NY 10065</div>
<div dir="ltr" style="font-size:small">
<div>E: <a href="mailto:doug@med.cornell.edu" target="_blank">doug@med.cornell.edu</a><br>
O: 212-746-6305<br>
F: 212-746-8690<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Nov 21, 2018 at 1:40 AM Loris Bennett <<a href="mailto:loris.bennett@fu-berlin.de">loris.bennett@fu-berlin.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Douglas,<br>
<br>
Douglas Duckworth <<a href="mailto:dod2014@med.cornell.edu" target="_blank">dod2014@med.cornell.edu</a>> writes:<br>
<br>
> Hi <br>
><br>
> We are in the process of migrating several clusters from SGE to Slurm.<br>
><br>
> We discovered that accounting does not show what command a previous<br>
> job ran. For currently running jobs scontrol for example will show:<br>
><br>
> JobId=33028 JobName=bash<br>
> Command=bash<br>
><br>
> Yet we would like to have that stored in accounting as it's useful for<br>
> jobs that existed ungracefully.<br>
><br>
> Any way to accomplish with Slurm version 17.02?<br>
><br>
> "sacct -e" does not show "Command" as a possible field.<br>
<br>
As far as I am aware, Slurm does not retain this information. Even if<br>
it did, for jobs started with 'sbatch' the 'Command' field contains the<br>
name of the batch file, which may not be that useful.<br>
<br>
An approach some people have mentioned using is collecting the<br>
information via a submit plugin and then storing it outside of Slurm's<br>
standard accounting.<br>
<br>
Cheers,<br>
<br>
Loris<br>
<br>
-- <br>
Dr. Loris Bennett (Mr.)<br>
ZEDAT, Freie Universität Berlin Email <a href="mailto:loris.bennett@fu-berlin.de" target="_blank">
loris.bennett@fu-berlin.de</a><br>
<br>
</blockquote>
</div>
</body>
</html>