2019-11-04 13:53:42 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# sit class file
|
|
|
|
#
|
|
|
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2019
|
|
|
|
#
|
|
|
|
|
|
|
|
CATEGORY="mpi"
|
|
|
|
PACKAGE="openmpi"
|
|
|
|
VERSION="4.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=2fdfb4d31cfe1363d8bb5e7488e57cdf
|
|
|
|
HASH_SHA1=32ce3761288575fb8e4f6296c9105c3a25cf3235
|
|
|
|
|
|
|
|
# Other interesting configure options:
|
|
|
|
# --enable-mpi-threads
|
|
|
|
# --enable-progress-threads
|
|
|
|
# --enable-mpi-fortran=usempif08 \
|
|
|
|
# --with-devel-headers \
|
|
|
|
# --enable-contrib-no-build=vt
|
|
|
|
CONFIGURE_OPTS="
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--enable-mpi-thread-multiple \
|
|
|
|
"
|
|
|
|
|
2022-02-08 12:38:30 +00:00
|
|
|
if [ ! -z "$UCX_DIR" ]
|
|
|
|
then
|
|
|
|
CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR"
|
|
|
|
fi
|
|
|
|
|
2019-11-04 13:53:42 +00:00
|
|
|
src_pretest() {
|
|
|
|
make check
|
|
|
|
}
|