srun -N 1 -n 1 -p testA sleep 10
then the cpurawtime of this job recorded by slurm is 640s, but actually
this job only used 10s;
so, I want to know are there any way to get the real cputime used by this
job in slurm.

if you really mean cpu time (compute-bound, not elapsed),
then don't you just want usercpu, systemcpu and totalcpu from sacct?

cputime/cputimeraw is just ncpus * elapsed.

regards,
--
operator may differ from spokesperson.              h...@mcmaster.ca

Reply via email to