Re: [slurm-users] Two lines are printed by sacct

2018-04-13 Thread Chris Samuel
On Saturday, 14 April 2018 12:00:59 AM AEST Mahmood Naderan wrote: > What are those? What should I mention in the format option to see the > proper information about three lines of a jobs? Yes. Even just running "sacct" on its own will tell you that information, the reason it doesn't at the mom

Re: [slurm-users] Two lines are printed by sacct

2018-04-13 Thread Mahmood Naderan
Excuse me, I see three lines also! [root@rocks7 ~]# sacct --format=user,cputime,elapsed UserCPUTimeElapsed - -- -- mahmood 02:44:00 00:10:15 02:44:00 00:10:15 mahmood 19:25:52 00:18:13 09:42:56 00:18:13 00:18

Re: [slurm-users] Two lines are printed by sacct

2018-04-11 Thread Christopher Samuel
On 12/04/18 14:56, Mahmood Naderan wrote: May I ask what is the purpose to view intermediate job steps? Because for MPI jobs that's where all the information is. The first step is just the batch script. Also, today when I run sacct command, I only see the last two jobs [...] Is that norm

Re: [slurm-users] Two lines are printed by sacct

2018-04-11 Thread Mahmood Naderan
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@rocks7 g]$ sacct -a JobIDJobName PartitionAccount AllocCPUS State ExitCode -- -- -- -- --

Re: [slurm-users] Two lines are printed by sacct

2018-04-11 Thread Christopher Samuel
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

[slurm-users] Two lines are printed by sacct

2018-04-11 Thread Mahmood Naderan
Hi, I would like to know why the sacct command which I am usinig that to get some reports, shows two lines for each job. For example [mahmood@rocks7 g]$ sacct --format=start,end,elapsed,ncpus,cputime,user Start EndElapsed NCPUS CPUTime User ---