Compare commits

...

4 commits

Author SHA1 Message Date
9aa5308a0a Add sit class file for Open MPI 4.1.6
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
2024-05-03 16:30:08 +02:00
3b90aef947 Add sit class file for Open MPI 5.0.3
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
2024-05-03 16:29:52 +02:00
3a4da5eeb5 Add sit class file for Open MPI 5.0.2
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
2024-05-03 16:29:32 +02:00
bba518d717 Add sit class file for Open MPI 5.0.0
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
2024-05-03 16:29:21 +02:00
4 changed files with 183 additions and 1 deletions

View file

@ -0,0 +1,64 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2023
#
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="4.1.6"
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 \
--with-io-romio-flags=--with-file-system=ufs+nfs+lustre \
"
if [ "$OMPI_ENABLE_SPC" == "1" ] ; then
echo "Building with Open MPI's SPC"
CONFIGURE_OPTS+=" --enable-spc"
fi
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
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

@ -6,7 +6,7 @@
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="5.0.0rc11"
VERSION="5.0.0"
URL="http://www.open-mpi.org"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"

View file

@ -0,0 +1,59 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2024
#
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="5.0.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_DIR/bin/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) 2024
#
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="5.0.3"
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_DIR/bin/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
}