CCPP CMake cleanup, update submodule pointer for stochastic_physics to include emergency bugfix for restart runs#943
Merged
junwang-noaa merged 24 commits intoDec 14, 2021
Conversation
…anup in fv3atm, ccpp-framework, ccpp-physics
3144c8e to
51a16ae
Compare
…r-model into cleanup_cmake_build_config_ccpp
…r-model into cleanup_cmake_build_config_ccpp
SamuelTrahanNOAA
approved these changes
Dec 7, 2021
Collaborator
SamuelTrahanNOAA
left a comment
There was a problem hiding this comment.
Remember to change the .gitmodules back!
aerorahul
approved these changes
Dec 7, 2021
…r-model into cleanup_cmake_build_config_ccpp
DusanJovic-NOAA
approved these changes
Dec 13, 2021
Collaborator
|
@climbfuji Will this PR also fix the ufs-weather-model REPRO mode? |
Collaborator
Author
Yes, I am confident it does. Here are the REPRO compiler flags for one file in ccpp-physics. Notice that there is no |
Collaborator
Author
|
All regression tests passed, also for the rerun after updating the submodule pointer for |
DusanJovic-NOAA
approved these changes
Dec 14, 2021
MinsukJi-NOAA
approved these changes
Dec 14, 2021
DeniseWorthen
approved these changes
Dec 14, 2021
Collaborator
Author
|
Hash for fv3atm is correct (a1b0f33), ready to merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
Ths PR is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR. Please consult the ufs-weather-model wiki if you are unsure how to do this.
This PR has been tested using a branch which is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR
An Issue describing the work contained in this PR has been created either in the subcomponent(s) or in the ufs-weather-model. The Issue should be created in the repository that is most relevant to the changes in contained in the PR. The Issue and the dependent sub-component PR
are specified below.
Results for one or more of the regression tests change and the reasons for the changes are understood and explained below.
New or updated input data is required by this PR. If checked, please work with the code managers to update input data sets on all platforms.
Description
This PR makes changes in the CMake config files for Intel and GNU that are required by the cleanup of the CCPP cmake config in fv3atm, ccpp-framework, ccpp-physics.
This also fixes a bug in the current build config that adds
-no-prec-div -no-pre-sqrtto the CCPP 32bit compile options, although it should only be added to the 64bit compile options. This used to be the case in the past when IPD and CCPP coexisted, but for some unknown reason the bug was introduced since then.This bug fix changes the results of all 32bit regression tests that use GFDL MP with the saturation adjustment in the dycore. In addition, because the flag
-xCORE-AVX2is removed from the ccpp-physics compiler flags, the preceding-march=core-avx2applies and the results of most other regression tests change as well. Removing the Intel-chip specific flags is something that was recommended to us because the next operational system wcoss2 does not have Intel chips.Last minute change 2021/12/13: the submodule pointer for ccpp-physics is updated to include an emergency bugfix for the cellular automata code when the model is warm-started and the CA restart files are not in the input directory (NOAA-PSL/stochastic_physics#50). This does not affect the UFS WM regression tests (verified by running the regression tests with the emergency bugfix included against the newly created baseline that did not have the emergency bugfix).
Issue(s) addressed
Fixes #945
Testing
Regression tests were run on Hera with Intel and GNU during the development. Full regression tests will be run on all tier-1 platforms at the time of commit.
Rerun of regression tests/CI tests against newly created baselines after including the stochastic_physics emergency bugfix:
Dependencies