Skip to content

changes to SCM for RRTMGP#177

Merged
grantfirl merged 21 commits into
NCAR:dtc/developfrom
grantfirl:grant-rrtmgp
Mar 26, 2020
Merged

changes to SCM for RRTMGP#177
grantfirl merged 21 commits into
NCAR:dtc/developfrom
grantfirl:grant-rrtmgp

Conversation

@grantfirl
Copy link
Copy Markdown
Collaborator

@grantfirl grantfirl commented Mar 21, 2020

This PR contains the following:

Started from commit e860c96 of the rrtmgp-dev2 branch of dustinswales fork: https://github.com/dustinswales/gmtb-scm-1/tree/rrtmgp-dev2

Merged in the code from PR #176 (contains v4 release code merged with dtc/develop branch).

Followed PRs NCAR/fv3atm#32 and NCAR/ufs-weather-model#29 to work with PRs NCAR/ccpp-framework#270 and NCAR/ccpp-physics#411:

  • edited ccpp_prebuild_config.py to match changes in FV3's
  • added do_RRTMGP and edited rrtmgp_root in RRTMGP suite namelist
  • edited RRTMGP SDF (suite name, removed dcyc2t3_post, version #)
  • edited GFS_typedefs.[F90,meta] to match FV3's
  • remove RRTMGP types from gmtb_scm_type_defs.[F90,meta] (moved to Interstitial DDT in GFS_typedefs to match FV3)

@grantfirl
Copy link
Copy Markdown
Collaborator Author

Running the TWPICE case with suites SCM_GFS_v15p2 and SCM_GFS_v15_RRTMGP:

mean SW and LW temperature tendencies over active period (green uses RRTMGP):
profiles_mean_dT_dt_swrad.pdf
profiles_mean_dT_dt_lwrad.pdf

Resultant changes in temperature tendencies due to other processes:

profiles_mean_multi_T_forcing.pdf

… RRTMGP suite and namelist to be based off SCM_GFS_v15p2 suite; update submodule pointers; add multi_run config for RRTMGP; add basic plot_config for GFS_v15p2 vs RRTMGP
@grantfirl
Copy link
Copy Markdown
Collaborator Author

Updated to work with fixed FV3-based PRs. The results from the TWPICE case are actually quite different, but still reasonable:

profiles_mean_dT_dt_lwrad.pdf
profiles_mean_dT_dt_swrad.pdf
profiles_mean_multi_T_forcing.pdf

@grantfirl grantfirl requested a review from dustinswales March 25, 2020 23:46
Copy link
Copy Markdown
Collaborator

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

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

The changes I am seeing look good to me, but I am surprised I don't see any changes to the build system. If you are using the new capability (include auto-generated CCPP_TYPDEFS.{mk,cmake,sh}) then you can probably remove some files from gmtb-scm's CMakeLists.txt. Like in the fv3atm PR?

@grantfirl
Copy link
Copy Markdown
Collaborator Author

The changes I am seeing look good to me, but I am surprised I don't see any changes to the build system. If you are using the new capability (include auto-generated CCPP_TYPDEFS.{mk,cmake,sh}) then you can probably remove some files from gmtb-scm's CMakeLists.txt. Like in the fv3atm PR?

OK, I'll look at this tomorrow. It seems to work as is, but I'm sure that it could probably be streamlined. As you know, I'm not a build system connoisseur.

@climbfuji
Copy link
Copy Markdown
Collaborator

The changes I am seeing look good to me, but I am surprised I don't see any changes to the build system. If you are using the new capability (include auto-generated CCPP_TYPDEFS.{mk,cmake,sh}) then you can probably remove some files from gmtb-scm's CMakeLists.txt. Like in the fv3atm PR?

OK, I'll look at this tomorrow. It seems to work as is, but I'm sure that it could probably be streamlined. As you know, I'm not a build system connoisseur.

I can do that for you if you like and create a PR for your branch.

@climbfuji
Copy link
Copy Markdown
Collaborator

The changes I am seeing look good to me, but I am surprised I don't see any changes to the build system. If you are using the new capability (include auto-generated CCPP_TYPDEFS.{mk,cmake,sh}) then you can probably remove some files from gmtb-scm's CMakeLists.txt. Like in the fv3atm PR?

OK, I'll look at this tomorrow. It seems to work as is, but I'm sure that it could probably be streamlined. As you know, I'm not a build system connoisseur.

I can do that for you if you like and create a PR for your branch.

@grantfirl please let me know if you want me to work on this. Thanks!

@grantfirl
Copy link
Copy Markdown
Collaborator Author

The changes I am seeing look good to me, but I am surprised I don't see any changes to the build system. If you are using the new capability (include auto-generated CCPP_TYPDEFS.{mk,cmake,sh}) then you can probably remove some files from gmtb-scm's CMakeLists.txt. Like in the fv3atm PR?

OK, I'll look at this tomorrow. It seems to work as is, but I'm sure that it could probably be streamlined. As you know, I'm not a build system connoisseur.

I can do that for you if you like and create a PR for your branch.

@grantfirl please let me know if you want me to work on this. Thanks!

That'd be great if you have the time. All I saw in the fv3atm PR for CMakeLists.txt was one added line.

@climbfuji
Copy link
Copy Markdown
Collaborator

The changes I am seeing look good to me, but I am surprised I don't see any changes to the build system. If you are using the new capability (include auto-generated CCPP_TYPDEFS.{mk,cmake,sh}) then you can probably remove some files from gmtb-scm's CMakeLists.txt. Like in the fv3atm PR?

OK, I'll look at this tomorrow. It seems to work as is, but I'm sure that it could probably be streamlined. As you know, I'm not a build system connoisseur.

I can do that for you if you like and create a PR for your branch.

@grantfirl please let me know if you want me to work on this. Thanks!

That'd be great if you have the time. All I saw in the fv3atm PR for CMakeLists.txt was one added line.

In https://github.com/NCAR/fv3atm/pull/32/files look for the various CMakeLists.txt and makefile changes. But no worries, I will give it a try. Going to check out your grant-rrtmgp branch now, please don't make any changes for the time being.

Changes to SCM for RRTMGP - updates for @grantfirl's PR
@grantfirl
Copy link
Copy Markdown
Collaborator Author

IMO, this is ready to merge once we have approval from other codeowners.

@grantfirl grantfirl requested a review from climbfuji March 26, 2020 19:24
@grantfirl grantfirl merged commit dad40fe into NCAR:dtc/develop Mar 26, 2020
dustinswales pushed a commit to dustinswales/ccpp-scm that referenced this pull request May 16, 2022
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.

3 participants