[slurm-users] How to get information about job steps
Chris Bridson (NBI)
Chris.Bridson at nbi.ac.uk
Thu May 10 03:46:31 MDT 2018
If accounting is setup the state/requests of the steps should be saved, e.g.
# sacct --job 12345678 -o JobID,User,WCKey,JobName,ReqMem,Timelimit,MaxRSS,State,ExitCode
JobID User WCKey JobName ReqMem Timelimit MaxRSS State ExitCode
------------ --------- ---------- ---------- ---------- ---------- ---------- ---------- --------
12345678 xxxxxxxxx *abc1234 sbatch 2Gn 00:15:00 RUNNING 0:0
12345678.ba+ batch 2Gn 7052K COMPLETED 0:0
12345678.0 sleep 2Gn 916K COMPLETED 0:0
12345678.1 sleep 2Gn 924K COMPLETED 0:0
12345678.2 false 2Gn 928K FAILED 1:0
12345678.3 sleep 2Gn 920K COMPLETED 0:0
12345678.4 true 2Gn 920K COMPLETED 0:0
12345678.5 sleep 2Gn 1988K COMPLETED 0:0
12345678.6 sleep 2Gn RUNNING 0:0
This doesn't show pending steps as they wouldn't have reported anything back to the accounting system.
The job from slurmctld (scontrol) should be cleaned out after the MinJobAge / MaxJobCount has been reached in the slurm configuration.
Chris.
From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of Roger Moye
Sent: 01 May 2018 23:41
To: slurm-dev at schedmd.com
Subject: [slurm-users] How to get information about job steps
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?
Thanks so much!
-Roger Moye
[cid:image001.png at 01D22319.C7D5D540]
Roger Moye
HPC Engineer
713.425.6236 Office
713.376.2540 Mobile
QUANTLAB Financial, LLC
3 Greenway Plaza
Suite 200
Houston, Texas 77046
www.quantlab.com<https://www.quantlab.com/>
-----------------------------------------------------------------------------------
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180510/09e4de86/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3364 bytes
Desc: image001.png
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180510/09e4de86/attachment-0001.png>
More information about the slurm-users
mailing list