Skip to content

Commit 443f2b1

Browse files
committed
Upgrade linux mpich and open-mpi versions
1 parent 35ece71 commit 443f2b1

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
- MPI_IMPL=openmpi
1515
before_install:
1616
- sh ./conf/travis-install-mpi.sh $MPI_IMPL
17-
- export PATH=$HOME/OpenMPI/bin:$PATH
17+
- export PATH=$HOME/OpenMPI/bin:$HOME/MPICH/bin:$PATH
1818
# Work around OpenMPI attempting to create overly long temporary
1919
# file names - and erroring as a result
2020
- export TMPDIR=/tmp

conf/travis-install-mpi.sh

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ set -x
77

88
MPI_IMPL="$1"
99
os=`uname`
10+
OMPIVER=openmpi-3.0.0
11+
MPICHVER=mpich-3.2.1
1012

1113
case "$os" in
1214
Darwin)
@@ -36,16 +38,19 @@ case "$os" in
3638
sudo apt-get install -y gfortran mpich2 libmpich2-3 libmpich2-dev
3739
;;
3840
mpich|mpich3)
39-
sudo apt-get install -y gfortran libcr0 default-jdk hwloc libmpich10 libmpich-dev
40-
wget -q http://de.archive.ubuntu.com/ubuntu/pool/universe/m/mpich/mpich_3.0.4-6ubuntu1_amd64.deb
41-
sudo dpkg -i ./mpich_3.0.4-6ubuntu1_amd64.deb
42-
# rm -f ./mpich_3.1-1ubuntu_amd64.deb
41+
sudo apt-get install -y gfortran hwloc
42+
wget http://www.mpich.org/static/downloads/3.2.1/$MPICHVER.tar.gz
43+
tar -zxf $MPICHVER.tar.gz
44+
cd $MPICHVER
45+
sh ./configure --prefix=$HOME/MPICH --enable-shared > /dev/null
46+
make -j > /dev/null
47+
sudo make install > /dev/null
4348
;;
4449
openmpi)
4550
sudo apt-get install -y gfortran
46-
wget --no-check-certificate https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.2.tar.gz
47-
tar -zxf openmpi-1.10.2.tar.gz
48-
cd openmpi-1.10.2
51+
wget --no-check-certificate https://www.open-mpi.org/software/ompi/v3.0/downloads/$OMPIVER.tar.gz
52+
tar -zxf $OMPIVER.tar.gz
53+
cd $OMPIVER
4954
sh ./configure --prefix=$HOME/OpenMPI > /dev/null
5055
make -j > /dev/null
5156
sudo make install > /dev/null

0 commit comments

Comments
 (0)