From aca390a543deb1cc5c372688160bdd26b6e9882d Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 3 Feb 2022 11:19:42 +0100 Subject: [PATCH] Fix --- products/compil_scripts/ParaView-5.9.0.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/products/compil_scripts/ParaView-5.9.0.sh b/products/compil_scripts/ParaView-5.9.0.sh index bbea36a..22e9b9c 100755 --- a/products/compil_scripts/ParaView-5.9.0.sh +++ b/products/compil_scripts/ParaView-5.9.0.sh @@ -36,7 +36,7 @@ then EGL_FOUND=false LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION" case $LINUX_DISTRIBUTION in - CO6|CO7|FD26|FD30|FD32) + CO6|CO7|FD26|FD30|FD32|FD34) if [ -f /usr/include/EGL/egl.h ] && [ -f /usr/lib64/libEGL.so ] && [ -f /usr/lib64/libOpenGL.so ] then EGL_FOUND=true @@ -118,10 +118,10 @@ then CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_USE_MPI:BOOL=ON" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_CXX_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpic++" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_C_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpicc" - CMAKE_OPTIONS="${CMAKE_OPTIONS} -DMPI_C_FOUND=${MPI_ROOT_DIR}/lib/libmpi.so" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP -DVTKm_ENABLE_OPENMP=ON" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_ENABLE_VTK_FiltersParallelMPI=YES" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_ENABLE_VTK_ParallelMPI=YES" + CMAKE_OPTIONS="${CMAKE_OPTIONS} -DMPI_C_FOUND=${MPI_C_FOUND}" elif [ -n "$VTK_SMP_IMPLEMENTATION_TYPE" ] then echo "WARNING: VTK_SMP_IMPLEMENTATION_TYPE environment variable was found...." -- 2.39.2