Skip to content

Commit 65e359c

Browse files
committed
Rework default MPICH and Open MPI versions
1 parent 9b0a31e commit 65e359c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bootstrap.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@
22
set -euo pipefail
33

44
mpiname=${MPINAME:-mpich}
5+
case "$mpiname" in
6+
mpich) version=4.2.3 ;;
7+
openmpi) version=5.0.5 ;;
8+
esac
9+
version=${VERSION:-$version}
510

611
PROJECT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
712
PACKAGE=$PROJECT/package
813
SOURCE=$PACKAGE/source
914

1015
if test "$mpiname" = "mpich"; then
11-
version=${VERSION:-4.2.3}
1216
urlbase="https://www.mpich.org/static/downloads/$version"
1317
tarball="$mpiname-$version.tar.gz"
1418
license=COPYRIGHT
1519
fi
1620

1721
if test "$mpiname" = "openmpi"; then
18-
version=${VERSION:-5.0.5}
1922
urlbase=https://download.open-mpi.org/release/open-mpi/v${version%.*}
2023
tarball="$mpiname-$version.tar.gz"
2124
license=LICENSE

0 commit comments

Comments
 (0)