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 14
14
- MPI_IMPL=openmpi
15
15
before_install :
16
16
- 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
18
18
# Work around OpenMPI attempting to create overly long temporary
19
19
# file names - and erroring as a result
20
20
- export TMPDIR=/tmp
Original file line number Diff line number Diff line change 7
7
8
8
MPI_IMPL=" $1 "
9
9
os=` uname`
10
+ OMPIVER=openmpi-3.0.0
11
+ MPICHVER=mpich-3.2.1
10
12
11
13
case " $os " in
12
14
Darwin)
@@ -36,16 +38,19 @@ case "$os" in
36
38
sudo apt-get install -y gfortran mpich2 libmpich2-3 libmpich2-dev
37
39
;;
38
40
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
43
48
;;
44
49
openmpi)
45
50
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
49
54
sh ./configure --prefix=$HOME /OpenMPI > /dev/null
50
55
make -j > /dev/null
51
56
sudo make install > /dev/null
You can’t perform that action at this time.
0 commit comments