Hello,
I am trying to understand how sreport work. So I run sreport and obtain th 
estatistics about speciic project. On teh other side, I collected the jobs 
related to this account using sacct. When I try to sum the numbers, sometimes 
it don't sum up. I can't see any reservations.
This is the sreport I used:
sreport --tres cpu cluster AccountUtilizationByUser Start=2021-01-01 
account=<account> -t hours -np

This is jobs I collected by using sacct:
sudo -u slurm  sacct -a  -S "2021-01-01" -E NOW 
--format=JobID%100,User,Account%100,State,AllocCPUs,CPUTime%100,CPUTIMERAW%100,ElapsedRaw%100,AllocTres%100,AllocNodes,NodeList,NNodes
 --noheader --parsable2 | grep <account> 

I tried to exclude the steps from the main Jobs, so I summed only the main jobs 
whatever its state (canceled, completed, timeout, fail..). However the sreport 
occasionally is larger.
What I am missing exactly?

Warm regards,
Hany.

-- 
slurm-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to