sit classfile for Extrae
This commit is contained in:
parent
d22ca5b876
commit
6538038861
1 changed files with 35 additions and 0 deletions
35
packages/performance/extrae-2.1.1
Executable file
35
packages/performance/extrae-2.1.1
Executable file
|
@ -0,0 +1,35 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Extrae sit class file
|
||||||
|
#
|
||||||
|
# Christoph Niethammer <christoph.niethammer@web.de> (C) 2011
|
||||||
|
#
|
||||||
|
|
||||||
|
CATEGORY="performance"
|
||||||
|
PACKAGE="extrae"
|
||||||
|
VERSION="2.1.1"
|
||||||
|
URL="http://www.bsc.es"
|
||||||
|
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
||||||
|
|
||||||
|
# Archive A and package name P
|
||||||
|
A=${PACKAGE}-${VERSION}.tar.bz2
|
||||||
|
P=${PACKAGE}-${VERSION}
|
||||||
|
|
||||||
|
enable_papi=0
|
||||||
|
|
||||||
|
CONFIGURE_OPTS="\
|
||||||
|
--with-mpi=$MPI_DIR \
|
||||||
|
--enable-sampling \
|
||||||
|
"
|
||||||
|
|
||||||
|
# use PAPI
|
||||||
|
if [ $enable_papi != 0 ] ; then
|
||||||
|
module load system/perfctr system/papi
|
||||||
|
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
|
||||||
|
CONFIGURE_OPTS="$CONFIGURE_OPTS --with-papi=$PAPI_DIR"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
mkdir -p $PREFIX
|
||||||
|
make install || sit_fail "Installation failed"
|
||||||
|
}
|
Loading…
Reference in a new issue