Hi Carlos, Carlos Fenoy <[email protected]> writes:
> Re: [slurm-dev] sreport/sacct: discrepancy between utilization and CPUTime > > Hi Loris, > > Can you check when did the job actually started or ended? It may be that the > job > spans 2 days, and that is the reason the the sreport is reporting less time. Yes, you are correct. If I choose a start time before the jobs started, I get the same result with sreport as I do with sacct: $ sreport cluster UserUtilizationByAccount user=bsp start=2016-01-14T21:00:00 end=2016-01-15T04:30:00 -t hours -------------------------------------------------------------------------------- Cluster/User/Account Utilization 2016-01-14T21:00:00 - 2016-01-15T04:59:59 (28800 secs) Use reported in TRES Hours -------------------------------------------------------------------------------- Cluster Login Proper Name Account Used Energy --------- --------- --------------- --------------- ---------- ---------- soroban bsp Beispiel agexample 6 0 Thanks for the hint, Loris > Regards, > Carlos > > On Fri, Jan 22, 2016 at 9:31 AM, Loris Bennett <[email protected]> > wrote: > > Hi, > > Using version 15.08.4 I am looking at the value 'Used' from sreport and > comparing this with the corresponding 'CPUTime' from sacct: > > $ sreport cluster UserUtilizationByAccount user=bsp start=2016-01-15 -t > hours > > -------------------------------------------------------------------------------- > > Cluster/User/Account Utilization 2016-01-15T00:00:00 - 2016-01-21T23:59:59 > (604800 secs) > Use reported in TRES Seconds > > -------------------------------------------------------------------------------- > > Cluster Login Proper Name Account Used Energy > --------- --------- --------------- --------------- ---------- ---------- > soroban bsp Beispiel agexample 4 0 > > $ sacct -S 2016-01-15 -u bsp -o jobid,cputime,state > JobID CPUTime State > ------------ ---------- ---------- > 954088 05:49:45 COMPLETED > 954088.batch 05:49:45 COMPLETED > > Rounding aside, why is the 'Used' value given by report lower than > 'CPUTime' given by sacct? > > Regards > > Loris > > -- > Dr. Loris Bennett (Mr.) > ZEDAT, Freie Universität Berlin Email [email protected] -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email [email protected]
