forked from Parallel-NetCDF/E3SM-IO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 997 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: c
dist: trusty
branches:
only:
- master
before_install:
- sudo add-apt-repository ppa:dns/gnu -y
- sudo apt-get update -qq
- sudo apt-get install -y mpich2
- sudo apt-get install -y valgrind
- mpichversion
- mpicc -show
- which mpicc
- which valgrind
- wget https://parallel-netcdf.github.io/Release/pnetcdf-1.11.1.tar.gz
- tar -xzvf pnetcdf-1.11.1.tar.gz
- pushd pnetcdf-1.11.1
- ./configure --prefix=$HOME/PnetCDF --disable-fortran --disable-cxx --silent MPICC=mpicc
- make -s LIBTOOLFLAGS=--silent V=1 -j4
- make -s install
- popd
script:
- make PnetCDF_DIR=$HOME/PnetCDF
# - mpiexec -n 16 valgrind --quiet --leak-check=full ./e3sm_io datasets/f_case_866x72_16p.nc
# - mpiexec -n 16 valgrind --quiet --leak-check=full ./e3sm_io datasets/g_case_cmpaso_16p.nc
- mpiexec -n 16 ./e3sm_io datasets/f_case_866x72_16p.nc
- mpiexec -n 16 ./e3sm_io datasets/g_case_cmpaso_16p.nc
after_success:
- make -s clean
notifications:
email: false