added parts for cray installation
This commit is contained in:
parent
d20de5fd01
commit
616362b6f3
1 changed files with 17 additions and 1 deletions
|
@ -11,7 +11,14 @@ URL="http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download"
|
|||
INSTALLER="Elke Flehmig <flehmig@hlrs.de>"
|
||||
|
||||
# cmake 2.8 or higher is required
|
||||
module load tools/cmake/2.8.10.2
|
||||
case $PLATFORM in
|
||||
hermit|hermit1)
|
||||
module load tools/cmake/2.8.10
|
||||
;;
|
||||
laki)
|
||||
module load tools/cmake/2.8.10.2
|
||||
;;
|
||||
esac
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}-${VERSION}.tar.gz
|
||||
|
@ -24,6 +31,15 @@ src_prepare() {
|
|||
sit_info "patching metis.h with 64bit width"
|
||||
cd $SRCDIR/metis/include
|
||||
patch metis.h < $SRC_POOL/4.0.2_metis.h_patch
|
||||
|
||||
# on cray, replace mpicc and mpicxx with cray mpi compiler commands
|
||||
case $PLATFORM in
|
||||
hermit|hermit1)
|
||||
sit_info "patching Makefile with cray mpi compiler on hermit"
|
||||
cd $SRCDIR
|
||||
patch Makefile < $SRC_POOL/4.0.2_Makefile_patch_cray
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
|
Loading…
Reference in a new issue