development/openmpi: Added to 12.0 repository
This commit is contained in:
parent
02a4d54bee
commit
9ec7105029
|
@ -0,0 +1,20 @@
|
|||
The Open MPI Project is an open source MPI-2 implementation that is
|
||||
developed and maintained by a consortium of academic, research, and
|
||||
industry partners. Open MPI is therefore able to combine the experise,
|
||||
technologies, and resources from all across the High Performance
|
||||
Computing community in order to build the best MPI library available.
|
||||
Open MPI offers advantages for system and software vendors, application
|
||||
developers and computer science researchers.
|
||||
|
||||
Open MPI represents the merger between three well-known MPI
|
||||
implementations:
|
||||
* FT-MPI from the University of Tennessee
|
||||
* LA-MPI from Los Alamos National Laboratory
|
||||
* LAM/MPI from Indiana University
|
||||
with contributions from the PACX-MPI team at the University of
|
||||
Stuttgart. These four institutions comprise the founding members of the
|
||||
Open MPI development team. Each of these MPI implementations excelled
|
||||
in one or more areas. The driving motivation behind Open MPI is to
|
||||
bring the best ideas and technologies from the individual projects and
|
||||
create one world-class open source MPI implementation that excels in all
|
||||
areas.
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
config() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
config etc/openmpi-totalview.tcl.new
|
||||
config etc/openmpi-mca-params.conf.new
|
||||
config etc/openmpi-default-hostfile.new
|
|
@ -0,0 +1,68 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for Open MPI
|
||||
|
||||
# Written by Aleksandar B. Samardzic (<asamardzic@matf.bg.ac.yu>)
|
||||
|
||||
set -e
|
||||
|
||||
PRGNAM=openmpi
|
||||
VERSION=1.2.3
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
#chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
# Let's not clobber config files
|
||||
mv $PKG/etc/openmpi-totalview.tcl $PKG/etc/openmpi-totalview.tcl.new
|
||||
mv $PKG/etc/openmpi-mca-params.conf $PKG/etc/openmpi-mca-params.conf.new
|
||||
mv $PKG/etc/openmpi-default-hostfile $PKG/etc/openmpi-default-hostfile.new
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS INSTALL LICENSE NEWS README VERSION examples \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="openmpi"
|
||||
VERSION="1.2.3"
|
||||
HOMEPAGE="http://www.open-mpi.org/"
|
||||
DOWNLOAD="http://www.open-mpi.org/software/ompi/v1.2/downloads/openmpi-1.2.3.tar.bz2"
|
||||
MD5SUM="ae980bb00f9686934a1143701cc041e4"
|
||||
MAINTAINER="Aleksandar B. Samardzic"
|
||||
EMAIL="asamardzic@matf.bg.ac.yu"
|
||||
APPROVED="rworkman"
|
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
openmpi: Open MPI (an open source MPI-2 implementation)
|
||||
openmpi:
|
||||
openmpi: Open MPI is a project combining technologies and resources from
|
||||
openmpi: several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI)
|
||||
openmpi: in order to build the best Message Passing Interface (MPI)
|
||||
openmpi: library available. MPI is highly specialised computer software
|
||||
openmpi: that allows many computers to communicate with one another; it
|
||||
openmpi: is exclusively used in computer clusters.
|
||||
openmpi:
|
||||
openmpi: Homepage: http://www.open-mpi.org/
|
||||
openmpi:
|
Loading…
Reference in New Issue