Skip to content
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

ccpp-physics Thompson HRRR aerosol debugging, finalize routine, idempotence of _init/_finalize #97

Merged
merged 2 commits into from
Jun 27, 2018
Merged

ccpp-physics Thompson HRRR aerosol debugging, finalize routine, idempotence of _init/_finalize #97

merged 2 commits into from
Jun 27, 2018

Conversation

climbfuji
Copy link
Collaborator

This PR

  • adds additional timers for precomputing the lookup tables for Thompson MP
  • adds a thompson_finalize routine that deallocates the fields allocated in thompson_init
  • adds a fix for reading the precomputed tables: if the checksum does not match, delete file before trying to recreate it
  • adds logic to make mp_thompson_hrrr_init and mp_thompson_hrrr_finalize idempotent and to test in mp_thompson_hrrr_run if scheme is initialized
  • improves debug messages for aerosol debugging

This Pr does not change the results and was tested on MacOSX with clang/gfortran.

…inalize that deallocates the allocatable arrays, fix for reading precomputed tables: if checksum does not match, delete file before trying to create it
… to test if mp_thompson_hrrr was initialized or not (needed to make _init and _finalize idempotent
@climbfuji
Copy link
Collaborator Author

@grantfirl @llpcarson would it be possible for you to review this PR and https://github.com/NCAR/FV3/pull/13 so that I can merge them? The code doesn't change the results of any of the other tests and produces reasonable results (by eyeballing) for the HRRR Thompson MP scheme without/with aerosols, compared to the existing Thompson MP scheme in gfsphysics (older version, no aerosols, some mistakes in porting it over).

Copy link
Contributor

@llpcarson llpcarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@climbfuji climbfuji merged commit 712e448 into NCAR:master Jun 27, 2018
climbfuji pushed a commit to climbfuji/ccpp-physics that referenced this pull request Jul 21, 2021
…changes_combined_20210712

Wrapper PR for NCAR#97 (Update of GF aerosol treatment and tunings) and NCAR#98 (Updates to MYNN-EDMF)
uturuncoglu pushed a commit to uturuncoglu/ccpp-physics that referenced this pull request Sep 18, 2023
Adding OpenACC statements to accelerate MYNN surface scheme performance through GPU offloading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants