File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1414 - MPI_IMPL=openmpi
1515before_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
Original file line number Diff line number Diff line change 77
88MPI_IMPL=" $1 "
99os=` uname`
10+ OMPIVER=openmpi-3.0.0
11+ MPICHVER=mpich-3.2.1
1012
1113case " $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
You can’t perform that action at this time.
0 commit comments