MPAS-Dev / MPAS-Model

Repository for MPAS models and shared framework releases.
238 stars 317 forks source link

Add missing physics_mmm module search path in atmosphere Makefiles #1096

Closed mgduda closed 1 year ago

mgduda commented 1 year ago

This PR corrects compilation issues with certain Fortran compilers by adding the physics_mmm directory to the module search path in two atmosphere core Makefiles. Some compilers (e.g., nvfortran) require the paths of modules that are used indirectly to be present in the module search path provided with the -I... option. Accordingly, this PR adds -I./physics/physics_mmm to the set of compiler flags in src/core_atmosphere/Makefile and -I../physics/physics_mmm to the set of compiler flags in src/core_atmosphere/dynamics/Makefile to fix compilation errors.