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

(*)Use visc%Kv_shear in calculate_CVMix_conv call #146

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Use visc%Kv_shear in the calculate_CVMix_conv call in layered_diabatic, to
avoid segmentation faults when USE_REGRIDDING=True and USE_CVMix_CONVECTION=True
but USE_KPP=False. This bug was identified when evaluating the changes in
#129, and a correction was requested, but
the correction was omitted from that PR. Answers could change, but it is likely
that any cases that would change would previously have encountered a
segmentation fault, so I suspect that no such cases exist.

  Use visc%Kv_shear in the calculate_CVMix_conv call in layered_diabatic, to
avoid segmentation faults when USE_REGRIDDING=True and USE_CVMix_CONVECTION=True
but USE_KPP=False.  This bug was identified when evaluating the changes in
NOAA-GFDL#129, and a correction was requested, but
the correction was omitted from that PR.  Answers could change, but it is likely
that any cases that would change would previously have encountered a
segmentation fault, so I suspect that no such cases exist.
@codecov
Copy link

codecov bot commented Jun 13, 2022

Codecov Report

Merging #146 (36e24d3) into dev/gfdl (371c8bb) will not change coverage.
The diff coverage is 0.00%.

❗ Current head 36e24d3 differs from pull request most recent head 1a6cbd5. Consider uploading reports for the commit 1a6cbd5 to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #146   +/-   ##
=========================================
  Coverage     34.25%   34.25%           
=========================================
  Files           257      257           
  Lines         69721    69721           
  Branches      12909    12909           
=========================================
  Hits          23885    23885           
  Misses        41365    41365           
  Partials       4471     4471           
Impacted Files Coverage Δ
...parameterizations/vertical/MOM_diabatic_driver.F90 42.74% <0.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 371c8bb...1a6cbd5. Read the comment docs.

@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/15940 ✔️

@marshallward marshallward merged commit 835b166 into NOAA-GFDL:dev/gfdl Jun 20, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the KPP_convective_viscosity branch July 16, 2022 09:42
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