sit/packages/performance/extrae/extrae-2.2.0

49 lines
960 B
Text
Raw Normal View History

2011-11-30 09:54:07 +00:00
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
#
CATEGORY="performance"
PACKAGE="extrae"
VERSION="2.2.0"
URL="http://www.bsc.es"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A=${PACKAGE}-${VERSION}.tar.gz
P=${PACKAGE}-${VERSION}
enable_papi=${enable_papi:=1}
MAKEOPTS="-j1"
# Other interesting configure options:
#--disable-doc \
CONFIGURE_OPTS="\
--with-mpi=$MPI_DIR \
--without-pacx \
--enable-sampling \
--enable-posix-clock \
2011-11-30 09:54:07 +00:00
--without-unwind \
--without-dyninst \
"
# use PAPI
if [ $enable_papi != 0 ] ; then
module load system/perfctr
module load system/papi
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
CONFIGURE_OPTS="$CONFIGURE_OPTS --with-papi=$PAPI_DIR"
else
CONFIGURE_OPTS="$CONFIGURE_OPTS --without-papi"
2011-11-30 09:54:07 +00:00
fi
BUILDDIR="${SRCDIR}"
src_install() {
mkdir -p $PREFIX
make install || sit_fail "Installation failed"
}