Re: [slurm-users] Job runtime

2018-04-13 Thread Mahmood Naderan
Hi Chris, I have been confused with the cpu runtime values in the sacct. For a multinode mpi job, I see these values [mahmood@rocks7 ~]$ sacct --format=jobid,user,cputime,elapsed,totalcpu,ncpus JobID UserCPUTimeElapsed TotalCPU NCPUS - -- ---

Re: [slurm-users] Job runtime

2018-03-18 Thread Chris Samuel
On Sunday, 18 March 2018 4:30:34 PM AEDT Mahmood Naderan wrote: > Thanks for the exaplnation Chris. I will read cgroup. My pleasure! The Slurm docs on it are here: https://slurm.schedmd.com/cgroups.html I've been using cgroups for all three abilities (process tracking, task management and ac

Re: [slurm-users] Job runtime

2018-03-17 Thread Mahmood Naderan
Thanks for the exaplnation Chris. I will read cgroup. Regards, Mahmood On Sun, Mar 18, 2018 at 7:43 AM, Chris Samuel wrote: > On Sunday, 18 March 2018 5:46:50 AM AEDT Mahmood Naderan wrote: > >> Excuse me but I think that is wrong. > > I think we're talking at cross-purposes, I thought you we

Re: [slurm-users] Job runtime

2018-03-17 Thread Chris Samuel
On Sunday, 18 March 2018 5:46:50 AM AEDT Mahmood Naderan wrote: > Excuse me but I think that is wrong. I think we're talking at cross-purposes, I thought you were puzzled about why CPU time was less than the total time in a general context (not purely within Slurm). > "Elapsed" is the wall clo

Re: [slurm-users] Job runtime

2018-03-17 Thread Mahmood Naderan
Excuse me but I think that is wrong. "Elapsed" is the wall clock time. "UserCPU" should be "NCPUS*Elapsed". The "CPUTime" is then not clear for me. If that is "USERCPU+I/O" and etc, then it should be "user+sys" as reported by time command. However, in my example the "CPUTime" is 01:04:28 while "use

Re: [slurm-users] Job runtime

2018-03-17 Thread Chris Samuel
On Thursday, 15 March 2018 1:05:16 AM AEDT Mahmood Naderan wrote: > Slurm also uses time output. But the CPUTime is not clear for me. CPU time will generally be less than wall time because it doesn't include time spent waiting for I/O, etc. -- Chris Samuel : http://www.csamuel.org/ : Melb

Re: [slurm-users] Job runtime

2018-03-14 Thread Mahmood Naderan
I ran again with time command in front of g09. The console output is Wed Mar 14 09:15:58 EDT 2018 real32m14.136s user53m56.946s sys2m17.855s Wed Mar 14 09:48:12 EDT 2018 So the wall clock time is 32 minutes roughly. g09 says Job cpu time: 0 days 0 hours 47 minutes 56.0 seco

Re: [slurm-users] Job runtime

2018-03-14 Thread Shenglong Wang
Gaussian reports CPU time, sacct reports wall time here. Was Gaussian setup to run with 2 CPU cores? Best, Shenglong > On Mar 14, 2018, at 8:04 AM, Mahmood Naderan wrote: > > Hi, > I see that slurm reports a 35 min duration for a completed job (g09) like this > > [mahmood@rocks7 ~]$ sacct -j