Added sit class file for extrae-2.1.1-p1.
This commit is contained in:
parent
e63fd796d1
commit
8dfce6ac92
1 changed files with 40 additions and 0 deletions
40
packages/performance/extrae-2.1.1-p1
Executable file
40
packages/performance/extrae-2.1.1-p1
Executable file
|
@ -0,0 +1,40 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Extrae sit class file
|
||||||
|
#
|
||||||
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
|
||||||
|
#
|
||||||
|
|
||||||
|
CATEGORY="performance"
|
||||||
|
PACKAGE="extrae"
|
||||||
|
VERSION="2.1.1-p1"
|
||||||
|
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:=0}
|
||||||
|
|
||||||
|
|
||||||
|
# Other interesting configure options:
|
||||||
|
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"
|
||||||
|
}
|
Loading…
Reference in a new issue