Skip to content

Commit 0a03b34

Browse files
committed
build: Enable pfasst_WITH_MPI by default.
1 parent 0100b24 commit 0a03b34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ option(pfasst_BUILD_EXAMPLES "Build example programs."
1919
CMAKE_DEPENDENT_OPTION(pfasst_INSTALL_EXAMPLES "Install example programs." ON
2020
"pfasst_BUILD_EXAMPLES" OFF)
2121
option(pfasst_BUILD_TESTS "Build test suite for PFASST." ON )
22-
option(pfasst_WITH_MPI "Build with MPI enabled." OFF)
22+
option(pfasst_WITH_MPI "Build with MPI enabled." ON )
2323
option(pfasst_WITH_GCC_PROF "Enable excessive debugging & profiling output with GCC." OFF)
2424
option(pfasst_DEFAULT_RAND_SEED "Using a hardcoded random seed" ON )
2525

2626
if(${pfasst_WITH_MPI})
2727
find_package(MPI REQUIRED)
28-
if(NOT "${CMAKE_CXX_COMPILER}" STREQUAL "${MPI_CXX_COMPILER}" OR
28+
if(NOT "${CMAKE_CXX_COMPILER}" STREQUAL "${MPI_CXX_COMPILER}" OR
2929
NOT "${CMAKE_C_COMPILER}" STREQUAL "${MPI_C_COMPILER}")
3030
message(STATUS "C++ Compiler: ${CMAKE_CXX_COMPILER}")
3131
message(STATUS "MPI C++ Compiler Wrapper: ${MPI_CXX_COMPILER}")

0 commit comments

Comments
 (0)