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

Testing: Disable 2018 answer flags #1485

Merged
merged 2 commits into from
Aug 30, 2021

Conversation

marshallward
Copy link
Collaborator

@marshallward marshallward commented Aug 27, 2021

The TC tests are still using 2018 answer reproducibility flags, which
fail when aggressive initialization of allocatable arrays is enabled.
In at least one case, the mask_z variable of the ALE sponge is
incompletely initialized when DEFAULT_2018_ANSWERS is set. When
unset, the array is fully initialized.

This patch disables the 2018 answer flags and restores reproducibility
on such platforms.

The TC tests are still using 2018 answer reproducibility flags, which
fail when aggressive initialization of allocatable arrays is enabled.
In at least one case, the `mask_z` variable of the ALE sponge is
incompletely initialized when `DEFAULT_2018_ANSWERS` is set.  When
unset, the array is fully initialized.

This patch disables the 2018 answer flags and restores reproducibility
on such platforms.
@codecov
Copy link

codecov bot commented Aug 27, 2021

Codecov Report

Merging #1485 (c449a0c) into dev/gfdl (21fffff) will decrease coverage by 0.04%.
The diff coverage is n/a.

❗ Current head c449a0c differs from pull request most recent head 7cd584e. Consider uploading reports for the commit 7cd584e to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1485      +/-   ##
============================================
- Coverage     29.13%   29.08%   -0.05%     
============================================
  Files           235      235              
  Lines         71097    71097              
============================================
- Hits          20715    20681      -34     
- Misses        50382    50416      +34     
Impacted Files Coverage Δ
src/ALE/regrid_solvers.F90 7.89% <0.00%> (-14.04%) ⬇️
src/ALE/regrid_edge_values.F90 20.41% <0.00%> (-2.58%) ⬇️
src/framework/MOM_diag_remap.F90 79.57% <0.00%> (-0.86%) ⬇️
src/ALE/MOM_ALE.F90 34.68% <0.00%> (-0.64%) ⬇️
src/parameterizations/vertical/MOM_ALE_sponge.F90 15.30% <0.00%> (-0.34%) ⬇️
...parameterizations/vertical/MOM_set_diffusivity.F90 33.46% <0.00%> (-0.10%) ⬇️
src/core/MOM_barotropic.F90 36.95% <0.00%> (-0.05%) ⬇️
src/core/MOM.F90 58.77% <0.00%> (ø)
src/parameterizations/vertical/MOM_opacity.F90 28.60% <0.00%> (ø)
...c/parameterizations/vertical/MOM_vert_friction.F90 42.26% <0.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 21fffff...7cd584e. Read the comment docs.

Copy link
Collaborator

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

These changes shift the TC testing to emphasize the newer code that we want people to be using, although it does not preclude the use of the older algorithms in existing experiments, which will be retained as there is any demand to use them. I agree with these changes.

@Hallberg-NOAA Hallberg-NOAA merged commit df97d4f into mom-ocean:dev/gfdl Aug 30, 2021
@marshallward marshallward deleted the testing_no_2018 branch February 3, 2022 14:19
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