<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
Unless I’m misreading it, you have a wall time limit of 2 days, and jobs that use up to 32 CPUs. So a total CPU time of up to 64 CPU-days would be possible for a single job.
<div><br>
</div>
<div>So if you want total wall time for jobs instead of CPU time, then you’ll want to use the Elapsed attribute, not CPUTime.<br>
<br>
<div dir="ltr">
<div><span style="background-color: rgba(255, 255, 255, 0);">--</span></div>
<span style="background-color: rgba(255, 255, 255, 0);">Mike Renfro, PhD / HPC Systems Administrator, Information Technology Services<br>
<a href="tel:931%20372-3601" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0/1" style="-webkit-text-decoration-color: rgba(0, 0, 0, 0.258824);">931 372-3601</a> / Tennessee Tech University</span></div>
<div dir="ltr"><br>
<blockquote type="cite">On Apr 11, 2020, at 10:05 AM, Sudeep Narayan Banerjee <snbanerjee@iitgn.ac.in> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr"><span style="font-family: "Nimbus Roman No9 L";">Hi,</span>
<div>
<p><font face="Nimbus Roman No9 L">I want to calculate the total walltime or runtime for all jobs submitted by each user in a year. I am using the syntax as below and it is also generating some output.
<br>
</font></p>
<p><font face="Nimbus Roman No9 L">We have walltime set for queues (main & main_new) as 48hrs only but the below is giving me hours ranging from 15hrs to 56 hours of even more. I am missing anything from logical/analytical point of view or the syntax is not
correct with respect to the desired information ? Many thanks for any suggestion.<br>
</font></p>
<p><font face="Nimbus Roman No9 L">[root@hpc ~]# sacct --format=user,ncpus,state,CPUTime --starttime=04/01/19 --endtime=03/31/20 | grep mithunr<br>
mithunr 32 COMPLETED 15-10:34:40 <br>
mithunr 16 COMPLETED 00:02:56 <br>
mithunr 16 COMPLETED 02:22:40 <br>
mithunr 16 COMPLETED 00:00:48 <br>
mithunr 16 COMPLETED 00:00:32 <br>
mithunr 16 FAILED 00:00:32 <br>
mithunr 16 FAILED 00:00:32 <br>
mithunr 16 FAILED 00:00:48 <br>
mithunr 16 FAILED 00:00:32 <br>
mithunr 16 FAILED 00:00:32 <br>
mithunr 0 CANCELLED+ 00:00:00 <br>
mithunr 16 FAILED 00:00:32 <br>
mithunr 32 COMPLETED 00:02:08 <br>
mithunr 0 CANCELLED+ 00:00:00 <br>
mithunr 32 COMPLETED 00:01:36 <br>
mithunr 16 FAILED 00:00:48 <br>
mithunr 32 COMPLETED 33-02:58:08 <br>
mithunr 32 COMPLETED 56-01:23:12 <br>
.......................<br>
......................<br>
......................<br>
<br>
</font></p>
<pre class="moz-signature" cols="72">--
Thanks & Regards,
Sudeep Narayan Banerjee
System Analyst | Scientist B
Information System Technology Facility
Academic Block 5 | Room 110
Indian Institute of Technology Gandhinagar
Palaj, Gujarat 382355 INDIA</pre>
</div>
</div>
</blockquote>
</div>
</body>
</html>