-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing timer in RtmMod.F90 #289
Comments
Still needs to be fixed. |
How does one enable "the highest level of performance profiling"? In other words, how can I make sure the fix that I add is correct? |
You can add profile_detail_limit = 10 to user_nl_cpl. Let me check this again, and I'll tell you exactly where to put it. |
Okay, the fix is to add
at line 430 in ./components/rtm/src/riverroute/RtmMod.F90, as in
If you then run with
in user_nl_cpl the timing output file (./timing/XXX.stats) should indicate something like
in contrast to the current output of
There are other indicators as well, including at the end of the run, the original will indicate that the rtmi_grid timer was never stopped. I can send you the udpated file as well, if you wish. |
There is a missing "call t_stopf('rtmi_grid')" that needs to added to the end of the subroutine Rtmini in RtmMod.F90 . This only causes problems when enabling the highest level of performance profiling (which we never do), but I discovered this when testing this option for some of the CIME work. The same error is in the CESM version, btw.
I'd like someone to drop this in next time that RTM is modified, or as part of some other pull request. It is not a productive use of anyone's time to do a pull request just for this bug fix. I can help with putting in the fix and describing how to test it.
The text was updated successfully, but these errors were encountered: