NOAA-GFDL / MOM6-examples

Example configurations for MOM6 and SIS2
Other
86 stars 148 forks source link

Update Makefiles to default to FMS2; MOM6 update #441

Closed marshallward closed 7 months ago

marshallward commented 7 months ago

The Makefiles for each model have been updated to include a variable to the FMS source directory (FMS_CODEBASE) which is now passed to the FMS Makefile.

FMS_CODEBASE defaults to the FMS2 source, in order to align with autoconf changes in MOM6 which now default to FMS2 API. The AM2-based models default to FMS1, with separate FMS1-based build directories for FMS, icebergs, and ice_param.

The FMS1 source and FMS symbolic link have been preserved, so no exisiting mkmf-based builds should be affected by this change.

The MOM6 submodule has also been updated, which includes the commit which updates the default autoconf FMS API (f9da67331).

Updated commits:

marshallward commented 7 months ago

This looks safe, and does not touch anything used by GH Actions or regression testing (aside from the MOM6 src update to dev/gfdl) so I am going to merge this.