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

*Corrected two bugs impacting .testing test cases #1129

Merged
merged 3 commits into from
Jun 9, 2020

Conversation

Hallberg-NOAA
Copy link
Collaborator

Corrected the velocities that are used in the call to set_viscous_ML with
SPLIT=False and USE_RK2=True. This call had used the partially updated
predictor velocities, which included other accelerations but not viscosity and
which was missing a halo update, so it would not reproduce between symmetric and
non-symmetric modes or across PE counts. This combination of parameters is not
used in the MOM6-examples test suite, but it does change answers in some of the
test cases in .testing. Also removed CORRECT_DENSITY=False from tc4/MOM_input,
so that this test will not fail after this parameter is obsoleted. All answers
and output in the MOM6-examples test suite are bitwise identical, but there are
deliberate changes in the answers in the .testing test cases.

  Corrected the velocities that are used in the call to set_viscous_ML with
SPLIT=False and USE_RK2=True.  This call had used the partially updated
predictor velocities, which included other accelerations but not viscosity and
which was missing a halo update, so it would not reproduce between symmetric and
non-symmetric modes or across PE counts.  This combination of parameters is not
used in the MOM6-examples test suite, but it does change answers in some of the
test cases in .testing.  Also removed CORRECT_DENSITY=False from tc4/MOM_input,
so that this test will not fail after this parameter is obsoleted.  All answers
and output in the MOM6-examples test suite are bitwise identical, but there are
deliberate changes in the answers in the .testing test cases.
@codecov-commenter
Copy link

codecov-commenter commented Jun 8, 2020

Codecov Report

Merging #1129 into dev/gfdl will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           dev/gfdl    #1129   +/-   ##
=========================================
  Coverage     45.99%   45.99%           
=========================================
  Files           215      215           
  Lines         69577    69577           
=========================================
  Hits          32000    32000           
  Misses        37577    37577           
Impacted Files Coverage Δ
src/core/MOM_dynamics_unsplit_RK2.F90 92.68% <100.00%> (ø)

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 de7a390...60b3e12. Read the comment docs.

@Hallberg-NOAA
Copy link
Collaborator Author

This failed regression test is deliberate. The previous solution would have failed symmetry testing if it had run longer.

@marshallward marshallward self-assigned this Jun 9, 2020
@marshallward
Copy link
Collaborator

marshallward commented Jun 9, 2020

Gaea regression test: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/pipelines/10537

Regression has passed.

@marshallward marshallward merged commit fd09cf6 into mom-ocean:dev/gfdl Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants