Skip to content

Commit

Permalink
add cmake option for neigh collectives
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Moraru committed Sep 25, 2024
1 parent 44944a3 commit 37213a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# the public, perform publicly and display publicly, and to permit others to do so.
#=========================================================================================

# set(WITH_NEIGHBORHOOD_COLLECTIVES OFF CACHE BOOL "Build with Neighborhood collectives")

# Configure config.hpp
set(PROBLEM_GENERATOR "<not-implemented>") # TODO: Figure out what to put here
if (ENABLE_MPI)
Expand Down Expand Up @@ -320,6 +322,10 @@ if (PARTHENON_ENABLE_ASCENT)
endif()
endif()

if(WITH_NEIGHBORHOOD_COLLECTIVES)
ADD_DEFINITIONS(-DUSE_NEIGHBORHOOD_COLLECTIVES)
endif()

lint_target(parthenon)

target_include_directories(parthenon PUBLIC
Expand Down

0 comments on commit 37213a9

Please sign in to comment.