forked from ALaDyn/ALaDyn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
260 lines (241 loc) · 8.33 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
language: cpp
matrix:
include:
- os: osx
compiler: gcc
name: macOS - gfortran
addons:
homebrew:
packages:
- cmake
- open-mpi
- fftw
- gcc
update: true
env:
- MATRIX_EVAL="FC=/usr/local/bin/gfortran-10"
- os: osx
compiler: clang
name: macOS - PGI 19.10
addons:
homebrew:
packages:
- cmake
- open-mpi
- fftw
update: true
env:
- MATRIX_EVAL="curl --location --referer 'http://www.pgroup.com/products/community.htm' 'https://www.pgroup.com/support/downloader.php?file=pgi-community-macos-x64' -o PGI.dmg && hdiutil attach PGI.dmg && sudo installer -store -pkg '/Volumes/PGI 19.10/PGI 19.10.pkg' -target / && export FC=/opt/pgi/osx86-64/19.10/bin/pgfortran && export PGI=/opt/pgi && export LM_LICENSE_FILE=$PGI/license.dat && export PATH=$PGI/osx86-64/19.10/bin:$PATH && export MACOSX_DEPLOYMENT_TARGET=10.13"
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - PGI 19.10 - openmpi
addons:
apt:
update: true
packages:
- gfortran
- libopenmpi-dev
- libboost-all-dev
- libfftw3-dev
- libnuma-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="curl --location --referer 'http://www.pgroup.com/products/community.htm' 'https://www.pgroup.com/support/downloader.php?file=pgi-community-linux-x64' -o pgilinux-x86-64.tar.gz && tar zxvf pgilinux-x86-64.tar.gz && export TEMPORARY_FILES=/tmp && export PGI_SILENT=true && export PGI_ACCEPT_EULA=accept && export PGI_INSTALL_DIR=/opt/pgi && export PGI_INSTALL_NVIDIA=false && export PGI_INSTALL_AMD=false && export PGI_INSTALL_JAVA=false && export PGI_INSTALL_MPI=false && export PGI_MPI_GPU_SUPPORT=false && export PGI_INSTALL_MANAGED=false && export VERBOSE=false && cd install_components && ./install && export PGI_VERSION=19.10 && export PGI=/opt/pgi && export PATH=/opt/pgi/linux86-64/19.10/bin:$PATH && export MANPATH=$MANPATH:/opt/pgi/linux86-64/19.10/man && export LM_LICENSE_FILE=$LM_LICENSE_FILE:/opt/pgi/license.dat && export FC=/opt/pgi/linux86-64/19.10/bin/pgfortran && cd .."
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
- os: linux
compiler: clang
dist: bionic
name: ubuntu - native clang - openmpi
addons:
apt:
update: true
packages:
- gfortran
- libopenmpi-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="FC=/usr/bin/gfortran"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - native gcc - openmpi
addons:
apt:
update: true
packages:
- gfortran
- libopenmpi-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="FC=gfortran"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - [email protected] - openmpi
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- gfortran-8
- gfortran
- libopenmpi-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8 && FC=/usr/bin/gfortran-8"
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - [email protected] - openmpi
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
- gfortran-9
- gfortran
- libopenmpi-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9 && FC=/usr/bin/gfortran-9"
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - [email protected] - openmpi
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-10
- gfortran-10
- gfortran
- libopenmpi-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="CC=gcc-10 && CXX=g++-10 && FC=/usr/bin/gfortran-10"
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - PGI 19.10 - mpich
addons:
apt:
update: true
packages:
- gfortran
- libmpich-dev
- libboost-all-dev
- libfftw3-dev
- libnuma-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="curl --location --referer 'http://www.pgroup.com/products/community.htm' 'https://www.pgroup.com/support/downloader.php?file=pgi-community-linux-x64' -o pgilinux-x86-64.tar.gz && tar zxvf pgilinux-x86-64.tar.gz && export TEMPORARY_FILES=/tmp && export PGI_SILENT=true && export PGI_ACCEPT_EULA=accept && export PGI_INSTALL_DIR=/opt/pgi && export PGI_INSTALL_NVIDIA=false && export PGI_INSTALL_AMD=false && export PGI_INSTALL_JAVA=false && export PGI_INSTALL_MPI=false && export PGI_MPI_GPU_SUPPORT=false && export PGI_INSTALL_MANAGED=false && export VERBOSE=false && cd install_components && ./install && export PGI_VERSION=19.10 && export PGI=/opt/pgi && export PATH=/opt/pgi/linux86-64/19.10/bin:$PATH && export MANPATH=$MANPATH:/opt/pgi/linux86-64/19.10/man && export LM_LICENSE_FILE=$LM_LICENSE_FILE:/opt/pgi/license.dat && export FC=/opt/pgi/linux86-64/19.10/bin/pgfortran && cd .."
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - native gcc - mpich
addons:
apt:
update: true
packages:
- gfortran
- libmpich-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="FC=gfortran"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - [email protected] - mpich
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- gfortran-8
- gfortran
- libmpich-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8 && FC=/usr/bin/gfortran-8"
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - [email protected] - mpich
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
- gfortran-9
- gfortran
- libmpich-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9 && FC=/usr/bin/gfortran-9"
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
- os: linux
compiler: gcc
dist: bionic
name: ubuntu - [email protected] - mpich
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-10
- gfortran-10
- gfortran
- libmpich-dev
- libboost-all-dev
- libfftw3-dev
- libfftw3-mpi-dev
env:
- MATRIX_EVAL="CC=gcc-10 && CXX=g++-10 && FC=/usr/bin/gfortran-10"
- ADDITIONAL_CMAKE_SETTINGS="-DFORCE_OLD_MPI:BOOL=ON"
#do not consider known failing builds for the whole build status
allow_failures:
- name: macOS - PGI 19.10
- name: ubuntu - PGI 19.10 - openmpi
- name: ubuntu - PGI 19.10 - mpich
before_install:
- eval "${MATRIX_EVAL}"
before_script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE="Release" -DCMAKE_Fortran_COMPILER=$FC ${ADDITIONAL_CMAKE_SETTINGS}
script:
- cmake --build . --target install