ESCOMP / CAM-SIMA

Community Atmosphere Model - System for Integrated Modeling of the Atmosphere
3 stars 11 forks source link

Integrate MPAS build infrastructure with CIME #245

Closed kuanchihwang closed 6 months ago

kuanchihwang commented 7 months ago

This PR brings integration of MPAS build infrastructure with CIME. If MPAS dynamical core is selected (determined from model grid specifications), it will be built as a part of the usual CIME build process (i.e., case.build).

The approach taken here is to reuse upstream MPAS build infrastructure as much as possible. This way, it would be easier to keep in sync with future upstream changes. However, by default, MPAS is built as a standalone executable. A supplemental Makefile is therefore needed to enable MPAS to be built as a static library, which is then linked into the host model executable.

This PR should be considered after #244.

nusbaume commented 6 months ago

@kuanchihwang just letting you know that I'll make sure to review this PR once PR #244 has been merged (as you suggested above). Thanks!