summaryrefslogtreecommitdiffstats
path: root/system/openmpi
diff options
context:
space:
mode:
Diffstat (limited to 'system/openmpi')
-rw-r--r--system/openmpi/README3
-rw-r--r--system/openmpi/openmpi.SlackBuild25
-rw-r--r--system/openmpi/openmpi.info6
3 files changed, 24 insertions, 10 deletions
diff --git a/system/openmpi/README b/system/openmpi/README
index 0bb48775c8..6262f9d2db 100644
--- a/system/openmpi/README
+++ b/system/openmpi/README
@@ -5,3 +5,6 @@ industry partners.
Optional dependency:
PMI=yes|no (default: no), requires slurm
+
+Note: openmpi conflicts with mpich . If you install both on the same
+system, unexpected results may occur.
diff --git a/system/openmpi/openmpi.SlackBuild b/system/openmpi/openmpi.SlackBuild
index a020943e59..538669e57b 100644
--- a/system/openmpi/openmpi.SlackBuild
+++ b/system/openmpi/openmpi.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Open MPI
#
# Copyright 2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
-# Copyright 2015-2020 Emmanuel N. Millan, Mendoza, Argentina.
+# Copyright 2015-2024 Emmanuel N. Millan, Mendoza, Argentina.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,12 +25,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openmpi
-VERSION=${VERSION:-4.0.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-4.1.6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -44,6 +47,14 @@ if [ -z "$ARCH" ]; then
esac
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -100,7 +111,7 @@ for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i
find $PKG/etc -type f -exec mv {} {}.new \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS INSTALL LICENSE NEWS README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE NEWS README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -108,4 +119,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/openmpi/openmpi.info b/system/openmpi/openmpi.info
index 4ad02127e9..398e36d1a1 100644
--- a/system/openmpi/openmpi.info
+++ b/system/openmpi/openmpi.info
@@ -1,8 +1,8 @@
PRGNAM="openmpi"
-VERSION="4.0.5"
+VERSION="4.1.6"
HOMEPAGE="https://www.open-mpi.org/"
-DOWNLOAD="https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.5.tar.bz2"
-MD5SUM="d85ad67fb1d5decd78a4bb883874e289"
+DOWNLOAD="https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.bz2"
+MD5SUM="c9b1c974cfc23c77c0fbdb965cd58a1c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""