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

Cmake build #2

Open
wants to merge 32 commits into
base: dev/access
Choose a base branch
from
Open

Cmake build #2

wants to merge 32 commits into from

Conversation

minghangli-uni
Copy link

Open this PR to make some minor tweaks visible.

@minghangli-uni minghangli-uni self-assigned this Dec 9, 2024
Copy link

codecov bot commented Dec 9, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

minghangli-uni and others added 13 commits December 9, 2024 15:30
The NUOPC cap appears to have been written from the MCT cap, which does not include changes needed to successfully register restarts for FMS coupler type. See NCAR/MOM6@73304eb
These changes provide an initial implementation to allow use of coupled generic tracers with NUOPC-coupled MOM6. This is a bit of a hack as coupling in generic tracers effectively assumes the use of FMScoupler. Broadly, the changes to the NUOPC cap in this commit do the following:

- Initialisation phase: Initialise the FMS coupler type data structures used by generic tracers for handling surface fluxes. Register with NUOPC the additional import fields required by the generic tracer package being used. Export of additional fields is not currently handled.
- Advance phase: Populate the relevant FMS coupler type data structure with fields received from the atmosphere. Calculate the surface fluxes using a modified version of the routine used by FMScoupler.

Restart read/write for the FMS coupler types is also handled. Fields in the FMS coupler types can be overridden using the data_table
…te_from_coupler routine

This allows virtual flux corrections in generic tracer packages

Choose a reason for hiding this comment

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

This file isn't used ( I hope)


find_dependency(fms COMPONENTS R8 REQUIRED)
find_dependency(NetCDF REQUIRED Fortran)

Choose a reason for hiding this comment

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

Suggested change
if (NOT NetCDF_PARALLEL)
message(FATAL_ERROR "NetCDF does not have parallel I/O support!")
endif()

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