Minor update of old vampirtrace package for hazelhen
This commit is contained in:
parent
f498b0c98c
commit
1a5ac496b9
1 changed files with 26 additions and 20 deletions
|
@ -22,29 +22,35 @@ enable_cuda=${enable_cuda:=1}
|
||||||
# Other interesting configure options:
|
# Other interesting configure options:
|
||||||
#--enable-sampling \
|
#--enable-sampling \
|
||||||
|
|
||||||
if [[ $PLATFORM == "hermit1" ]] ; then
|
case $PLATFORM in
|
||||||
CONFIGURE_OPTS=" \
|
hermit1|hornet|hazelhen)
|
||||||
--with-platform=crayxe \
|
CONFIGURE_OPTS=" \
|
||||||
--build=x86_64-unknown-linux-gnu \
|
--with-platform=crayxe \
|
||||||
--host=x86_64-cray-linux-gnu \
|
--build=x86_64-unknown-linux-gnu \
|
||||||
"
|
--host=x86_64-cray-linux-gnu \
|
||||||
#--without-cross-prefix \
|
"
|
||||||
#--disable-exectrace \
|
#--without-cross-prefix \
|
||||||
else
|
#--disable-exectrace \
|
||||||
CONFIGURE_OPTS=" \
|
;;
|
||||||
--with-mpi-dir=$MPI_DIR \
|
laki)
|
||||||
"
|
CONFIGURE_OPTS=" \
|
||||||
fi
|
--with-mpi-dir=$MPI_DIR \
|
||||||
|
"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# use PAPI
|
# use PAPI
|
||||||
if [ $enable_papi != 0 ] ; then
|
if [ $enable_papi != 0 ] ; then
|
||||||
if [[ $PLATFORM == "hermit1" ]] ; then
|
case $PLATFORM in
|
||||||
module load papi
|
hermit1|hornet|hazelhen)
|
||||||
else
|
module load papi
|
||||||
module load performance/papi
|
;;
|
||||||
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
|
laki)
|
||||||
CONFIGURE_OPTS="${CONFIGURE_OPTS} --with-papi-dir=$PAPI_DIR"
|
module load performance/papi
|
||||||
fi
|
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
|
||||||
|
CONFIGURE_OPTS="${CONFIGURE_OPTS} --with-papi-dir=$PAPI_DIR"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# use CUDA
|
# use CUDA
|
||||||
|
|
Loading…
Reference in a new issue