From: Nabil Ghodbane Date: Tue, 3 Jan 2023 13:49:45 +0000 (+0100) Subject: add switch in main application for Paraview Headless mode X-Git-Tag: V9_11_0~130 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7591f9d2dba3db40fed90e8b9f8437dde5fde517;p=tools%2Fsat_salome.git add switch in main application for Paraview Headless mode --- diff --git a/applications/SALOME-9.10.0-MPI.pyconf b/applications/SALOME-9.10.0-MPI.pyconf index 1c11273..6641518 100644 --- a/applications/SALOME-9.10.0-MPI.pyconf +++ b/applications/SALOME-9.10.0-MPI.pyconf @@ -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 : { diff --git a/products/compil_scripts/ParaView-5.11.0.sh b/products/compil_scripts/ParaView-5.11.0.sh index 883cf48..80c43da 100755 --- a/products/compil_scripts/ParaView-5.11.0.sh +++ b/products/compil_scripts/ParaView-5.11.0.sh @@ -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 diff --git a/products/compil_scripts/ParaView-5.9.0.sh b/products/compil_scripts/ParaView-5.9.0.sh index 7956604..a935d83 100755 --- a/products/compil_scripts/ParaView-5.9.0.sh +++ b/products/compil_scripts/ParaView-5.9.0.sh @@ -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