The OOFEM Salome module is a plug-in module into Salome platform, which is established open-source software that provides a generic platform for Pre- and Post-Processing for numerical simulations. The OOFEM module adds a support for OOFEM:
In this installation tutorial, the SALOME_MODULE_DIR variable is a path to Salome module directory
export SALOME_MODULE_DIR=$PWD
source env_build.sh
export OOFEM_ROOT_DIR=$SALOME_MODULE_DIR/OOFEM/
cd OOFEM_BUILD
cmake ../OOFEM_SRC -DCMAKE_INSTALL_PREFIX=${OOFEM_ROOT_DIR} sudo make install
$SALOME_MODULE_DIR/KERNEL_7.4.0/bin/salome/runSalome -mGEOM,SMESH,OOFEM
export OOFEM_ROOT_DIR=$SALOME_MODULE_DIR/OOFEM/ $SALOME_MODULE_DIR/KERNEL_7.4.0/bin/salome/runSalome -mGEOM,SMESH,OOFEM