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:
Christoph Niethammer 2011-03-02 14:40:55 +00:00
parent a3a97bf6ec
commit d7baecde02

View file

@ -95,19 +95,24 @@ export ${COMPILER_OPTS}
MPI_DIR=$(dirname $(dirname $(which mpicc)))
# use papi
#module load system/perfctr system/papi
#PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
module load system/perfctr system/papi
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
# Other interesting configure options:
#--enable-sampling \
#--with-papi=$PAPI_DIR \
CONFIGURE_OPTS="\
--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
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
ORIGDIR="${HOME}/work"
@ -165,6 +170,8 @@ cat <<EOF
##############################################################################
# To complete the installation please run the follwoing command:
module load ${COMPILER_MODULE}
module load ${MPI_MODULE}
module load system/perfctr system/papi
cd ${BUILDDIR}
make install 2>&1 | tee make_install.log
bzip2 *.log