NOAA-GFDL/GFDL_atmos_cubed_sphere

dev/emc branch does not build without CCPP as a pre-requisite.

Closed this issue · 5 comments

Describe the bug
The removal (or replacement) of IPD with CCPP introduced an explicit dependency on CCPP of the dynamical core in the dev/emc branch. #ifdef CCPP was removed.
As a result, the dycore now needs to be provided a path to the compiled fortran modules from CCPP.
This change no longer allows the DA development in JEDI to use dev/emc branch for dry dynamical core testing.

The #ifdef protections to CCPP need to be reinstated to allow the use of the dynamical core without CCPP.

Expected behavior
Allow the dynamical core to be built without CCPP.

Tagging @climbfuji

Another option is to allow building a stub CCPP that has no physics, just the lightweight framework with an empty stub suite/scheme. I played with this when @aerorahul reported the issue to me first, and it worked just fine. This would also align better with the idea of having an abstract interface to the fast physics with different backends (GFDL physics, CCPP physics, no/stub physics) that the GFDL developers and I have been talking about in the recent months.

I created a PR to compile dev/emc without CCPP dependencies, only FMS and netCDF (because FMS needs it) are required:#231

That PR triggered a discussion, and @lharris4 suggested to use the new "intermediate physics" layer, available in the main branch, to accomplish the same. See #231 (comment) and following comments.

@climbfuji - With all of the current work in issue #231 and here, I believe this can be closed. If not, feel free to reopen

Ok with me, thanks!