sit classfile for vampirtrace
This commit is contained in:
parent
1560cc6944
commit
af159a3315
1 changed files with 47 additions and 0 deletions
47
packages/performance/vampirtrace-5.10
Executable file
47
packages/performance/vampirtrace-5.10
Executable file
|
@ -0,0 +1,47 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# VampirTrace sit class file
|
||||||
|
#
|
||||||
|
# Christoph Niethammer <christoph.niethammer@web.de> (C) 2011
|
||||||
|
#
|
||||||
|
|
||||||
|
CATEGORY="performance"
|
||||||
|
PACKAGE="vampirtrace"
|
||||||
|
VERSION="5.10"
|
||||||
|
URL="http://www.tu-dresden.de/zih/vampirtrace/"
|
||||||
|
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
||||||
|
|
||||||
|
# Archive A and package name P
|
||||||
|
A="VampirTrace-${VERSION}.tar.gz"
|
||||||
|
P="VampirTrace-${VERSION}"
|
||||||
|
|
||||||
|
enable_papi=${enable_papi:=0}
|
||||||
|
enable_papi=${enable_cuda:=0}
|
||||||
|
|
||||||
|
CONFIGURE_OPTS="\
|
||||||
|
--with-mpi-dir=$MPI_DIR \
|
||||||
|
"
|
||||||
|
# Other interesting configure options:
|
||||||
|
#--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
|
||||||
|
|
||||||
|
# use CUDA
|
||||||
|
if [ $enable_cuda != 0 ] ; then
|
||||||
|
module load cuda
|
||||||
|
CUDA_DIR=${CUDA_DIR:=$(dirname $(dirname $(which nvcc)))}
|
||||||
|
CONFIGURE_OPTS="${CONFIGURE_OPTS} \
|
||||||
|
--with-cuda-dir=$CUDA_DIR \
|
||||||
|
--with-cuda-inc-dir=$CUDA_DIR/include \
|
||||||
|
--with-cuda-lib-dir=/opt/cuda/driver-3.2/lib \
|
||||||
|
--with-cudart-dir=$CUDA_DIR \
|
||||||
|
--with-cudart-lib-dir=$CUDA_DIR/lib64 \
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue