<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">If accounting is setup the state/requests of the steps should be saved, e.g.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US"># sacct --job 12345678 -o JobID,User,WCKey,JobName,ReqMem,Timelimit,MaxRSS,State,ExitCode<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US"> JobID User WCKey JobName ReqMem Timelimit MaxRSS State ExitCode<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">------------ --------- ---------- ---------- ---------- ---------- ---------- ---------- --------<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678 xxxxxxxxx *abc1234 sbatch 2Gn 00:15:00 RUNNING 0:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678.ba+ batch 2Gn 7052K COMPLETED 0:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678.0 sleep 2Gn 916K COMPLETED 0:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678.1 sleep 2Gn 924K COMPLETED 0:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678.2 false 2Gn 928K FAILED 1:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678.3 sleep 2Gn 920K COMPLETED 0:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678.4 true 2Gn 920K COMPLETED 0:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678.5 sleep 2Gn 1988K COMPLETED 0:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:Consolas;mso-fareast-language:EN-US">12345678.6 sleep 2Gn RUNNING 0:0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">This doesn’t show pending steps as they wouldn’t have reported anything back to the accounting system.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">The job from slurmctld (scontrol) should be cleaned out after the MinJobAge /</span>
<span style="mso-fareast-language:EN-US">MaxJobCount has been reached in the slurm configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Chris.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> slurm-users [mailto:slurm-users-bounces@lists.schedmd.com]
<b>On Behalf Of </b>Roger Moye<br>
<b>Sent:</b> 01 May 2018 23:41<br>
<b>To:</b> slurm-dev@schedmd.com<br>
<b>Subject:</b> [slurm-users] How to get information about job steps<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Is there a way to retrieve job step information similar to “scontrol show job”? What I want to be able to do is see all job steps associated with a particular job, whether the step pending, running. or finished.
It seems that job step information is only available as long as the step is running or pending. Once it is finished, the information disappears. Is there a way to see all job steps associated with a job regardless of the state of the step?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks so much!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">-Roger Moye<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><img width="111" height="25" style="width:1.1562in;height:.2604in" id="Picture_x0020_1" src="cid:image001.png@01D3E847.89DE5DD0" alt="cid:image001.png@01D22319.C7D5D540"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959">Roger Moye<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959">HPC Engineer<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959">713.425.6236 Office<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959">713.376.2540 Mobile<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959">QUANT</span><span lang="EN-US" style="font-size:10.0pt;color:#FF3300">LAB</span><span lang="EN-US" style="font-size:10.0pt;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;color:#595959">Financial, LLC</span><span lang="EN-US" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959">3 Greenway Plaza</span><span lang="EN-US" style="color:#595959"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959">Suite 200</span><span lang="EN-US" style="color:#595959"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959">Houston, Texas 77046</span><span lang="EN-US" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#595959"><a href="https://www.quantlab.com/"><span style="color:blue">www.quantlab.com</span></a></span><u><span lang="EN-US" style="color:blue"><o:p></o:p></span></u></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US" style="font-size:8.5pt;font-family:"Verdana",sans-serif"> -----------------------------------------------------------------------------------</span><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:8.5pt;font-family:"Verdana",sans-serif">The information in this communication and any attachment is confidential and intended solely for the attention and use of the named addressee(s). All information and opinions expressed
herein are subject to change without notice. This communication is not to be construed as an offer to sell or the solicitation of an offer to buy any security. Any such offer or solicitation can only be made by means of the delivery of a confidential private
offering memorandum (which should be carefully reviewed for a complete description of investment strategies and risks). Any reliance one may place on the accuracy or validity of this information is at their own risk. Past performance is not necessarily indicative
of the future results of an investment. All figures are estimated and unaudited unless otherwise noted. If you are not the intended recipient, or a person responsible for delivering this to the intended recipient, you are not authorized to and must not disclose,
copy, distribute, or retain this message or any part of it. In this case, please notify the sender immediately at 713-333-5440</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</body>
</html>