'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
--- /dev/null
+#!/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"