-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fail on MOM6 test "test-macos-stencil" for recent code change to MOM_coupler_types.F90. #5
Comments
I tried to replicate in 9af8a78, but I got a very different error in the generic tracers:
I have a feeling that you guys have a patch somewhere to get around this one. I then tried 06501d1 and was able to build locally. Some of the tests did fail, but we can talk about that later. Is this the one which fails on the GitHub CI? The GitHub Actions CI is set to use FMS 2023.03 with the FMS2 API. I noticed that you updated the FMS2 infra but not the FMS1 infra. But I also see a lot of references to 2019.01.03, which was usually the version we used to test the FMS1 infra. Could there be an FMS1/FMS2 mixup here? |
Yes - thats in our generic tracers. See NOAA-GFDL/ocean_BGC@main...ACCESS-NRI:GFDL-generic-tracers:main
Thanks @marshallward - sounds like that is at least part of the problem. The MacOS tests use FMS1 which maybe hasn't been implemented for the changes to generic tracers. |
Test to see if this speculation from [Marshall fixes the problem](#5 (comment))
Test to see if this speculation from [Marshall fixes the problem](#5 (comment))
Thanks @marshallward, @anton-seaice.
Yes,
Good thought! That is the problem. Swapping over FMS to So the question then... I've readjusted the MacOS test to use a different FMS version. Is that a problem? In other words, do we need to keep FMS |
It looks like it was set intentionally, see NOAA-GFDL#642 Maybe it has be resolved in the interim ? Saying that, I think the real question is does the generic tracers implementation need to work with FMS1 to get merged into MOM-ocean ? (I vaguely recall @dougiesquire mentioning this at some point, I feel like we didn't think it was a priority). |
I had forgotten about that! We might be able to revert it back to an FMS2-compatible version, if the underlying problem has been fixed in GCC 14.2. However, we do expect The implementation does not need to be fully featured. It only needs to be enough to ensure that the code compiles and legacy FMS1-based tests continue to run. It might be OK to add a "not yet implemented" Is it important to continue supporting the FMS1 API? Well, that is a discussion for the Monday dev call, and ACCESS is welcome to make its case 😁. |
Note I've fixed these issues in the PRcandidate-202502-gtracer-nuopc branch. I never bothered to change the FMS1 API in our build using patch files, but our |
Context: We’ve got a few MOM6 changes that we are looking to ‘release internally’ soon. Some of the changes will likely be a mom-ocean PR. Currently, some of the changes fail on the MOM6 tests (we are however able to compile this on our system*). @dougiesquire's one for allowing generic tracers in NUOPC cap is failing (code changes to our fork here; failing result [1]).
After some forensics (i.e. brute force), there are two relevant files:
Basically, 1 above imports selected variables from here (coupler_types.F90 FMS library hash f61416f; further details [2]), and then 2 uses imports from 1. In many cases this works fine but for some reason, some variables do not work.
tl;dr
As a distilled example, we have these two cases where A passes and B fails:
A: passes because “ind_kw” is imported via coupler_types.F90;
B: fails [3] because “ind_kw” is imported via MOM_couplertype_infra.F90.
(Thanks to @micaeljtoliveira for the help to sort this out!)
@marshallward / all, any ideas?
*probably due to a different FMS version/build environment.
[1]
[2]
Looking at ‘Run /./.github/actions/testing-setup’ > ‘Compile FMS library’ >
HEAD is now at f61416fe Merge pull request #529 from NOAA-GFDL/2019.01.03-release-in-progress
, i.e., HERE.[3]
The text was updated successfully, but these errors were encountered: