Skip to content

Commit b93d5a9

Browse files
committed
Merge pull request #144 from JuliaParallel/anj/openmpi
Test with a non-broken OpenMPI
2 parents f2bd4c9 + a80dbbc commit b93d5a9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ env:
1414
- MPI_IMPL=openmpi
1515
before_install:
1616
- sh ./conf/travis-install-mpi.sh $MPI_IMPL
17+
- export PATH=$HOME/OpenMPI/bin:$PATH
1718
after_success:
1819
- if [ "$TRAVIS_JULIA_VERSION" = nightly ]; then julia -e 'cd(Pkg.dir("MPI")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Coveralls.process_folder())'; fi

conf/travis-install-mpi.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ case "$os" in
4343
# rm -f ./mpich_3.1-1ubuntu_amd64.deb
4444
;;
4545
openmpi)
46-
sudo apt-get install -y gfortran openmpi-bin openmpi-common libopenmpi-dev
46+
sudo apt-get install -y gfortran
47+
wget --no-check-certificate https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.2.tar.gz
48+
tar -zxvf openmpi-1.10.2.tar.gz
49+
cd openmpi-1.10.2
50+
sh ./configure --prefix=$HOME/OpenMPI
51+
make -j
52+
sudo make install
4753
;;
4854
*)
4955
echo "Unknown MPI implementation: $MPI_IMPL"

0 commit comments

Comments
 (0)