Skip to content

Commit

Permalink
Merge pull request NCAR#11 from GEOS-ESM/feature/pchakrab/NCAR#10-ren…
Browse files Browse the repository at this point in the history
…ame-fms-in-mapz-driver

Fixes NCAR#10 - Rename GFDL_fms to fms in mapz driver
  • Loading branch information
tclune authored Oct 8, 2019
2 parents 91f9b37 + 7fe228a commit b12da08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model/mapz-driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ set(srcs
main.F90)

if (FV_PRECISION STREQUAL R4)
set(GFDL GFDL_fms_r4)
set(FMS fms_r4)
elseif (FV_PRECISION STREQUAL R4R8) # FV is R4 but FMS is R8
set(GFDL GFDL_fms_r8)
set(FMS fms_r8)
elseif (FV_PRECISION STREQUAL R8)
set(GFDL GFDL_fms_r8)
set(FMS fms_r8)
endif ()

ecbuild_add_executable(
TARGET mapz-driver
SOURCES ${srcs}
LIBS ${GFDL} ${MAPL_BASE})
LIBS ${FMS} ${MAPL_BASE})
target_compile_definitions(mapz-driver PRIVATE MAPL_MODE SPMD TIMING)
target_compile_options(mapz-driver PRIVATE -traceback)
set_target_properties(${this} PROPERTIES Fortran_MODULE_DIRECTORY ${esma_include}/${this})

0 comments on commit b12da08

Please sign in to comment.