Skip to content

Fix a bug in the OMP directive for plume_flux#427

Merged
Hallberg-NOAA merged 1 commit into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:OMP_plume_flux_bugfix
Jul 28, 2023
Merged

Fix a bug in the OMP directive for plume_flux#427
Hallberg-NOAA merged 1 commit into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:OMP_plume_flux_bugfix

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
@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