Skip to content

Conversation

@marshallward
Copy link
Member

The FMS infra test was incorrectly set before the Fortran compiler is declared, and before any FMS library tests. This caused the test to run with a C compiler, and before the library had even been verified to exist.

The ice-ocean model ran this macro before and after the FMS testing. It seems to have covered up the incorrect macro.

The AM2-coupled model only ran this macro before Fortran and FMS setup. It never correctly tested its FMS infra, and errors could follow.

This patch cleans up the tests so that each model runs the macro after FMS macro testing.

The FMS infra test was incorrectly set before the Fortran compiler is
declared, and before any FMS library tests.  This caused the test to run
with a C compiler, and before the library had even been verified to
exist.

The ice-ocean model ran this macro before and after the FMS testing.  It
seems to have covered up the incorrect macro.

The AM2-coupled model only ran this macro before Fortran and FMS setup.
It never correctly tested its FMS infra, and errors could follow.

This patch cleans up the tests so that each model runs the macro after
FMS macro testing.
@marshallward marshallward requested a review from adcroft May 29, 2025 17:31
@adcroft adcroft merged commit 1ba30a5 into NOAA-GFDL:dev/gfdl May 29, 2025
2 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