-
Notifications
You must be signed in to change notification settings - Fork 249
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
RRFS debug & 2threads variants fixed plus many boundary condition bugs #1437
Merged
jkbk2004
merged 57 commits into
ufs-community:develop
from
SamuelTrahanNOAA:bugfix/rrfs-debug-mode
Oct 17, 2022
Merged
RRFS debug & 2threads variants fixed plus many boundary condition bugs #1437
jkbk2004
merged 57 commits into
ufs-community:develop
from
SamuelTrahanNOAA:bugfix/rrfs-debug-mode
Oct 17, 2022
Conversation
This file contains 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
…d module_bl_mynn)
…ed for restart test
… that fails gfortran -DDEBUG=ON
… call it from rt.sh
…nNOAA/ufs-weather-model into bugfix/rrfs-debug-mode
…nNOAA/ufs-weather-model into bugfix/rrfs-debug-mode
…nNOAA/ufs-weather-model into bugfix/rrfs-debug-mode
on-behalf-of @ufs-community <[email protected]>
Jenkins-ci logs attached. |
16 tasks
@SamuelTrahanNOAA all tests are done. We can start merging in dependencies first. |
jkbk2004
requested review from
DusanJovic-NOAA,
BrianCurtis-NOAA and
jkbk2004
October 14, 2022 00:26
DusanJovic-NOAA
approved these changes
Oct 14, 2022
jkbk2004
requested review from
BenjaminBlake-NOAA,
RatkoVasic-NOAA and
MatthewPyle-NOAA
October 14, 2022 13:05
RatkoVasic-NOAA
approved these changes
Oct 14, 2022
@SamuelTrahanNOAA go ahead to update on fv3atm submodule pointer and revert the branch. and we can merge. |
@jkbk2004 The FV3 submodule hash and URL have been updated. This PR is ready for merge. |
jkbk2004
approved these changes
Oct 17, 2022
16 tasks
This was referenced Oct 21, 2022
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
This 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 fixes many bugs in the fv_regional_bc.F90, and adds workarounds for two issues that couldn't be fixed. Also, the module_sf_ruclsm had two variables with troubles during gfortran debug mode, because subnormal number truncation was disabled. This is expected to improve some of the boundary issues seen in RRFS runs, and will be incorporated into RRFS parallels as soon as possible.
The result is that the RRFS can run in debug mode, and the 2threads variant matches the control and are now enabled in the conf files. Sadly, the restart and decomp do not match the control; they're in the tests/tests directory, but are commented out in the conf files. All rrfs conus13km tests all have a timestep of 120s now, instead of 60s, which should slightly offset the cost of having more of them.
RRFS-Smoke fails all variants, and crashes during restart, for known reasons. This is being fixed in the RRFS_dev branch (NOAA-GSL fork) which has a much newer and improved RRFS-Smoke. Fixing problems in the much older version in ufs-community would take more labor than is available, so those fixes will come in when the RRFS changes are merged to the authoritative repositories. Syncing the repositories is a high priority for RRFS developers.
All tests that have regional boundary conditions or use the RUC LSM may change results.
(Partially) Incorporated PRs
Pull request #1431, which corrected Rocoto support, was used during testing, so that is merged into this PR.
The GFDL_atmos_cubed_sphere changes for #1158 have already been merged to dev/emc, so they're in this PR's dependency at that level (NOAA-GFDL/GFDL_atmos_cubed_sphere#219). However, the rest of that PR has NOT been combined into this one. This doesn't seem to have had any impact on the regression tests. That is expected because #1158 did not change any actual code in GFDL_atmos_cubed_sphere. The meat of that PR is elsewhere.
The GFDL_atmos_cubed_sphere PR NOAA-GFDL/GFDL_atmos_cubed_sphere#220 from @kaiyuan-cheng is included, which fixes most of the issues mentioned here in a simpler manner than my own fixes.
Issue(s) addressed
Fixes NOAA-GFDL/GFDL_atmos_cubed_sphere#218
Fixes ufs-community/ccpp-physics#5
Fixes #1436
This solves half of the problem described in #1222. Do NOT close that issue. The other half, the decomp and restart variants, do not work yet.
These are newly-discovered bugs, for which this PR adds workarounds. The bugs should be fixed, and the workarounds removed:
workaround for NOAA-EMC/fv3atm#586 (Do NOT close that issue.)
Testing
All regression tests in rt.conf and rt_gnu.conf pass on hera.gnu, jet.intel, and hera.intel.
Some test variants that fail are commented out, but I kept them in tests/tests for debugging purposes. Specifically, these are the decomp and restart variants. The conus13km tests are all warm starts from data assimilation system output, so their restart tests require an extra variable. All extra logic needed to run a restart is present in the disabled conus13km files.
Dependencies
NOAA-GFDL/GFDL_atmos_cubed_sphere#219
NOAA-EMC/fv3atm#587
ufs-community/ccpp-physics#6