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

*Fix allocate_forcing_by_ref tau_mag_gustless bug #452

Merged
merged 2 commits into from
Aug 13, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Added the name to the do_taumag argument in a call to allocate_forcing_type in allocate_forcing_by_ref to account for the fact that there are unused wave-related optional arguments in this interface. When this was omitted in the current code, the wrong arrays are being allocated during rotation tests with resultant segmentation faults in those tests. This commit corrects a bug that was recently added with MOM6 dev/gfdl PR #445.

  Added the name to the do_taumag argument in a call to allocate_forcing_type
in allocate_forcing_by_ref to account for the fact that there are unused
wave-related optional arguments in this interface.  When this was omitted in
the current code, the wrong arrays are being allocated during rotation tests
with resultant segmentation faults in those tests.  This commit corrects a bug
that was recently added with MOM6 dev/gfdl PR mom-ocean#445.
@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Aug 12, 2023
@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Merging #452 (5d426d0) into dev/gfdl (23df713) will increase coverage by 0.00%.
The diff coverage is 0.00%.

❗ Current head 5d426d0 differs from pull request most recent head ec6fa9b. Consider uploading reports for the commit ec6fa9b to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #452   +/-   ##
=========================================
  Coverage     38.07%   38.07%           
=========================================
  Files           269      269           
  Lines         77187    77187           
  Branches      14256    14256           
=========================================
+ Hits          29387    29388    +1     
+ Misses        42477    42476    -1     
  Partials       5323     5323           
Files Changed Coverage Δ
src/core/MOM_forcing_type.F90 40.44% <0.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@marshallward
Copy link
Member

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

@marshallward marshallward merged commit 9e756af into NOAA-GFDL:dev/gfdl Aug 13, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the allocate_taumag_bugfix branch September 27, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants