Skip to content

Bugfix: find_index in FMS2 infra#137

Merged
adcroft merged 1 commit into
NOAA-GFDL:dev/gfdlfrom
marshallward:find_index_bugfix
Jun 2, 2022
Merged

Bugfix: find_index in FMS2 infra#137
adcroft merged 1 commit into
NOAA-GFDL:dev/gfdlfrom
marshallward:find_index_bugfix

Conversation

@marshallward
Copy link
Copy Markdown
Member

@marshallward marshallward commented Jun 2, 2022

This patch fixes two major bugs in the find_index function:

  • Incorrect variable declarations have been fixed

  • The API is now followed, and assumes that it's looking for .true.

Obviously the previous patch had not been tested with the FMS2 infra or
a compatible FMS library. This was has been checked against FMS
2022.02.

I have also added an export statement to the .testing Makefile to allow
for configuration of the FMS branch within the CI test suite.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2022

Codecov Report

Merging #137 (a9e2bce) into dev/gfdl (1ad842c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           dev/gfdl     #137   +/-   ##
=========================================
  Coverage     33.45%   33.45%           
=========================================
  Files           262      262           
  Lines         71385    71385           
  Branches      13323    13323           
=========================================
  Hits          23884    23884           
  Misses        43029    43029           
  Partials       4472     4472           

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 1ad842c...a9e2bce. Read the comment docs.

Comment thread .testing/Makefile Outdated
This patch fixes two major bugs in the find_index function:

* Incorrect variable declarations have been fixed

* The API is now followed, and assumes that it's looking for .true.

Obviously the previous patch had not been tested with the FMS2 infra or
a compatible FMS library.  This was has been checked against FMS
2022.02.
@marshallward
Copy link
Copy Markdown
Member Author

I removed the export FMS_COMMIT since it didn't seem to be doing what I thought it would, and was trying to run the perf test with FMS main, probably with the FMS1 infra.

Copy link
Copy Markdown
Member

@adcroft adcroft left a comment

Choose a reason for hiding this comment

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

Testing at https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/15681 (although we now know the tests don't hit the code in question)

@adcroft adcroft merged commit 4a6a175 into NOAA-GFDL:dev/gfdl Jun 2, 2022
@marshallward marshallward deleted the find_index_bugfix branch June 14, 2022 19:22
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