Skip to content

API changes needed to run dev/gpu#14

Merged
mnlevy1981 merged 8 commits into
TURBO-ESM:mainfrom
mnlevy1981:API_updates_from_devgpu2
May 19, 2026
Merged

API changes needed to run dev/gpu#14
mnlevy1981 merged 8 commits into
TURBO-ESM:mainfrom
mnlevy1981:API_updates_from_devgpu2

Conversation

@mnlevy1981
Copy link
Copy Markdown
Contributor

Description
Marshall and Ed changed the API of some FMS routines; I used git cherry-pick to bring them into TURBO's version of FMS, and then used patch to bring the same diffs onto TIM.

This PR supercedes #12

How Has This Been Tested?
I ran the version of MOM6 from TURBO-ESM/MOM6#20 with this version of TIM and verified that the double_gyre test case is bit-for-bit with what is currently available in turbo-stack. I also used turbo-stack to run the TIM infrastructure layer unit tests, and they all passed.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Marshall and Ed changed the API of some FMS routines; I used git cherry-pick to
bring them into TURBO's version of FMS, and then used patch to bring the same
diffs onto TIM.
@mnlevy1981 mnlevy1981 mentioned this pull request May 6, 2026
4 tasks
@mnlevy1981
Copy link
Copy Markdown
Contributor Author

Did we base our CI testing on what GFDL does with FMS? Because NOAA-GFDL/FMS#1849 was merged in about a month ago and updates their testing to a much more recent gcc stack; I wonder if we should do something similar (either in this PR, or in a separate PR and I can wait for it to hit main to continue this PR). Probably useful for TURBO-ESM/FMS#4 as well...

mnlevy1981 added 7 commits May 8, 2026 12:59
Following the lead from NOAA-GFDL/FMS, switch to a gcc 15.1.0 container
Configure in this REPO was reporting

checking for netcdf.h... yes
checking for library containing nc_create... -lnetcdf
configure: error: NetCDF must be built with HDF5.
checking if netCDF was built with HDF5... no
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

While GFDL CI says

checking for netcdf.h... yes
checking for library containing nc_create... -lnetcdf
checking if netCDF was built with HDF5... yes
checking for ncdump... yes

I'm not sure why configure can't find HDF5 on our end
exclude should be in line with conf-flag and input-flag, not matrix
I'm really bad at YAMLing
Also switched to consistent variable names with the GFDL yaml file to help with
the diffs; I don't see how any of these changes will help netCDF find HDF5
We only want to test with CMake, since that is how we build the model
@mnlevy1981
Copy link
Copy Markdown
Contributor Author

Note this is same Fortran changes as TURBO-ESM/FMS#5

Copy link
Copy Markdown
Contributor

@johnmauff johnmauff left a comment

Choose a reason for hiding this comment

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

@mnlevy1981, thanks for the PR. As it states in your comments, It looks like the same set of fortran modifications as in FMS 5.

@mnlevy1981
Copy link
Copy Markdown
Contributor Author

@alperaltuntas Are you okay with these changes? This is the last in the group with TURBO-ESM/MOM6#20 and TURBO-ESM/FMS#5 to let us use the dev/gpu changes in MOM6

@mnlevy1981 mnlevy1981 merged commit 1647f85 into TURBO-ESM:main May 19, 2026
6 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.

3 participants