diff --git a/packages/performance/extrae-2.2.0 b/packages/performance/extrae-2.2.0 new file mode 100755 index 0000000..1a92944 --- /dev/null +++ b/packages/performance/extrae-2.2.0 @@ -0,0 +1,45 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2011 +# + +CATEGORY="performance" +PACKAGE="extrae" +VERSION="2.2.0" +URL="http://www.bsc.es" +INSTALLER="Christoph Niethammer " + +# 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 \ + --enable-sampling \ + --without-pacx \ + --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" +fi + +BUILDDIR="${SRCDIR}" + +src_install() { + mkdir -p $PREFIX + make install || sit_fail "Installation failed" +}