Update of GF aerosol treatment and tunings#97
Conversation
DomHeinzeller
left a comment
There was a problem hiding this comment.
Please provide a description for what this PR does. Also, I think you can remove the newly added variable trash from cu_gf_driver.F90.
| ! gf needs them in w/m2. define hfx and qfx after simple unit conversion | ||
| real(kind=kind_phys), dimension (im) :: hfx,qfx | ||
| real(kind=kind_phys) tem,tem1,tf,tcr,tcrf | ||
| real(kind=kind_phys) trash,tem,tem1,tf,tcr,tcrf |
There was a problem hiding this comment.
I just updated the PR without that variable, thanks
|
@DomHeinzeller How do I add a description to the commit? |
In your PR, click on the three dots in the top-right corner of the first comment box, then edit. |
|
@DomHeinzeller Thanks. I updated the description. Let me know if it needs to be further modified. |
That's great, thanks a lot. |
|
@hannahcbarnes something is not quite right with your code changes. The following debug tests all crash: The error for Note that the only remaining debug test |
|
@DomHeinzeller Hmm, that confuses me. I am using this code without a problem. Can you tell me more about what these debug scripts are testing for. Do you have any other output / log, I can't seem to make much out of the error that is listed. |
|
@DomHeinzeller I see that an update to the GF code has changed how the variable cactiv works in the code (it is now linked to another variable conv_act). I will try to apply these changes to the variable I added (cactiv_m) and see if that helps. |
|
You need to compile the code in DEBUG mode (add DEBUG=Y to the MAKEOPT string) to get this error.
… On Jul 13, 2021, at 7:41 AM, Hannah C Barnes ***@***.***> wrote:
@DomHeinzeller <https://github.com/DomHeinzeller> I see that an update to the GF code has changed how the variable cactiv works in the code (it is now linked to another variable conv_act). I will try to apply these changes to the variable I added (cactiv_m) and see if that helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#97 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AN7FF5BLDFLE6CQET44MDJTTXQ7APANCNFSM5ADNS2EQ>.
|
|
Thanks, Dom. I realized that my runs with this code are also not working, even though it compiles in non-debug mode. So far my idea about. "cactiv_m" is not the source of the issue. (Code still crashes when I turn that variable off) |
|
@DomHeinzeller Is this the correct command. ./compile.sh "$target" "DEBUG=Y APP=ATM CCPP=Y 32BIT=Y SUITES=FV3_GFS_v15,FV3_GFS_v16,FV3_GFS_v16_GF,FV3_GSD_noah,FV3_GSD_v0" 2 NO NO I just ran this and did not get any compile errors |
You don't need CCPP=Y anymore, but it doesn't hurt. You need to run the code now and see what you get. |
|
@DomHeinzeller Do you think there is any possibility that this problem is not linked to my commit? I just compiled and ran a version of the code where all the code I changed was completely replaced with the previous version of the code, and it still crashed with the same error that I have been getting. |
|
I have been using this code multiple times with a Mar gsl/develop code base and Judy is using the code with a June EMC code base and have not run into this problem. |
Minor code clean up
Adding OpenACC statements to accelerate MYNN surface scheme performance through GPU offloading

The treatment of aerosols in the Grell-Freitas Convective Parameterization is updated. These updates include modifying aerosol scavenging based on a method that has been used in CIMP5 and fixing how cloud condensation nuclei is calculated from aerosol optical depth.
There are also a few bug fixes and further tuning of the Grell-Freitas Convective Parameterization.