Modifications for VampirTrace 5.10 on laki.
* Added CUDA support for 3.2: Paths on laki do not fit to any defaults ... * enabled perfcounter support
This commit is contained in:
parent
a3a97bf6ec
commit
d7baecde02
1 changed files with 12 additions and 5 deletions
|
@ -95,19 +95,24 @@ export ${COMPILER_OPTS}
|
||||||
|
|
||||||
MPI_DIR=$(dirname $(dirname $(which mpicc)))
|
MPI_DIR=$(dirname $(dirname $(which mpicc)))
|
||||||
# use papi
|
# use papi
|
||||||
#module load system/perfctr system/papi
|
module load system/perfctr system/papi
|
||||||
#PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
|
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
|
||||||
|
|
||||||
# Other interesting configure options:
|
# Other interesting configure options:
|
||||||
#--enable-sampling \
|
#--enable-sampling \
|
||||||
#--with-papi=$PAPI_DIR \
|
|
||||||
CONFIGURE_OPTS="\
|
CONFIGURE_OPTS="\
|
||||||
--with-mpi-dir=$MPI_DIR \
|
--with-mpi-dir=$MPI_DIR \
|
||||||
|
--with-papi=$PAPI_DIR \
|
||||||
|
--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 \
|
||||||
"
|
"
|
||||||
MAKEOPTS="-j2"
|
MAKEOPTS="-j8"
|
||||||
|
|
||||||
# construct the final installation directory path
|
# construct the final installation directory path
|
||||||
PREFIX="${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/${VERSION}-${MPI}-${MPI_VERSION}-${COMPILER}-${COMPILER_VERSION}${PACKAGE_DESCRIPTOR}"
|
PREFIX="${PREFIX_BASE}/${CATEGORY}/vampirtrace/${VERSION}-${MPI}-${MPI_VERSION}${PACKAGE_DESCRIPTOR}"
|
||||||
|
|
||||||
# basepath for the working directory
|
# basepath for the working directory
|
||||||
ORIGDIR="${HOME}/work"
|
ORIGDIR="${HOME}/work"
|
||||||
|
@ -165,6 +170,8 @@ cat <<EOF
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# To complete the installation please run the follwoing command:
|
# To complete the installation please run the follwoing command:
|
||||||
module load ${COMPILER_MODULE}
|
module load ${COMPILER_MODULE}
|
||||||
|
module load ${MPI_MODULE}
|
||||||
|
module load system/perfctr system/papi
|
||||||
cd ${BUILDDIR}
|
cd ${BUILDDIR}
|
||||||
make install 2>&1 | tee make_install.log
|
make install 2>&1 | tee make_install.log
|
||||||
bzip2 *.log
|
bzip2 *.log
|
||||||
|
|
Loading…
Reference in a new issue