38 lines
725 B
Bash
Executable file
38 lines
725 B
Bash
Executable file
#!/bin/sh
|
|
# sit class file
|
|
#
|
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2020
|
|
#
|
|
|
|
CATEGORY="mpi"
|
|
PACKAGE="openmpi"
|
|
VERSION="4.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
|
|
CONFIGURE_OPTS="
|
|
--enable-shared \
|
|
--enable-static \
|
|
--enable-mpi-thread-multiple \
|
|
"
|
|
|
|
if [ ! -z "$UCX_DIR" ]
|
|
then
|
|
CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR"
|
|
fi
|
|
|
|
src_pretest() {
|
|
make check
|
|
}
|