Skip to content

Commit a04d89c

Browse files
committed
Merge branch 'master' of https://github.com/EDmodel/ED2 into Forestry_Testing
2 parents 9dcb293 + 7a39cd9 commit a04d89c

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

.travis.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
language: c
2-
sudo: required
2+
dist: xenial
3+
4+
addons:
5+
apt:
6+
packages:
7+
- gfortran
8+
- libopenmpi-dev
9+
- libhdf5-openmpi-dev
310

411
before_install:
5-
- sudo apt-get clean && sudo apt-get update
6-
- sudo apt-get install gcc gfortran hdf5-tools libopenmpi-dev libhdf5-openmpi-dev
712
- which gfortran
13+
- gfortran --version
814
- which gcc
9-
- which h5dump
15+
- gcc --version
1016

1117
script:
12-
- pwd
18+
- set -e
1319
- cd ED/build/
1420
- ./install.sh -k C -p travisci -g

ED/build/make/include.mk.travisci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ BASE=$(ED_ROOT)/build/
2424
# still be able to compile without HDF5 but the code is not going to run. #
2525
#------------------------------------------------------------------------------------------#
2626
USE_HDF5=1
27-
HDF5_HOME=/usr
27+
HDF5_HOME=/usr/lib/x86_64-linux-gnu/hdf5/openmpi
2828
HDF5_INCS=-I$(HDF5_HOME)/include
2929
HDF5_LIBS=-lz -L$(HDF5_HOME)/lib -lhdf5 -lhdf5_fortran -lhdf5_hl
3030
#------------------------------------------------------------------------------------------#

0 commit comments

Comments
 (0)