Add sit class file for Open MPI 5.0.5
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
This commit is contained in:
parent
0c4d2c6363
commit
0d2cd2dc83
1 changed files with 65 additions and 0 deletions
65
packages/mpi/openmpi/openmpi-5.0.5
Executable file
65
packages/mpi/openmpi/openmpi-5.0.5
Executable file
|
@ -0,0 +1,65 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2024
|
||||
#
|
||||
|
||||
CATEGORY="mpi"
|
||||
PACKAGE="openmpi"
|
||||
VERSION="5.0.5"
|
||||
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 ! which pbs-config ; then
|
||||
if [ ! -z "$PBS_DIR" ] ; then
|
||||
CONFIGURE_OPTS+=" --with-tm=$PBS_DIR"
|
||||
else
|
||||
sit_fail "Please make sure to provide PBS installation path via PBS_DIR"
|
||||
fi
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue