From 04b0a5fc57a8f0f1725fe6d195bb8c98d7899b92 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Thu, 7 Jul 2011 23:24:42 +0000 Subject: [PATCH] Added sit class file for extrae-2.1.1-p2 --- packages/performance/extrae-2.1.1-p2 | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 packages/performance/extrae-2.1.1-p2 diff --git a/packages/performance/extrae-2.1.1-p2 b/packages/performance/extrae-2.1.1-p2 new file mode 100755 index 0000000..45ce259 --- /dev/null +++ b/packages/performance/extrae-2.1.1-p2 @@ -0,0 +1,42 @@ +#!/bin/sh +# Extrae sit class file +# +# Christoph Niethammer (C) 2011 +# + +CATEGORY="performance" +PACKAGE="extrae" +VERSION="2.1.1-p2" +URL="http://www.bsc.es" +INSTALLER="Christoph Niethammer " + +# Archive A and package name P +A=${PACKAGE}-${VERSION}.tar.bz2 +P=${PACKAGE}-${VERSION} + +enable_papi=${enable_papi:=0} + +MAKEOPTS="-j1" + +# Other interesting configure options: +#--disable-doc \ +CONFIGURE_OPTS="\ + --with-mpi=$MPI_DIR \ + --enable-sampling \ + " + + +# use PAPI +if [ $enable_papi != 0 ] ; then + module load system/perfctr system/papi + which papi_avail + 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" +}