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

Nuopc api test #1292

Merged
merged 6 commits into from
Jan 19, 2021
Merged

Nuopc api test #1292

merged 6 commits into from
Jan 19, 2021

Conversation

adcroft
Copy link
Collaborator

@adcroft adcroft commented Jan 15, 2021

  • Adds a new workflow to GH that compiles three coupled driver codes with MOM6 to check we have not broken the API. This does not create an executable (which would require installing a lot of software for each of the drivers).
  • Adds --with-driver=<path_to_driver> and new targets (e.g. check_mom6_api_nuopc, check_mom6_api_coupled) to .testing/Makefile to facilitate the above.

- Allows us to check that we have not broken the ability to compile
  with the NUOPC, MCT or coupled_driver modules.
- This is not a complete compile but only upto the last module that
  does not need anything other than MOM6 objects.
- Following suggestion from @marshallward I've implemented an option
  to select the driver code at the configure stage  (changes to
  configure.ac)
- This allows the target build/coupled/ocean_model_MOM.o to be built
  using the .testing ac tools.
- Checks that MOM6 can be compiled with the various coupled drivers.
- We spent 1 minute build symmetric unnecessarily when checking the coupled
  APIs
@codecov-io
Copy link

Codecov Report

Merging #1292 (eb0c03a) into dev/gfdl (e68d31a) will decrease coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1292      +/-   ##
============================================
- Coverage     45.88%   45.82%   -0.07%     
============================================
  Files           225      227       +2     
  Lines         71396    71552     +156     
============================================
+ Hits          32763    32791      +28     
- Misses        38633    38761     +128     
Impacted Files Coverage Δ
src/framework/MOM_transform_FMS.F90 27.90% <0.00%> (-13.04%) ⬇️
src/framework/MOM_domains.F90 39.74% <0.00%> (-7.07%) ⬇️
src/framework/MOM_checksums.F90 72.01% <0.00%> (-1.14%) ⬇️
src/core/MOM_grid.F90 78.22% <0.00%> (-0.09%) ⬇️
src/initialization/MOM_grid_initialize.F90 92.75% <0.00%> (-0.05%) ⬇️
src/core/MOM_open_boundary.F90 30.76% <0.00%> (ø)
src/core/MOM_dynamics_unsplit.F90 91.76% <0.00%> (ø)
src/diagnostics/MOM_sum_output.F90 63.88% <0.00%> (ø)
src/tracer/MOM_tracer_diabatic.F90 38.09% <0.00%> (ø)
src/core/MOM_dynamics_split_RK2.F90 88.94% <0.00%> (ø)
... and 5 more

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 e68d31a...eb0c03a. Read the comment docs.

@Hallberg-NOAA
Copy link
Collaborator

To the surprise of no one, this PR passed the MOM6 pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/11882.

Copy link
Collaborator

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

This all looks good to me, and it has passed all of our tests.

@Hallberg-NOAA Hallberg-NOAA merged commit da8e4cb into mom-ocean:dev/gfdl Jan 19, 2021
@adcroft adcroft deleted the nuopc-api-test branch March 2, 2021 19:50
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.

3 participants