Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ed_sphere into feature/ccpp_data_thrd_cnt
  • Loading branch information
climbfuji committed May 20, 2024
2 parents 9d8a789 + cc8afe6 commit 630022f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ option(GFS_TYPES "Enable compiler definition -DGFS_TYPES" OFF)
option(use_WRTCOMP "Enable compiler definition -Duse_WRTCOMP" OFF)
option(INTERNAL_FILE_NML "Enable compiler definition -DINTERNAL_FILE_NML" ON)
option(ENABLE_QUAD_PRECISION "Enable compiler definition -DENABLE_QUAD_PRECISION" ON)
option(HYDRO "Enable compiler definition -DHYDRO" OFF)

find_package(MPI REQUIRED)
if(OPENMP)
Expand Down Expand Up @@ -115,11 +116,13 @@ list(APPEND driver_srcs
list(APPEND fv3_srcs ${model_srcs}
${tools_srcs})

list(APPEND fv3_defs SPMD
MOIST_CAPPA
USE_COND)
list(APPEND fv3_defs SPMD)

# Additional (optional) compiler definitions
if (NOT HYDRO)
list(APPEND fv3_defs USE_COND MOIST_CAPPA)
endif()

if(DEBUG)
list(APPEND fv3_defs DEBUG)
endif()
Expand Down

0 comments on commit 630022f

Please sign in to comment.