fempar/fempar:gnu-debug_p4est-parallel
$ singularity pull shub://fempar/fempar:gnu-debug_p4est-parallel
Singularity Recipe
BootStrap: docker
From: fempar/fempar-env:gnu-debug_p4est-parallel
%setup
%post
#------------------
# REQUERIMENTS
#------------------
mkdir -p /mnt /scratch /opt/fempar
#------------------
# USER INSTALL
#------------------
# ... Install here your software
#------------------
# CLEAN APT files
#------------------
apt-get clean
rm -rf /var/lib/apt/lists/*
rm -rf /var/tmp/*
%runscript
echo "Arguments received: $*"
exec "$@"
%test
cd /opt/fempar
ctest -j8 -V -E par_test
%help
echo "------------------------------------------------"
echo "| Finite Element Multiphysics PARallel solvers |"
echo "| http://fempar.org/ |"
echo "------------------------------------------------"
%appinstall fempar
. /opt/intel/mkl/bin/mklvars.sh intel64
PACKAGE=fempar
VERSION=experimental
URL="https://gitlab.com/$PACKAGE/$PACKAGE.git"
ROOT_DIR=$(mktemp -p /tmp -d)
INSTALL_ROOT=/opt
SOURCES_DIR=$ROOT_DIR/$PACKAGE-$VERSION
BUILD_DIR=$INSTALL_ROOT/$PACKAGE
THIRDPARTY_BUILD_DIR=$INSTALL_ROOT/$PACKAGE-thirdparty
FORTRAN_EXTRA_FLAGS="-DFORTRAN_EXTRA_FLAGS=-fimplicit-none"
git clone --single-branch --branch $VERSION --recursive $URL $SOURCES_DIR
mkdir -p $BUILD_DIR $THIRDPARTY_BUILD_DIR
################################################
# Build fempar thirdparty libraries
################################################
cd $THIRDPARTY_BUILD_DIR
cmake -DCMAKE_BUILD_TYPE=DEBUG $FORTRAN_EXTRA_FLAGS $SOURCES_DIR/ThirdParty
cmake --build .
################################################
# Build fempar library
################################################
cd $BUILD_DIR
cmake -DCMAKE_BUILD_TYPE=DEBUG -DFEMPAR_ENABLE_TESTS=ON -DFEMPAR_THIRDPARTY_DIR=$THIRDPARTY_BUILD_DIR -DMPIEXEC_PREFLAGS="--allow-run-as-root -oversubscribe" $SOURCES_DIR
cmake --build .
################################################
# Clean sources
################################################
rm -rf $SOURCES_DIR
%appenv fempar
FEMPAR_DIR=/opt/fempar
export FEMPAR_DIR
%apphelp fempar
echo "------------------------------------------------"
echo "| Finite Element Multiphysics PARallel solvers |"
echo "| http://fempar.org/ |"
echo "| ------------------------ |"
echo "| FEMPAR_DIR = /opt/fempar |"
echo "| ENABLED_LIBS = MKL, BLAS, LAPACK, QHULL, |"
echo "| HDF5, P4EST (parallel) |"
echo "------------------------------------------------"
Collection
- Name: fempar/fempar
- License: GNU General Public License v3.0
View on Datalad
Metrics
key | value |
---|---|
id | /containers/fempar-fempar-gnu-debug_p4est-parallel |
collection name | fempar/fempar |
branch | experimental |
tag | gnu-debug_p4est-parallel |
commit | 5b111a2b45eca9cbf1bfe541dc429b003b1b1186 |
version (container hash) | 93df048ac367103a39d72ff8de974ba9 |
build date | 2019-05-24T15:49:13.421Z |
size (MB) | 5132 |
size (bytes) | 1581273119 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.