Commit 06dda22b authored by Chris Harris's avatar Chris Harris
Browse files

Fix call to set VTK_MPIRUN_EXE

The sytax for the set call to create the VTK_MPIRUN_EXE cache entry
is incorrect.

Change-Id: I5c1473a8951e1e6ed0170b31ed6f14f71e88671a
parent bb91e547
......@@ -15,7 +15,7 @@ include_directories(${MPI_INCLUDE_PATH})
#
# Use MPI variables defined in the CMake (2.8) FindMPI module.
if(MPIEXEC)
set(VTK_MPIRUN_EXE CACHE FILEPATH ${MPIEXEC} FORCE)
set(VTK_MPIRUN_EXE ${MPIEXEC} CACHE FILEPATH "The full path to mpirun command" FORCE)
set(VTK_MPI_PRENUMPROC_FLAGS ${MPIEXEC_PREFLAGS} CACHE STRING
"These flags will be directly before the number of processess flag (see ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt for more info.)" FORCE)
if(NOT ${MPI_NUMPROC_FLAG})
......
Supports Markdown
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