]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
add switch in main application for Paraview Headless mode
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 3 Jan 2023 13:49:45 +0000 (14:49 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 3 Jan 2023 13:49:45 +0000 (14:49 +0100)
applications/SALOME-9.10.0-MPI.pyconf
products/compil_scripts/ParaView-5.11.0.sh
products/compil_scripts/ParaView-5.9.0.sh

index 1c11273642f7b8b985bb6f72f7bad799aacffc2b..6641518ecdc243bbe13392bf554f9b155369968b 100644 (file)
@@ -21,6 +21,7 @@ APPLICATION :
            SALOME_USE_64BIT_IDS : '1'
            VTK_SMP_IMPLEMENTATION_TYPE : OpenMP # OpenMP # choose among: sequential / OpenMP / TBB switches
            SALOME_GMSH_HEADERS_STD : '1'
+           #PARAVIEW_HEADLESS_MODE : '1'
         }
         launch :
         {
index 883cf483cde0c082400d4928d800529b27cf023b..80c43da612ac1ad559b0129e9ab86f631aedf01e 100755 (executable)
@@ -39,7 +39,7 @@ CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_CATALYST=ON"
 CMAKE_OPTIONS+=" -Dcatalyst_DIR=${CATALYST_ROOT_DIR}/lib/cmake/catalyst-2.0"
 
 ### spns #20550 - Headless mode
-if [ -n "$PARAVIEW_HEADLESS_MODE" ]; then
+if [ "$PARAVIEW_HEADLESS_MODE" == "1" ]; then
     EGL_FOUND=false
     LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
     case $LINUX_DISTRIBUTION in
index 7956604785efc325284e03ff0afa0f053b5bfc65..a935d83ed6634298c4bc0330eeb9b32ec12dac54 100755 (executable)
@@ -38,7 +38,7 @@ CMAKE_OPTIONS+=" -DUSE_CATALYST:BOOL=ON"
 CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_CATALYST=ON"
 
 ### spns #20550 - Headless mode
-if [ -n "$PARAVIEW_HEADLESS_MODE" ]; then
+if [ "$PARAVIEW_HEADLESS_MODE" ==  "1" ]; then
     EGL_FOUND=false
     LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
     case $LINUX_DISTRIBUTION in