]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
remove solverlabGUI from SOLVERLAB
authorChristian Van Wambeke <christian.van-wambeke@cea.fr>
Wed, 22 Nov 2023 08:46:18 +0000 (09:46 +0100)
committerChristian Van Wambeke <christian.van-wambeke@cea.fr>
Wed, 22 Nov 2023 08:46:18 +0000 (09:46 +0100)
products/SOLVERLAB.pyconf
products/compil_scripts/SOLVERLAB.sh [changed mode: 0755->0644]
products/compil_scripts/SOLVERLAB_cv.sh [new file with mode: 0755]

index 48d18edc36d4b349d7a8754fe49e62b1ec0be415..4c43dfa270011061f856cea76ff3f7141bd42d9c 100644 (file)
@@ -28,7 +28,6 @@ default :
         'MEDCOUPLING'
     ]
     build_depend : ["cmake", "swig", "doxygen", "graphviz","cppunit"]
-    opt_depend : ['packagespy']
     # mscgen
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/products/compil_scripts/SOLVERLAB_cv.sh b/products/compil_scripts/SOLVERLAB_cv.sh
new file mode 100755 (executable)
index 0000000..4c343f7
--- /dev/null
@@ -0,0 +1,67 @@
+#!/bin/bash
+
+echo "##########################################################################"
+echo "SOLVERLAB" $VERSION
+echo "##########################################################################"
+
+rm -rf $BUILD_DIR
+mkdir $BUILD_DIR
+cd $BUILD_DIR
+
+
+
+CMAKE_OPTIONS=
+CMAKE_OPTIONS+=" -DPython_ROOT_DIR=${PYTHON_ROOT_DIR}"
+CMAKE_OPTIONS+=" -DPython_EXECUTABLE=${PYTHONBIN}"
+CMAKE_OPTIONS+=" -DCMAKE_INSTALL_PREFIX=${PRODUCT_INSTALL}"
+CMAKE_OPTIONS+=" -DSOLVERLAB_WITH_TRACE=OFF"
+CMAKE_OPTIONS+=" -DSOLVERLAB_WITH_TRACE_COLORED=OFF"
+CMAKE_OPTIONS+=" -DSOLVERLAB_WITH_DOCUMENTATION=OFF"
+
+
+
+    #if [ -n "$SAT_HPC" ]; then
+        CMAKE_OPTIONS+=" -DMPI_ROOT_DIR=${MPI_ROOT_DIR}"
+        CMAKE_OPTIONS+=" -DSOLVERLAB_WITH_MPI=ON"
+        if [ -n "$MPI_ROOT_DIR" ]; then
+            CMAKE_OPTIONS+=" -DCMAKE_CXX_COMPILER:STRING=${MPI_CXX_COMPILER}"
+            CMAKE_OPTIONS+=" -DCMAKE_C_COMPILER:STRING=${MPI_C_COMPILER}"
+        fi
+        if [ -n "$MPI4PY_ROOT_DIR" ]; then
+            CMAKE_OPTIONS+=" -DMPI4PY_ROOT_DIR:PATH=${MPI4PY_ROOT_DIR}"
+        else
+            echo "WARNING: mpi4py environment variable not detected"
+            CMAKE_OPTIONS+=" -DMPI4PY_ROOT_DIR:PATH=/home/catA/wambeke/.local/lib/python3.9/site-packages"
+            # "/export/home/catA/wambeke/SALOME_9_11/SALOME-9.11.0-native-FD34/INSTALL/ParaView/lib/python3.9/site-packages/mpi4py"
+        fi
+    #fi
+
+export MPI4PY_ROOT_DIR="/home/catA/wambeke/.local/lib/python3.9/site-packages"
+
+echo
+echo "*** cmake "$CMAKE_OPTIONS
+cmake $CMAKE_OPTIONS $SOURCE_DIR
+if [ $? -ne 0 ]; then
+    echo "ERROR on cmake"
+    exit 1
+fi
+
+
+echo
+echo "*** make" $MAKE_OPTIONS
+make $MAKE_OPTIONS
+if [ $? -ne 0 ]; then
+    echo "ERROR on make"
+    exit 2
+fi
+
+echo
+echo "*** make doc install"
+make docCDMATH docCoreFlows install
+if [ $? -ne 0 ]; then
+    echo "ERROR on make install"
+    exit 3
+fi
+
+echo
+echo "########## END"