system/mpich: Updated for version 3.2 + new maintainer

Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
This commit is contained in:
Christoph Willing 2016-08-05 14:20:38 +10:00 committed by David Spencer
parent 7002c78414
commit 6310a43dfe
3 changed files with 47 additions and 22 deletions

View File

@ -1,8 +1,10 @@
MPICH is a high-performance and widely portable implementation of the MPICH is a high-performance and widely portable implementation of the
Message Passing Interface (MPI) standard (MPI-1, MPI-2 and MPI-3). Message Passing Interface (MPI) standard (MPI-1, MPI-2 and MPI-3).
The goals of MPICH are: to provide an MPI implementation that The goals of MPICH are:
efficiently supports different computation and communication (1) to provide an MPI implementation that efficiently supports different
platforms including commodity clusters, high-speed networks and computation and communication platforms including commodity clusters
proprietary high-end computing systems, and to enable cutting-edge (desktop systems, shared-memory systems, multicore architectures),
research in MPI through an easy-to-extend modular framework for other high-speed networks (10 Gigabit Ethernet, InfiniBand, Myrinet, Quadrics)
derived implementations. and proprietary high-end computing systems (Blue Gene, Cray) and
(2) to enable cutting-edge research in MPI through an easy-to-extend
modular framework for other derived implementations.

View File

@ -2,16 +2,36 @@
# Slackware build script for mpich # Slackware build script for mpich
# Written by Wainamoinen <wainamoinen@gmail.com> # Earlier version written by Wainamoinen <wainamoinen@gmail.com>
#
# Copyright 2016 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mpich PRGNAM=mpich
VERSION=${VERSION:-3.1.4} VERSION=${VERSION:-3.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -22,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -60,10 +80,12 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/man \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \ --disable-static \
--enable-static=no \ --enable-fortran \
--enable-g=none \ --enable-cxx \
--enable-fast=O2,ndebug --enable-threads=multiple \
--enable-fast \
--build=$ARCH-slackware-linux
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
@ -75,8 +97,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES COPYRIGHT README README.envvar RELEASE_NOTES $PKG/usr/doc/$PRGNAM-$VERSION cp -a \
CHANGES COPYRIGHT README README.envvar RELEASE_NOTES \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View File

@ -1,10 +1,10 @@
PRGNAM="mpich" PRGNAM="mpich"
VERSION="3.1.4" VERSION="3.2"
HOMEPAGE="http://www.mpich.org/" HOMEPAGE="http://www.mpich.org/"
DOWNLOAD="http://www.mpich.org/static/downloads/3.1.4/mpich-3.1.4.tar.gz" DOWNLOAD="http://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz"
MD5SUM="2ab544607986486562e076b83937bba2" MD5SUM="f414cfa77099cd1fa1a5ae4e22db508a"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Wainamoinen" MAINTAINER="Christoph Willing"
EMAIL="wainamoinen@gmail.com" EMAIL="chris.willing@linux.com"