From 27f32418be1b2c216c68d2281b243529474f4613 Mon Sep 17 00:00:00 2001 From: Elke Flehmig Date: Thu, 17 Oct 2013 10:22:26 +0000 Subject: [PATCH] added sit command as comment, new package scripts --- packages/numlib/metis/5.1.0 | 5 ++++ packages/numlib/parmetis/4.0.3 | 5 ++++ packages/numlib/petsc/3.4.0 | 5 ++++ packages/numlib/scotch/6.0.0 | 5 ++++ packages/numlib/zoltan/3.6 | 47 ++++++++++++++++++++++++++++++++++ 5 files changed, 67 insertions(+) create mode 100755 packages/numlib/zoltan/3.6 diff --git a/packages/numlib/metis/5.1.0 b/packages/numlib/metis/5.1.0 index 295e6e5..bff0f49 100755 --- a/packages/numlib/metis/5.1.0 +++ b/packages/numlib/metis/5.1.0 @@ -3,6 +3,11 @@ # # Christoph Niethammer (C) 2012 # +# laki sit command: +# PREFIX_BASE=/opt ./sit numlib/metis/5.1.0 +# +# hermit sit command: +# PREFIX_BASE=/opt/hlrs ./sit numlib/metis/5.1.0 CATEGORY="numlib" PACKAGE="metis" diff --git a/packages/numlib/parmetis/4.0.3 b/packages/numlib/parmetis/4.0.3 index 63fdc56..90f5f69 100755 --- a/packages/numlib/parmetis/4.0.3 +++ b/packages/numlib/parmetis/4.0.3 @@ -3,6 +3,11 @@ # # Christoph Niethammer (C) 2012 # +# laki sit command: +# PREFIX_BASE=/opt COMPILER=gnu COMPILER_VERSION=4.7.3 MPI=openmpi MPI_VERSION=1.6.4 ./sit numlib/parmetis/4.0.3 +# +# hermit sit command: +# PREFIX_BASE=/opt/hlrs ./sit numlib/parmetis/4.0.3 CATEGORY="numlib" PACKAGE="parmetis" diff --git a/packages/numlib/petsc/3.4.0 b/packages/numlib/petsc/3.4.0 index b695cae..0961673 100755 --- a/packages/numlib/petsc/3.4.0 +++ b/packages/numlib/petsc/3.4.0 @@ -3,6 +3,11 @@ # # Christoph Niethammer (C) 2012 # +# sit command for intel: +# PREFIX_BASE=/opt COMPILER=intel COMPILER_VERSION=13.1.2 MPI=impi MPI_VERSION=4.1.1.036 ./sit numlib/petsc/petsc-3.4.0 +# +# sit command for gnu: +# PREFIX_BASE=/opt COMPILER=gnu COMPILER_VERSION=4.7.3 MPI=openmpi MPI_VERSION=1.6.4 ./sit numlib/petsc/3.4.0 CATEGORY="numlib" PACKAGE="petsc" diff --git a/packages/numlib/scotch/6.0.0 b/packages/numlib/scotch/6.0.0 index 2e318ed..2455fee 100755 --- a/packages/numlib/scotch/6.0.0 +++ b/packages/numlib/scotch/6.0.0 @@ -3,6 +3,11 @@ # # Christoph Niethammer (C) 2012 # +# laki sit command: +# PREFIX_BASE=/opt COMPILER=gnu COMPILER_VERSION=4.7.3 MPI=openmpi MPI_VERSION=1.6.4 ./sit numlib/scotch/6.0.0 +# +# hermit sit command: +# PREFIX_BASE=/opt/hlrs ./sit numlib/scotch/6.0.0 CATEGORY="numlib" PACKAGE="scotch" diff --git a/packages/numlib/zoltan/3.6 b/packages/numlib/zoltan/3.6 new file mode 100755 index 0000000..d437ef9 --- /dev/null +++ b/packages/numlib/zoltan/3.6 @@ -0,0 +1,47 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (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 " + +# 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 +}