Commit ecc592df authored by Dan Lipsa's avatar Dan Lipsa
Browse files

Optionally use mpiexec to run serial tests.

parent 29732aee
......@@ -96,6 +96,9 @@ set(PARAVIEW_USE_EXTERNAL_VTK OFF)
endif ()
option(PARAVIEW_USE_MPI "Enable MPI support for parallel computing" OFF)
option(PARAVIEW_SERIAL_TESTS_USE_MPIEXEC
"Used on HPC to run serial tests on compute nodes" OFF)
mark_as_advanced(PARAVIEW_SERIAL_TESTS_USE_MPIEXEC)
option(PARAVIEW_USE_CUDA "Support CUDA compilation" OFF)
option(PARAVIEW_USE_VTKM "Enable VTK-m accelerated algorithms" "${PARAVIEW_ENABLE_NONESSENTIAL}")
if (UNIX AND NOT APPLE)
......
......@@ -408,6 +408,8 @@ else ()
# Forward MPI option to VTK.
set(VTK_USE_MPI "${PARAVIEW_USE_MPI}")
set(VTK_SERIAL_TESTS_USE_MPIEXEC "${PARAVIEW_SERIAL_TESTS_USE_MPIEXEC}")
# Forward CUDA option to VTK
set(VTK_USE_CUDA "${PARAVIEW_USE_CUDA}")
# Forward Memkind option to VTK.
......
......@@ -439,6 +439,9 @@ More advanced options:
with ParaView should be OK though). If unset, the install tree will include
hints for the location of its dependencies which may include
build-machine-specific paths in the install tree.
* `PARAVIEW_SERIAL_TESTS_USE_MPIEXEC` (default `OFF`): Used on HPC to run
serial tests on compute nodes. If set, it prefixes serial tests with
"${MPIEXEC_EXECUTABLE}" "${MPIEXEC_NUMPROC_FLAG}" "1" ${MPIEXEC_PREFLAGS}
<!--
These variables should be documented once they're effective again.
......
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