Skip to content
Snippets Groups Projects
Commit 8df340fe authored by Ben Boeckel's avatar Ben Boeckel
Browse files

paraview: enable mpi4py if MPI and Python are available

Fixes #87
parent 6cc85b76
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,11 @@ if (osmesa_enabled OR egl_enabled)
set(paraview_visit_gmv OFF)
endif ()
set(paraview_mpi4py OFF)
if (python_enabled AND mpi_enabled)
set(paraview_mpi4py ON)
endif ()
option(PARAVIEW_BUILD_WEB_DOCUMENTATION "Build documentation for the web" OFF)
set(paraview_all_plugins
......@@ -176,6 +181,7 @@ superbuild_add_project(paraview
-DVTK_USE_SYSTEM_ZLIB:BOOL=${zlib_enabled}
-DVTK_USE_SYSTEM_EXPAT:BOOL=${expat_enabled}
-DModule_vtkIOADIOS:BOOL=${adios_enabled}
-DModule_vtkmpi4py:BOOL=${paraview_mpi4py}
-DVTK_SMP_IMPLEMENTATION_TYPE:STRING=${paraview_smp_backend}
-DVTK_LEGACY_REMOVE:BOOL=ON
-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN:BOOL=${osmesa_enabled}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment