We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b0a31e commit 65e359cCopy full SHA for 65e359c
bootstrap.sh
@@ -2,20 +2,23 @@
2
set -euo pipefail
3
4
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}
10
11
PROJECT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
12
PACKAGE=$PROJECT/package
13
SOURCE=$PACKAGE/source
14
15
if test "$mpiname" = "mpich"; then
- version=${VERSION:-4.2.3}
16
urlbase="https://www.mpich.org/static/downloads/$version"
17
tarball="$mpiname-$version.tar.gz"
18
license=COPYRIGHT
19
fi
20
21
if test "$mpiname" = "openmpi"; then
- version=${VERSION:-5.0.5}
22
urlbase=https://download.open-mpi.org/release/open-mpi/v${version%.*}
23
24
license=LICENSE
0 commit comments