Commit 6763a4b9 authored by BRAMAS Berenger's avatar BRAMAS Berenger

update cmake for mpi

parent b55bd5ef
...@@ -12,6 +12,7 @@ if( ScalFMM_USE_MPI ) ...@@ -12,6 +12,7 @@ if( ScalFMM_USE_MPI )
include(CMakeForceCompiler) include(CMakeForceCompiler)
CMAKE_FORCE_C_COMPILER(mpicc "MPI C Compiler") CMAKE_FORCE_C_COMPILER(mpicc "MPI C Compiler")
CMAKE_FORCE_CXX_COMPILER(mpicxx "MPI C++ Compiler") CMAKE_FORCE_CXX_COMPILER(mpicxx "MPI C++ Compiler")
set(ScalFMM_USE_MPI ON CACHE BOOL "ScalFmm use MPI")
else() else()
MESSAGE(STATUS "Remove CMake cache and run cmake .. -DScalFMM_USE_MPI=ON to enable MPI" ) MESSAGE(STATUS "Remove CMake cache and run cmake .. -DScalFMM_USE_MPI=ON to enable MPI" )
endif(ScalFMM_USE_MPI) endif(ScalFMM_USE_MPI)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment