1 # This is the configuration file for Travis CI, an online continuous integration service.
14 #- export NUM_THREADS=1
15 ## Installation of a newer version of CMake
16 #- wget https://cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz --no-check-certificate
17 #- tar -zxf cmake-3.3.2-Linux-x86_64.tar.gz
18 #- cmake-3.3.2-Linux-x86_64/bin/cmake --version
20 ## Installation of newer version of HDF5
21 #- wget http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.14.tar.gz
22 #- tar -zxf hdf5-1.8.14.tar.gz
25 #- make -j$NUM_THREADS --silent
26 #- sudo make install -j --silent
28 ## Installation of newer version of OpenMPI
29 #- wget http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.4.tar.gz
30 #- tar -zxf openmpi-1.8.4.tar.gz
33 #- make -j$NUM_THREADS --silent
34 #- sudo make install -j --silent
36 - ls -l /usr/include/*mpi*
37 - ls -l /usr/include/openmpi/
38 - sudo ln -s /usr/include/openmpi/mpi-ext.h /usr/include/mpi-ext.h
39 - sudo ln -s /usr/include/openmpi/mpif-common.h /usr/include/mpif-common.h
40 - sudo ln -s /usr/include/openmpi/mpif-config.h /usr/include/mpif-config.h
41 - sudo ln -s /usr/include/openmpi/mpif.h /usr/include/mpif.h
42 - sudo ln -s /usr/include/openmpi/mpif-mpi-io.h /usr/include/mpif-mpi-io.h
43 - sudo ln -s /usr/include/openmpi/mpi.h /usr/include/mpi.h
44 - sudo ln -s /usr/include/openmpi/mpi_portable_platform.h /usr/include/mpi_portable_platform.h
45 - ls -l /usr/include/*mpi*
50 - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCDMATH_WITH_TESTS=ON -DCDMATH_WITH_PETSC=ON ..
52 - sudo make install -j --silent