From 6febb84ecb258cdafd5fa18815a054931ea724ed Mon Sep 17 00:00:00 2001 From: Elke Flehmig Date: Mon, 18 Nov 2013 08:57:52 +0000 Subject: [PATCH] Deleted obsolete parmetis versions --- packages/numlib/parmetis/4.0.2 | 55 ------------------- .../numlib/parmetis/4.0.2_Makefile_patch_cray | 6 -- packages/numlib/parmetis/4.0.2_metis.h_patch | 8 --- 3 files changed, 69 deletions(-) delete mode 100755 packages/numlib/parmetis/4.0.2 delete mode 100644 packages/numlib/parmetis/4.0.2_Makefile_patch_cray delete mode 100644 packages/numlib/parmetis/4.0.2_metis.h_patch diff --git a/packages/numlib/parmetis/4.0.2 b/packages/numlib/parmetis/4.0.2 deleted file mode 100755 index c6b02a9..0000000 --- a/packages/numlib/parmetis/4.0.2 +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -# sit class file -# -# Christoph Niethammer (C) 2012 -# - -CATEGORY="numlib" -PACKAGE="parmetis" -VERSION="4.0.2" -URL="http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download" -INSTALLER="Elke Flehmig " - -# cmake 2.8 or higher is required -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 -P=${PACKAGE}-${VERSION} - -BUILDDIR=$SRCDIR - -src_prepare() { -# set 64bit width for elementary data types - 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() { - make config prefix=$PREFIX -} - -src_install() { - make install - -# mv manual to target (not included in make install) - sit_info "Installing manual" - cd $SRCDIR/manual; mv manual.pdf $PREFIX -} diff --git a/packages/numlib/parmetis/4.0.2_Makefile_patch_cray b/packages/numlib/parmetis/4.0.2_Makefile_patch_cray deleted file mode 100644 index 0633c8d..0000000 --- a/packages/numlib/parmetis/4.0.2_Makefile_patch_cray +++ /dev/null @@ -1,6 +0,0 @@ -11,12c11,12 -< cc = mpicc -< cxx = mpicxx ---- -> cc = cc -> cxx = CC diff --git a/packages/numlib/parmetis/4.0.2_metis.h_patch b/packages/numlib/parmetis/4.0.2_metis.h_patch deleted file mode 100644 index 443373f..0000000 --- a/packages/numlib/parmetis/4.0.2_metis.h_patch +++ /dev/null @@ -1,8 +0,0 @@ -33c33 -< #define IDXTYPEWIDTH 32 ---- -> #define IDXTYPEWIDTH 64 -43c43 -< #define REALTYPEWIDTH 32 ---- -> #define REALTYPEWIDTH 64