Skip to content

Commit bc60b5a

Browse files
authoredAug 6, 2020
Update travis-install-mpi.sh
1 parent c672ef5 commit bc60b5a

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed
 

‎conf/travis-install-mpi.sh

+20-13
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,20 @@ set -x
77

88
MPI_IMPL="$1"
99
os=`uname`
10-
OMPIVER=openmpi-3.0.0
11-
MPICHVER=mpich-3.2.1
12-
IMPIVER=2019.4.243
10+
OMPIVER=4.0.3
11+
MPICHVER=3.3.2
12+
IMPIVER=2019.7.217
1313
case "$os" in
1414
Darwin)
15-
brew update
16-
brew upgrade cmake
1715
case "$MPI_IMPL" in
16+
none)
17+
;;
1818
mpich|mpich3)
19+
brew update
1920
brew install mpich
2021
;;
2122
openmpi)
23+
brew update
2224
brew install openmpi
2325
;;
2426
*)
@@ -29,38 +31,43 @@ case "$os" in
2931
;;
3032

3133
Linux)
32-
sudo apt-get update -q
3334
case "$MPI_IMPL" in
35+
none)
36+
;;
3437
mpich1)
38+
sudo apt-get update -q
3539
sudo apt-get install -y gfortran mpich-shmem-bin libmpich-shmem1.0-dev
3640
;;
3741
mpich2)
42+
sudo apt-get update -q
3843
sudo apt-get install -y gfortran mpich2 libmpich2-3 libmpich2-dev
3944
;;
4045
mpich|mpich3)
46+
sudo apt-get update -q
4147
sudo apt-get install -y gfortran hwloc ccache
4248
sudo /usr/sbin/update-ccache-symlinks
4349
export PATH="/usr/lib/ccache:$PATH"
44-
wget http://www.mpich.org/static/downloads/3.2.1/$MPICHVER.tar.gz
45-
tar -zxf $MPICHVER.tar.gz
46-
cd $MPICHVER
50+
wget http://www.mpich.org/static/downloads/$MPICHVER/mpich-$MPICHVER.tar.gz
51+
tar -zxf mpich-$MPICHVER.tar.gz
52+
cd mpich-$MPICHVER
4753
sh ./configure --prefix=$HOME/mpich --enable-shared > /dev/null
4854
make -j > /dev/null
4955
sudo make install > /dev/null
5056
;;
5157
openmpi)
58+
sudo apt-get update -q
5259
sudo apt-get install -y gfortran ccache
5360
sudo /usr/sbin/update-ccache-symlinks
5461
export PATH="/usr/lib/ccache:$PATH"
55-
wget --no-check-certificate https://www.open-mpi.org/software/ompi/v3.0/downloads/$OMPIVER.tar.gz
56-
tar -zxf $OMPIVER.tar.gz
57-
cd $OMPIVER
62+
wget --no-check-certificate https://www.open-mpi.org/software/ompi/v4.0/downloads/openmpi-$OMPIVER.tar.gz
63+
tar -zxf openmpi-$OMPIVER.tar.gz
64+
cd openmpi-$OMPIVER
5865
sh ./configure --prefix=$HOME/openmpi > /dev/null
5966
make -j > /dev/null
6067
sudo make install > /dev/null
6168
;;
6269
intelmpi)
63-
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/15553/l_mpi_$IMPIVER.tgz
70+
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16546/l_mpi_2019.7.217.tgz
6471
tar -xzf l_mpi_$IMPIVER.tgz
6572
cd l_mpi_$IMPIVER
6673
cat << EOF > intel.conf

0 commit comments

Comments
 (0)
Please sign in to comment.