Skip to content

Commit

Permalink
Merge branch 'azamat/mem-usage/swap-highwater' (PR #1639)
Browse files Browse the repository at this point in the history
Correct parsing of mem highwater values from cpl.log. Previously, memory resident set size was getting parsed while checking for memleaks.

[BFB]
Fixes E3SM-Project/E3SM#1636
  • Loading branch information
rljacob authored Aug 3, 2017
2 parents 31ab9e3 + 5e4e222 commit af9ef62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/mct/main/cesm_comp_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3831,7 +3831,7 @@ subroutine cesm_run()
call shr_mem_getusage(msize,mrss,.true.)

write(logunit,105) ' memory_write: model date = ',ymd,tod, &
' memory = ',mrss,' MB (usage) ',msize,' MB (highwater)', &
' memory = ',msize,' MB (highwater) ',mrss,' MB (usage)', &
' (pe=',iam_GLOID,' comps=',trim(complist)//')'
endif
endif
Expand Down

0 comments on commit af9ef62

Please sign in to comment.