Skip to content

Conversation

@theresa-cordero
Copy link

@theresa-cordero theresa-cordero commented Apr 21, 2025

I recommend this PR not be merged until after ocean_BGC PR 37 is merged.

This PR is a follow up to PR #790

This PR is the final step in the transition to have the interface between MOM6 and generic tracers occur within the generic tracer code. This will allow each generic tracer package to specify the needed input from the MOM6 types and will not require a common interface across a diverse set of generic tracer packages.

This PR cleans up the config_src/external/GFDL_ocean_BGC folder by changing MOM_generic_tracer.F90 into a stub. By removing the content from the functions and the routines in MOM_generic_tracer.F90, the other modules FMS_coupler_util.F90, generic_tracer.F90 and generic_tracer_utils.F90

@yichengt900 @nikizadehgfdl

@theresa-cordero
Copy link
Author

ocean_BGC PR 37 has been merged.

Copy link
Member

@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.

I have examined these changes, I think that we are ready to merge this revised commit into dev/gfdl.

Theresa Cordero and others added 4 commits July 11, 2025 08:23
This PR removes the content from the functions and routines in MOM_generic_tracer to turn it into a stub.
In addition, the other modules in config_src/external/GFDL_ocean_BGC are removed since they are no longer called anywhere.
Remove unneeded use statements.
A fatal error has been added to register_MOM_generic_tracer which
will occur if the stub version of MOM_generic_tracer has been
compiled but use_generic_tracer is true.
@Hallberg-NOAA
Copy link
Member

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

@Hallberg-NOAA Hallberg-NOAA merged commit 2208dd7 into NOAA-GFDL:dev/gfdl Jul 11, 2025
52 checks passed
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