Skip to content

Commit 7496ffd

Browse files
committed
Test with a non-broken OpenMPI
1 parent 5d24cc9 commit 7496ffd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ 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+
wget --no-check-certificate https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.2.tar.gz
47+
tar -zxvf openmpi-1.10.2.tar.gz
48+
cd openmpi-1.10.2
49+
sh ./configure --prefix=$HOME/OpenMPI
50+
make -j
51+
sudo make install
4752
;;
4853
*)
4954
echo "Unknown MPI implementation: $MPI_IMPL"

0 commit comments

Comments
 (0)