removed old versions
This commit is contained in:
parent
5a62f0006a
commit
43ad4b90a4
2 changed files with 0 additions and 97 deletions
|
@ -1,47 +0,0 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||||
#
|
||||
# laki sit command:
|
||||
# PREFIX_BASE=/opt COMPILER=gnu COMPILER_VERSION=4.7.3 MPI=openmpi MPI_VERSION=1.6.4 ./sit numlib/zoltan/3.6
|
||||
#
|
||||
# hermit sit command:
|
||||
# TODO! not yet installed with sit...
|
||||
|
||||
CATEGORY="numlib"
|
||||
PACKAGE="zoltan"
|
||||
VERSION="3.6"
|
||||
URL="http://www.labri.fr/perso/pelegrin/scotch/"
|
||||
INSTALLER="Elke Flehmig <flehmig@hlrs.de>"
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}_${VERSION}.tgz
|
||||
P=${PACKAGE}_${VERSION}/Zoltan_v3.6
|
||||
|
||||
src_prepare() {
|
||||
case $PLATFORM in
|
||||
hermit|hermit1)
|
||||
echo "Building for hermit."
|
||||
;;
|
||||
laki|*)
|
||||
echo "Building for laki."
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
CONFIGURE_OPTS="--with-id-type=ullong CC=mpicc CXX=mpicxx"
|
||||
|
||||
src_pretest() {
|
||||
sit_info "Checking zoltan ..."
|
||||
make check || sit_fail "Checking zoltan failed"
|
||||
sit_info "Building examples ..."
|
||||
make examples || sit_fail"Building examples failed"
|
||||
}
|
||||
|
||||
src_postinst() {
|
||||
# mv examples to target (not included in any make install version)
|
||||
mv $BUILDDIR/example $PREFIX
|
||||
# mv documentation to target (not included in make install)
|
||||
mv $SRCDIR/doc $PREFIX
|
||||
}
|
|
@ -1,50 +0,0 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||||
#
|
||||
# laki sit command:
|
||||
# TODO! not yet installed with sit
|
||||
#
|
||||
# hermit sit command:
|
||||
# PREFIX_BASE=/opt/hlrs ./sit numlib/zoltan/3.6-parmetis-4.0.3-scotch-6.0.0
|
||||
|
||||
CATEGORY="numlib"
|
||||
PACKAGE="zoltan"
|
||||
ZOLTAN_VERSION="3.6"
|
||||
VERSION="3.6-parmetis-4.0.3-scotch-6.0.0"
|
||||
URL="http://www.labri.fr/perso/pelegrin/scotch/"
|
||||
INSTALLER="Elke Flehmig <flehmig@hlrs.de>"
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}_${ZOLTAN_VERSION}.tgz
|
||||
P=${PACKAGE}_${ZOLTAN_VERSION}/Zoltan_v3.6
|
||||
|
||||
module load numlib/scotch/6.0.0
|
||||
module load numlib/parmetis/4.0.3
|
||||
module load numlib/metis/5.1.0
|
||||
|
||||
src_prepare() {
|
||||
case $PLATFORM in
|
||||
hermit|hermit1)
|
||||
echo "Building for hermit."
|
||||
;;
|
||||
laki|*)
|
||||
echo "Building for laki."
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
CONFIGURE_OPTS="CC=cc CXX=CC --with-id-type=ullong --with-scotch --with-scotch-incdir=/sw/hermit1/hlrs/numlib/scotch/6.0.0/include --with-scotch-libdir=/sw/hermit1/hlrs/numlib/scotch/6.0.0/lib --with-parmetis --with-parmetis-incdir=/sw/hermit1/hlrs/numlib/parmetis/4.0.3/include --with-parmetis-libdir=/sw/hermit1/hlrs/numlib/parmetis/4.0.3/lib --with-libdirs=\"-L/sw/hermit1/hlrs/numlib/metis/5.1.0/lib\" --with-incdirs=\"-I/sw/hermit1/hlrs/numlib/metis/5.1.0/include\" --with-libs=\"-lscotch\""
|
||||
|
||||
src_pretest() {
|
||||
sit_info "Checking zoltan ..."
|
||||
make check || sit_fail "Checking zoltan failed"
|
||||
}
|
||||
|
||||
src_postinst() {
|
||||
# as examples and doc are already installed with zoltan/3.6, simply set a link:
|
||||
cd $PREFIX
|
||||
ln -s /sw/hermit1/hlrs/numlib/zoltan/3.6/examples
|
||||
ln -s /sw/hermit1/hlrs/numlib/zoltan/3.6/doc
|
||||
}
|
Loading…
Reference in a new issue