Skip to content

Commit

Permalink
Merge branch ACME-Climate/worleyph/cime/get_timing_fix (PR #1249)
Browse files Browse the repository at this point in the history
fix calculation of TOT Run Time in get_timing.py
  • Loading branch information
ndkeen authored Mar 27, 2017
2 parents 9447c6a + 555fcc7 commit 133fabf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/python/CIME/get_timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def getTiming(self):
maxthrds = m.nthrds
nmax = self.gettime(' CPL:INIT ')[1]
tmax = self.gettime(' CPL:RUN_LOOP ')[1]
wtmax = self.gettime(' CPL:TPROF_WRITE ')[1]
wtmin = self.gettime(' CPL:TPROF_WRITE ')[0]
fmax = self.gettime(' CPL:FINAL ')[1]
for k in components:
if k != "CPL":
Expand All @@ -282,7 +282,7 @@ def getTiming(self):

correction = max(0, ocnrunitime - ocnwaittime)

tmax = tmax + wtmax + correction
tmax = tmax + wtmin + correction
ocn.tmax += ocnrunitime

for m in self.models.values():
Expand Down

0 comments on commit 133fabf

Please sign in to comment.