system/openmpi: Added new option.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Emmanuel N. Millan 2019-08-24 07:08:39 +07:00 committed by Willy Sudiarto Raharjo
parent d4c5f2d9b6
commit 9cde194db4
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 8 additions and 3 deletions

View File

@ -2,5 +2,6 @@ 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.
Optional dependency:
slurm, autodetected by configure
PMI=yes|no (default: no), requires slurm

View File

@ -11,6 +11,7 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/pmix-mca-params.conf.new
config etc/openmpi-default-hostfile.new
config etc/openmpi-mca-params.conf.new
config etc/openmpi-totalview.tcl.new

View File

@ -27,7 +27,7 @@
PRGNAM=openmpi
VERSION=${VERSION:-4.0.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -60,6 +60,8 @@ fi
set -eu
pmi="" ; [ "${PMI:-no}" != "no" ] && pmi="--with-slurm --with-pmix"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@ -80,8 +82,9 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--mandir=/usr/man/ \
--enable-mpi1-compability \
--enable-mpi1-compatibility \
--docdir=/usr/doc/$PRGNAM-$VERSION \
$pmi \
--disable-static \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux