[slurm-users] Two lines are printed by sacct
Mahmood Naderan
mahmood.nt at gmail.com
Wed Apr 11 22:56:04 MDT 2018
May I ask what is the purpose to view intermediate job steps?
Also, today when I run sacct command, I only see the last two jobs
[mahmood at rocks7 g]$ sacct -a
JobID JobName Partition Account AllocCPUS State ExitCode
------------ ---------- ---------- ---------- ---------- ---------- --------
7 g-test CLUSTER local 6 CANCELLED+ 0:0
7.batch batch local 6 CANCELLED 0:15
8 g-test CLUSTER local 6 CANCELLED+ 0:0
8.batch batch local 6 CANCELLED 0:15
Is that normal?
Regards,
Mahmood
On Thu, Apr 12, 2018 at 4:32 AM, Christopher Samuel <chris at csamuel.org> wrote:
> On 12/04/18 04:00, Mahmood Naderan wrote:
>
>> Hi,
>
>
> Hi Mahmood,
>
>> I would like to know why the sacct command which I am usinig that to
>> get some reports, shows two lines for each job.
>
>
> sacct reports one line per job step by default, not per job.
>
> If you add the 'JobName' field to your sacct command you'll see what the
> steps are.
>
> You can collapse the job steps down into a single line with the -X flag:
>
> -X, --allocations
> Only show cumulative statistics for each job, not the
> intermediate steps.
>
>
> Hope that helps,
> Chris
> --
> Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
>
More information about the slurm-users
mailing list