Update scalasca 1.4.1, add 1.4.2
This commit is contained in:
parent
ff51320aa2
commit
6882a37221
2 changed files with 65 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# sit class file
|
||||
#
|
||||
# Rainer Keller, HLRS (2011)
|
||||
#
|
||||
# Jose Gracia, HLRS (2012)
|
||||
|
||||
CATEGORY="performance"
|
||||
PACKAGE="scalasca"
|
||||
|
@ -27,7 +27,8 @@ enable_papi=${enable_papi:=1}
|
|||
# use PAPI
|
||||
if [ $enable_papi != 0 ] ; then
|
||||
if [ $PLATFORM="laki" ] ; then
|
||||
module load system/perfctr system/papi
|
||||
#module load system/perfctr system/papi
|
||||
echo "Using Papi counters provided by system"
|
||||
else
|
||||
module load papi
|
||||
fi
|
||||
|
|
62
packages/performance/scalasca/scalasca-1.4.2
Executable file
62
packages/performance/scalasca/scalasca-1.4.2
Executable file
|
@ -0,0 +1,62 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Rainer Keller, HLRS (2011)
|
||||
# Jose Gracia, HLRS (2012)
|
||||
|
||||
CATEGORY="performance"
|
||||
PACKAGE="scalasca"
|
||||
VERSION="1.4.2"
|
||||
URL="http://www.scalasca.org/"
|
||||
INSTALLER="Jose Gracia <gracia@hlrs.de>"
|
||||
|
||||
|
||||
# Archive A and package name P
|
||||
A="scalasca-${VERSION}.tar.gz"
|
||||
P="scalasca-${VERSION}"
|
||||
|
||||
enable_papi=${enable_papi:=1}
|
||||
qt_workaround=${qt_workaround:=0}
|
||||
|
||||
# From configure:
|
||||
# additional options [ONLY TO BE USED IF DIRECTED BY configure]:
|
||||
# [--compiler=(gnu|pgi|intel|path|ibm|sun)] # Compiler selection
|
||||
# # (Linux only)
|
||||
# [--mpi=(mpich|mpich2|lam|openmpi|intel|intel2| # MPI-Lib selection
|
||||
# hp|scali|mpibull2|bullxmpi|sun|ibmpoe)] # (Linux/Solaris only)
|
||||
|
||||
# use PAPI
|
||||
if [ $enable_papi != 0 ] ; then
|
||||
if [ $PLATFORM="laki" ] ; then
|
||||
#module load system/perfctr system/papi
|
||||
echo "Using Papi counters provided by system"
|
||||
else
|
||||
module load papi
|
||||
fi
|
||||
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
|
||||
CONFIGURE_OPTS="${CONFIGURE_OPTS} --with-papi=$PAPI_DIR"
|
||||
fi
|
||||
|
||||
# workaround for Qt
|
||||
if [ $qt_workaround != 0 ] ; then
|
||||
if [ $PLATFORM="laki" ] ; then
|
||||
echo "Doing workaround for Qt"
|
||||
QMAKE=/usr/lib64/qt4/bin/qmake
|
||||
CONFIGURE_OPTS="${CONFIGURE_OPTS} --with-qmake=$QMAKE"
|
||||
fi
|
||||
fi
|
||||
|
||||
BUILDDIR="${SRCDIR}" #/build-linux-gomp-openmpi"
|
||||
|
||||
LOGDIR=${LOGDIR:="/tmp/$USER-$PACKAGE-$VERSION/"}
|
||||
|
||||
|
||||
# GRRRR Scalasca is creating their own build-directory (messy configure...)
|
||||
# and the build dir name seems to change
|
||||
src_build() {
|
||||
#cd build-linux-${COMPILER}-${MPI}
|
||||
cd build-linux-gomp-${MPI}
|
||||
make
|
||||
cd -
|
||||
}
|
||||
|
Loading…
Reference in a new issue