Disable TUV diagnostics unless debugging#1243
Disable TUV diagnostics unless debugging#1243kkeene44 merged 1 commit intowrf-model:release-v4.2.1from zxdawn:tuv_diag
Conversation
|
@zxdawn Would you please explain WHY this change has been made. Does this impact all of WRF Chem? Is it only for certain options? Are the files really large? For the uninitiated, also explain what TUV is. This only needs to be a few sentences. Then take that text and use it in the release notes. |
|
@davegill OK. Added the |
|
@zxdawn
|
I just found that if I use 24 cores, the time just cost < 1 second. |
|
@zxdawn I have a couple of questions about this paraphrased statement:
Would you fill in the time (s) in a table such as this for the commit message:
|
|
@zxdawn @jordanschnell Jordan, |
|
@davegill Sorry for the late reply. I was preparing some field observations these days. The time is the time of the diagnostics call. Here's the table if
If I change
I guess there's still some space of improvement for writing the TUV.diags file? The cost time is as same as my personal setting: So, that's not caused by quilting, right? |
Xin, |
|
@jordanschnell |
|
@davegill @zxdawn - Maybe @stacywalters can help provide some insight into the slow write speed, but I am good with the PR as is as well. |
|
I did not realize the diagnostic caused performance problems. The
diagnostic
really was intended for development only. In all honesty it should have
been
removed from the repository code.
Stacy
…On Wed, Jul 15, 2020 at 11:09 AM jordanschnell ***@***.***> wrote:
@davegill <https://github.com/davegill> @zxdawn
<https://github.com/zxdawn> - Maybe @stacywalters
<https://github.com/stacywalters> can help provide some insight into the
slow write speed, but I am good with the PR as is as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1243 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACA4BERT2TIRIVOAKMSBNDTR3XBCZANCNFSM4OUF2C4Q>
.
|
TYPE: bug
KEYWORDS: photolysis scheme, TUV, diagnostics, debug_level
SOURCE: Xin Zhang (NUIST)
DESCRIPTION OF CHANGES:
Problem:
When using WRF-Chem with the new Photolysis option (phot_opt = 4) activated, the model spends too much time
writing the TUV.diags. These diagnostics should only used for debugging photolysis rates. The diagnostics should be
enabled only for an explicitly requested debug value.
Solution:
Enable TUV diagnostics only when
debug_level >= 100.ISSUE:
Fixes #1242 Speed up writing the TUV.diags file
LIST OF MODIFIED FILES:
M chem/rxn.F
TESTS CONDUCTED:
The time is the time of the diagnostics call.
Here's the table if
debug_level = 0:If I change
debug_levelto 100, this is the result:RELEASE NOTE: When using WRF-Chem with the new Photolysis option (phot_opt = 4) activated, the model spent too much time on looping and writing the TUV.diags which is only used for debugging photolysis rates. The diagnostics are now enabled only for debug_level >=100.