]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Fix
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 3 Feb 2022 10:19:42 +0000 (11:19 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 3 Feb 2022 10:19:42 +0000 (11:19 +0100)
products/compil_scripts/ParaView-5.9.0.sh

index bbea36a92de65a3e981afd03ef44e2dddd9ba676..22e9b9cc2d76a6e96a0a3820e04e98eb4846ba76 100755 (executable)
@@ -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...."