Sit class files for Open MPI 4.1.0, 4.1.1, 4.1.2

This commit is contained in:
Christoph Niethammer 2022-02-08 12:38:30 +00:00
parent 240156d895
commit a30b7d430e
6 changed files with 199 additions and 2 deletions

View file

@ -28,6 +28,11 @@ CONFIGURE_OPTS="
--enable-mpi-thread-multiple \ --enable-mpi-thread-multiple \
" "
if [ ! -z "$UCX_DIR" ]
then
CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR"
fi
src_pretest() { src_pretest() {
make check make check
} }

View file

@ -25,12 +25,11 @@ HASH_SHA1=
CONFIGURE_OPTS=" CONFIGURE_OPTS="
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
--enable-mpi-thread-multiple \
" "
if [ ! -z "$UCX_DIR" ] if [ ! -z "$UCX_DIR" ]
then then
CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR" CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR --without-verbs"
fi fi
src_pretest() { src_pretest() {

View file

@ -22,16 +22,32 @@ HASH_SHA1=
# --enable-mpi-fortran=usempif08 \ # --enable-mpi-fortran=usempif08 \
# --with-devel-headers \ # --with-devel-headers \
# --enable-contrib-no-build=vt # --enable-contrib-no-build=vt
# FFLAGS=-I/ \
CONFIGURE_OPTS=" CONFIGURE_OPTS="
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
--without-verbs \ --without-verbs \
" "
if [ "$COMPILER" == "aocc" ] ; then
CONFIGURE_OPTS+=" --enable-mpi-ext=no"
fi
if [ ! -z "$UCX_DIR" ] ; then if [ ! -z "$UCX_DIR" ] ; then
CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR" CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR"
fi fi
if [ ! -z "$HCOLL_DIR" ] ; then
CONFIGURE_OPTS+=" --with-hcoll=$HCOLL_DIR"
fi
if [ ! -z "$KNEM_DIR" ] ; then
CONFIGURE_OPTS+=" --with-knem=$KNEM_DIR"
fi
if [ ! -z "$PBS_DIR" ] ; then
CONFIGURE_OPTS+=" --with-tm=$PBS_DIR"
fi
if [ ! -z $CUDA_DIR ] ; then if [ ! -z $CUDA_DIR ] ; then
[ -z "$UCX_DIR" ] && sit_fail "Have to be configured with external UCX" [ -z "$UCX_DIR" ] && sit_fail "Have to be configured with external UCX"
ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support" ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support"

View file

@ -0,0 +1,59 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2020
#
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="4.1.0"
URL="http://www.open-mpi.org"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A="$PACKAGE-$VERSION.tar.bz2"
P="$PACKAGE-$VERSION"
HASH_MD5=
HASH_SHA1=
# Other interesting configure options:
# --enable-mpi-threads
# --enable-progress-threads
# --enable-mpi-fortran=usempif08 \
# --with-devel-headers \
# --enable-contrib-no-build=vt
# FFLAGS=-I/ \
CONFIGURE_OPTS="
--enable-shared \
--enable-static \
--without-verbs \
"
if [ "$COMPILER" == "aocc" ] ; then
CONFIGURE_OPTS+=" --enable-mpi-ext=no"
fi
if [ ! -z "$UCX_DIR" ] ; then
CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR"
fi
if [ ! -z "$HCOLL_DIR" ] ; then
CONFIGURE_OPTS+=" --with-hcoll=$HCOLL_DIR"
fi
if [ ! -z "$KNEM_DIR" ] ; then
CONFIGURE_OPTS+=" --with-knem=$KNEM_DIR"
fi
if [ ! -z "$PBS_DIR" ] ; then
CONFIGURE_OPTS+=" --with-tm=$PBS_DIR"
fi
if [ ! -z $CUDA_DIR ] ; then
[ -z "$UCX_DIR" ] && sit_fail "Have to be configured with external UCX"
ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support"
CONFIGURE_OPTS+=" --with-cuda=$CUDA_DIR"
fi
src_pretest() {
make check
}

View file

@ -0,0 +1,59 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2021
#
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="4.1.1"
URL="http://www.open-mpi.org"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A="$PACKAGE-$VERSION.tar.bz2"
P="$PACKAGE-$VERSION"
HASH_MD5=
HASH_SHA1=
# Other interesting configure options:
# --enable-mpi-threads
# --enable-progress-threads
# --enable-mpi-fortran=usempif08 \
# --with-devel-headers \
# --enable-contrib-no-build=vt
# FFLAGS=-I/ \
CONFIGURE_OPTS="
--enable-shared \
--enable-static \
--without-verbs \
"
if [ "$COMPILER" == "aocc" ] ; then
CONFIGURE_OPTS+=" --enable-mpi-ext=no"
fi
if [ ! -z "$UCX_DIR" ] ; then
CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR"
fi
if [ ! -z "$HCOLL_DIR" ] ; then
CONFIGURE_OPTS+=" --with-hcoll=$HCOLL_DIR"
fi
if [ ! -z "$KNEM_DIR" ] ; then
CONFIGURE_OPTS+=" --with-knem=$KNEM_DIR"
fi
if [ ! -z "$PBS_DIR" ] ; then
CONFIGURE_OPTS+=" --with-tm=$PBS_DIR"
fi
if [ ! -z $CUDA_DIR ] ; then
[ -z "$UCX_DIR" ] && sit_fail "Have to be configured with external UCX"
ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support"
CONFIGURE_OPTS+=" --with-cuda=$CUDA_DIR"
fi
src_pretest() {
make check
}

View file

@ -0,0 +1,59 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2021
#
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="4.1.2"
URL="http://www.open-mpi.org"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A="$PACKAGE-$VERSION.tar.bz2"
P="$PACKAGE-$VERSION"
HASH_MD5=
HASH_SHA1=
# Other interesting configure options:
# --enable-mpi-threads
# --enable-progress-threads
# --enable-mpi-fortran=usempif08 \
# --with-devel-headers \
# --enable-contrib-no-build=vt
# --enable-static \
# --enable-shared \
# FFLAGS=-I/ \
CONFIGURE_OPTS="
--without-verbs \
"
if [ "$COMPILER" == "aocc" ] ; then
CONFIGURE_OPTS+=" --enable-mpi-ext=no"
fi
if [ ! -z "$UCX_DIR" ] ; then
CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR"
fi
if [ ! -z "$HCOLL_DIR" ] ; then
CONFIGURE_OPTS+=" --with-hcoll=$HCOLL_DIR"
fi
if [ ! -z "$KNEM_DIR" ] ; then
CONFIGURE_OPTS+=" --with-knem=$KNEM_DIR"
fi
if [ ! -z "$PBS_DIR" ] ; then
CONFIGURE_OPTS+=" --with-tm=$PBS_DIR"
fi
if [ ! -z $CUDA_DIR ] ; then
[ -z "$UCX_DIR" ] && sit_fail "Have to be configured with external UCX"
ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support"
CONFIGURE_OPTS+=" --with-cuda=$CUDA_DIR"
fi
src_pretest() {
make check
}