Skip to content

Commit

Permalink
Update build docs. Default to MPI=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrismarsh committed Jan 16, 2024
1 parent 88da1e8 commit 027b529
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 213 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ endif()


# Options. Turn on with 'cmake -Dmyvarname=ON'.
option(USE_MPI "Enable MPI" OFF )
option(USE_MPI "Enable MPI" ON )
option(USE_OMP "Enable OpenMP" ON )
option(OMP_SAFE_EXCEPTION "Enables safe exception handling from within OMP regions." ON)
option(ENABLE_SAFE_CHECKS "Enable variable map checking. Runtime perf cost. Allows for ensuring a variable is indeed available to be lookedup." ON)
Expand All @@ -38,6 +38,10 @@ if(BUILD_WITH_CONAN)
message(FATAL_ERROR "Building CHM with conan is no longer supported in favour of using spack. Please revise build env accordingly")
endif()

if(NOT USE_MPI)
message(FATAL_ERROR "Building CHM wihtout MPI support is no longer supported")
endif()

option (FORCE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." TRUE)
if (${FORCE_COLORED_OUTPUT})
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
Expand Down
Loading

0 comments on commit 027b529

Please sign in to comment.