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

Adiabatic clock ID bugfix #1034

Merged
merged 3 commits into from
Nov 22, 2019

Conversation

marshallward
Copy link
Collaborator

This patch fixes an initialization bug of the diabatic timer, which was
being used to measure adiabatic time but was never initialized if the
experiment was configured as adiabatic.

We fix this by introducing a separate timer for the adiabatic solver.
Although we could have reused the diabatic timer, the addition of a new
variable should not add any overhead on modern compilers.

@marshallward
Copy link
Collaborator Author

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

@codecov-io
Copy link

codecov-io commented Nov 19, 2019

Codecov Report

Merging #1034 into dev/gfdl will decrease coverage by 0.37%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1034      +/-   ##
============================================
- Coverage     43.53%   43.15%   -0.38%     
============================================
  Files           212      212              
  Lines         62490    62491       +1     
============================================
- Hits          27203    26968     -235     
- Misses        35287    35523     +236
Impacted Files Coverage Δ
src/core/MOM.F90 69.4% <100%> (+0.02%) ⬆️
...rc/parameterizations/lateral/MOM_tidal_forcing.F90 0% <0%> (-67.91%) ⬇️
src/ALE/coord_zlike.F90 68.18% <0%> (-9.1%) ⬇️
src/ALE/MOM_regridding.F90 25.69% <0%> (-5.46%) ⬇️
src/core/MOM_PressureForce_analytic_FV.F90 40.41% <0%> (-3.3%) ⬇️
src/parameterizations/vertical/MOM_geothermal.F90 63.31% <0%> (-2.37%) ⬇️
src/ALE/regrid_consts.F90 57.77% <0%> (-2.23%) ⬇️
src/initialization/MOM_fixed_initialization.F90 65.75% <0%> (-1.37%) ⬇️
src/initialization/MOM_shared_initialization.F90 31.54% <0%> (-0.84%) ⬇️
...parameterizations/vertical/MOM_set_diffusivity.F90 62.44% <0%> (-0.68%) ⬇️
... and 4 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 be50409...686302e. Read the comment docs.

This patch fixes an initialization bug of the diabatic timer, which was
being used to measure adiabatic time but was never initialized if the
experiment was configured as adiabatic.

We fix this by introducing a separate timer for the adiabatic solver.
Although we could have reused the diabatic timer, the addition of a new
variable should not add any overhead on modern compilers.
@marshallward
Copy link
Collaborator Author

Gaea regression tests have passed (after three slurm aborts...).

@adcroft adcroft merged commit ba45244 into mom-ocean:dev/gfdl Nov 22, 2019
@marshallward marshallward deleted the adiabatic_clock_id_fix branch February 13, 2020 16:36
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