44 lines
899 B
Bash
Executable file
44 lines
899 B
Bash
Executable file
#!/bin/sh
|
|
# sit class file
|
|
#
|
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2019
|
|
#
|
|
|
|
CATEGORY="performance"
|
|
PACKAGE="tau"
|
|
VERSION="2.28.2"
|
|
URL="https://www.cs.uoregon.edu/research/pdt/"
|
|
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
|
|
|
# Archive A and package name P
|
|
A="$PACKAGE-$VERSION.tar.gz"
|
|
P="$PACKAGE-$VERSION"
|
|
|
|
BUILDDIR=$SRCDIR
|
|
|
|
module load performance/pdt/3.25.1
|
|
module load performance/papi/5.7.0
|
|
|
|
src_configure() {
|
|
${SRCDIR}/configure \
|
|
-bfd=download \
|
|
-dwarf=download \
|
|
-unwind=download \
|
|
-iowrapper \
|
|
-c++=$MPICXX \
|
|
-cc=$MPICC \
|
|
-fortran=$MPIFC \
|
|
-mpi \
|
|
-ompt \
|
|
-openmp \
|
|
-papi=$PAPI_ROOT \
|
|
-pdt=$PDT_ROOT \
|
|
-prefix=$PREFIX
|
|
}
|
|
|
|
src_unpack() {
|
|
# extract source package
|
|
unpack
|
|
# unpack the external dependency package into SRCDIR
|
|
tar xf ${SRC_POOL}/ext.tgz -C $SRCDIR
|
|
}
|