Wrapper PR for #94 (GF aerosol updates and tunings)#95
Conversation
SamuelTrahanNOAA
left a comment
There was a problem hiding this comment.
Make sure you set the submodule url and branch for FV3 back to NOAA-GSL gsl/develop before merging. Other than that, this is fine.
|
@DomHeinzeller do you have any idea of what needs to be fixed so that the code passes the warm start test? |
Not at this point. It's usually time consuming to figure this out. I'll look at the code changes, but I really wish that code changes were tested for these kind of things during the development phase and before creating the PRs. I'll test your code changes and Joe's code changes separately to get started. |
|
I noticed in part of the code I added I have an if statement that has a flag_init and not a flag_restart. Could that cause a problem? |
My guess is that |
|
Could we avoid adding it to the restart files if I go into cu_gf_driver_pre and add aod_gf into this if statement Then in cu_gf_driver change the if file_init to if aod_gf < 0 |
|
In This means that you need to have valid data in |
|
Yes, but if I add aod_gf to cu_gf_driver_pre like this: And change cu_gf_driver to Shouldn't that issue be avoided. |
|
Probably also need to change the code since cactiv_m is treated the same as cactiv in cu_gf_driver_pre and cu_gf_driver_post. I am working on that now. |
Which values will aod_gf have for the first call of a restart run? They would all be zero if not written to disk. Conversely, in continuous runs, they may have non-zero values. This will make a difference in line as far as I can see. Also, because of the preceding line do we need to care about those, too? For and |
|
I wouldn't rule out MYNN changes. I'm reviewing the code now.
…On Thu, Jul 15, 2021 at 9:51 AM Hannah C Barnes ***@***.***> wrote:
Probably also need to change the code since cactiv_m is treated the same
as cactiv in cu_gf_driver_pre and cu_gf_driver_post. I am working on that
now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLRR3T7NTCCQL754ZB2N43TX37XDANCNFSM5AMHUQDA>
.
--
Joseph Olson
Model Physics Branch Chief
Environmental Prediction Advancement Division
NOAA-Global Systems Laboratory
Boulder, Colorado
|
|
Yes, I just added cactiv_m to the GFS_restart and cu_gf_driver_pre and cu_gf_driver_post. Do you want me to add aod_gf to GFS_restart? |
Yes please. |
|
Sounds good. I will have those added to the PR in a few minutes. |
|
I have those changes in my repository and they compiled for me. Do you want to me to make a pull request for climbfuji:gsl_develop_hannah_and_joe_changes_combined_20210712? |
I already pulled them in, but I am getting compile errors. Let me check. |
I'll fix those, please no more changes in your branch. |
|
Thanks so much! |
|
Dom,
I found something in module_bl_mynn.F90 that was changed inadvertently,
probably when merging back-n-forth with WRF code:
REAL, DIMENSION(IMS:IME,KMS:KME), INTENT(inout), optional :: &
&qc_bl,qi_bl,cldfra_bl
The original code was not declared as optional. Any idea what the
consequences may be?
…-joe
On Thu, Jul 15, 2021 at 10:41 AM Hannah C Barnes ***@***.***> wrote:
Thanks so much!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLRR3RDVKMTHDPDZCIXRE3TX4FT3ANCNFSM5AMHUQDA>
.
--
Joseph Olson
Model Physics Branch Chief
Environmental Prediction Advancement Division
NOAA-Global Systems Laboratory
Boulder, Colorado
|
If those arrays are always allocated, then none. If they are not, then the consequences can be bad (segmentation faults, ...). |
Please go ahead and change it back, we'll have to redo all the testing anyway once the restart issue is resolved. |
8348b67 to
7677361
Compare
|
Update: still debugging. I fixed one more bug in GF, and I replaced MYNN with satmedmf. Still b4b different for restart runs. Will resume tomorrow. |
|
Sorry, about the b4b problems. Let me know how I can help. I finally got a test restart run on hera (hera is super slow...). I got an error "forrtl: severe (408): fort: (2): Subscript #1 of the array NAME2D has value 8 which is greater than the upper bound of 7" I assume I need to increase the size of NAME2d in GFS_restart, which I did not do orginally. Would that impact the b4b error? |
Hi Hannah, yes, I fixed this and now GF is b4b. Will add MYNN back into the mix. I'll also commit the bug fixes, nothing you need to do at the moment. Thanks! |
7677361 to
edb5ed8
Compare
21412c8 to
d25402f
Compare
This is a wrapper PR for #94 with the correct submodule pointer and .gitmodules updates.
Associated PRs:
NOAA-GSL/ccpp-physics#99
NOAA-GSL/fv3atm#101
#95
Regression testing (updated after fixing b4b restart issues for GF):
Create new baselines using
rt_ccpp_dev.confon Hera with Intel and GNU, then verify against those baselines:rt_ccpp_dev_hera_intel_create.log
rt_ccpp_dev_hera_intel_verify.log
rt_ccpp_dev_hera_gnu_create.log
rt_ccpp_dev_hera_gnu_verify.log
Verify against existing baselines from authoritative repositories on Hera with Intel and GNU and make sure that only those tests fail that we expect to fail (but that they run to completion):
rt_hera_intel_verify_against_existing.log
rt_hera_intel_verify_against_existing_fail_test.log
rt_hera_gnu_verify_against_existing.log
rt_hera_gnu_verify_against_existing_fail_test.log