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 a bug in the OMP directive for plume_flux #427

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Changed a recently added OMP directive for plume_flux from private to firstprivate to reflect how this variable is actually used. This bug was introduced with PR #401, but was causing sporadic failures in some of our pipeline tests with the intel compiler (essentially due to initialized memory when openMP is used) for subsequent commits.

  Changed a recently added OMP directive for plume_flux from private to
firstprivate to reflect how this variable is actually used.  This bug was
introduced with PR mom-ocean#401, but was causing sporadic failures in some of our
pipeline tests with the intel compiler (essentially due to initialized
memory when openMP is used) for subsequent commits.
@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Jul 28, 2023
@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Merging #427 (d6aadd0) into dev/gfdl (fffb6f3) will not change coverage.
The diff coverage is n/a.

❗ Current head d6aadd0 differs from pull request most recent head 658ff51. Consider uploading reports for the commit 658ff51 to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #427   +/-   ##
=========================================
  Coverage     38.15%   38.15%           
=========================================
  Files           269      269           
  Lines         76773    76773           
  Branches      14127    14127           
=========================================
  Hits          29294    29294           
  Misses        42198    42198           
  Partials       5281     5281           
Files Changed Coverage Δ
...rc/parameterizations/vertical/MOM_diabatic_aux.F90 59.65% <ø> (ø)

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

Copy link
Member

@marshallward marshallward left a comment

Choose a reason for hiding this comment

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

Agree with this fix.

We need to investigate why this was missed in the original PR test. There were some warnings for the Intel OpenMP testing indicating that it is not configured correctly.

@Hallberg-NOAA
Copy link
Member Author

This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/20057.

@Hallberg-NOAA Hallberg-NOAA merged commit 55fc59a into NOAA-GFDL:dev/gfdl Jul 28, 2023
10 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the OMP_plume_flux_bugfix branch August 23, 2023 08:29
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