From 96c71227657c7ffda06e8f1cb11f41ecb76c3807 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 22 Oct 2012 12:16:48 +0000 Subject: [PATCH] Sit class file for extrae-2.2.1 --- packages/performance/extrae/extrae-2.2.1 | 48 ++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100755 packages/performance/extrae/extrae-2.2.1 diff --git a/packages/performance/extrae/extrae-2.2.1 b/packages/performance/extrae/extrae-2.2.1 new file mode 100755 index 0000000..39ce69d --- /dev/null +++ b/packages/performance/extrae/extrae-2.2.1 @@ -0,0 +1,48 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2012 +# + +CATEGORY="performance" +PACKAGE="extrae" +VERSION="2.2.1" +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:=1} + +MAKEOPTS="-j1" + +# Other interesting configure options: +#--disable-doc \ +CONFIGURE_OPTS="\ + --with-mpi=$MPI_DIR \ + --without-pacx \ + --enable-sampling \ + --enable-posix-clock \ + --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" +fi + +BUILDDIR="${SRCDIR}" + +src_install() { + mkdir -p $PREFIX + make install || sit_fail "Installation failed" +}