bench-nmad+pioman+marcel.conf
# example configuration for PadicoTM+nmad+pioman+marcel
# usage:
# ./pm2-build-packages --prefix=${HOME}/soft/x86_64 ./example-nmad+pioman.conf
# common options for every packages
common_options="--disable-debug --enable-optimize"
# parallel build
cmd export MAKEFLAGS="-j 8"
# preserve timestamps upon install
cmd export INSTALL="/usr/bin/install -p"
#pkg ${HOME}/soft/Padico/opt/libexpat.org/expat-2.0.0.tar.gz --disable-static
#cmd export EXPAT_ROOT=${prefix}
pkg tbx
pkg marcel --enable-keys --enable-maintainer_mode --disable-static
# quick & dirty fix for libpmarcel installed at the wrong location
cmd ( cd ${prefix}/lib ; ln -s marcel/libpmarcel.* .)
pkg Puk --disable-trace
pkg pioman --with-marcel
pkg PukABI
pkg PadicoTM --with-marcel --with-pioman
pkg nmad --with-pioman --enable-mpi
pkg mpibenchmark
cmd make -C ${prefix}/build/nmad/ examples