.gitlab-ci.yml 71.3 KB
Newer Older
1
2
###############################################################################
##                                                                           ##
Michael Kuron's avatar
Michael Kuron committed
3
##    General settings                                                       ##
4
5
6
7
##                                                                           ##
###############################################################################

stages:
8
   - pretest
Sebastian Eibl's avatar
Sebastian Eibl committed
9
10
   - test
   - deploy
11
   - benchmark
12

13

14
15
16
17
18
19
###############################################################################
##                                                                           ##
##    Build templates                                                        ##
##                                                                           ##
###############################################################################

20
.build_template:
Sebastian Eibl's avatar
Sebastian Eibl committed
21
22
23
24
25
26
27
28
   script:
      - export NUM_CORES=$(nproc --all)
      - export MAX_BUILD_CORES=$(( $(awk '( $1 == "MemTotal:" ) { print $2 }' /proc/meminfo) / ( 4 * 1024 * 1024  ) ))
      - "[[ $MAX_BUILD_CORES -lt $NUM_CORES ]] && export NUM_BUILD_CORES=$MAX_BUILD_CORES || export NUM_BUILD_CORES=$NUM_CORES"
      - $CXX --version
      - cmake --version
      - ccache --version
      - mpirun --version
Sebastian Eibl's avatar
Sebastian Eibl committed
29
      - python3 --version
Sebastian Eibl's avatar
Sebastian Eibl committed
30
      - python3 python/mesa_pd.py -y .
Sebastian Eibl's avatar
Sebastian Eibl committed
31
32
33
34
      - export CCACHE_BASEDIR=$CI_PROJECT_DIR
      - mkdir $CI_PROJECT_DIR/build
      - cd $CI_PROJECT_DIR/build
      - if dpkg --compare-versions `ompi_info | head -2 | tail -1 | sed 's/[^0-9.]*\([0-9.]*\).*/\1/'` ge 1.10; then export MPIEXEC_PREFLAGS="--allow-run-as-root" ; fi
Dominik Thoennes's avatar
Dominik Thoennes committed
35
36
37
38
39
40
      - cmake ..
        -DWALBERLA_BUFFER_DEBUG=$WALBERLA_BUFFER_DEBUG
        -DWALBERLA_BUILD_TESTS=ON
        -DWALBERLA_BUILD_BENCHMARKS=ON
        -DWALBERLA_BUILD_TUTORIALS=ON
        -DWALBERLA_BUILD_TOOLS=ON
41
        -DWALBERLA_BUILD_SHOWCASES=ON
Dominik Thoennes's avatar
Dominik Thoennes committed
42
43
44
45
46
47
48
49
50
51
52
53
        -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI
        -DWALBERLA_BUILD_WITH_CUDA=$WALBERLA_BUILD_WITH_CUDA
        -DWALBERLA_BUILD_WITH_PYTHON=$WALBERLA_BUILD_WITH_PYTHON
        -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP
        -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DMPIEXEC_PREFLAGS=$MPIEXEC_PREFLAGS
        -DWALBERLA_DOUBLE_ACCURACY=$WALBERLA_DOUBLE_ACCURACY
        -DWARNING_ERROR=ON
        -DWALBERLA_BUILD_WITH_METIS=$WALBERLA_BUILD_WITH_METIS
        -DWALBERLA_BUILD_WITH_PARMETIS=$WALBERLA_BUILD_WITH_PARMETIS
        -DWALBERLA_ENABLE_GUI=$WALBERLA_ENABLE_GUI
        -DWALBERLA_BUILD_WITH_CODEGEN=$WALBERLA_BUILD_WITH_CODEGEN
        -DWALBERLA_STL_BOUNDS_CHECKS=$WALBERLA_STL_BOUNDS_CHECKS
54
      - cmake . -LA
Sebastian Eibl's avatar
Sebastian Eibl committed
55
      - make -j $NUM_BUILD_CORES -l $NUM_CORES
56
57
      - ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test
   after_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
58
      - pip3 install lxml
59
      - python3 cmake/ctest2junit.py build > report.xml
Sebastian Eibl's avatar
Sebastian Eibl committed
60
61
   tags:
      - docker
62
63
64
65
66
67
68
69
70
71
72
73
   variables:
      CTEST_EXCLUDE_LABELS: "longrun"
      WALBERLA_BUILD_WITH_MPI: "ON"
      WALBERLA_BUILD_WITH_OPENMP: "ON"
      OMP_NUM_THREADS: "4"
      OMP_WAIT_POLICY: "PASSIVE"
      CMAKE_BUILD_TYPE: "Release"
      WALBERLA_BUFFER_DEBUG: "OFF"
      WALBERLA_DOUBLE_ACCURACY: "ON"
      WALBERLA_BUILD_WITH_METIS: "ON"
      WALBERLA_BUILD_WITH_PARMETIS: "ON"
      WALBERLA_ENABLE_GUI: "OFF"
74
75
76
77
78
79
   artifacts:
      when: always
      reports:
         junit:
            - report.xml
            - python/report.xml
80

Martin Bauer's avatar
Martin Bauer committed
81

82
83
###############################################################################
##                                                                           ##
Martin Bauer's avatar
Martin Bauer committed
84
##    Linux builds                                                           ##
85
86
87
##                                                                           ##
###############################################################################

Martin Bauer's avatar
Martin Bauer committed
88
89


90
intel_19_serial:
91
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
92
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
93
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
94
      - pip3 install lbmpy jinja2 pytest
95
      - cd python
96
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
97
      - cd ..
98
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
99
   variables:
100
      WALBERLA_BUILD_WITH_CUDA: "ON"
101
102
103
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
104
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
105
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
106
107
108
109
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
110
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
111
112
      - docker
      - intel
113
114

intel_19_mpionly:
115
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
116
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
117
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
118
      - pip3 install lbmpy jinja2 pytest
119
      - cd python
120
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
121
      - cd ..
122
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
123
   variables:
124
      WALBERLA_BUILD_WITH_CUDA: "ON"
125
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
126
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
127
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
128
129
130
131
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
132
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
133
134
      - docker
      - intel
135
136

intel_19_hybrid:
137
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
138
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
139
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
140
      - pip3 install lbmpy jinja2 pytest
141
      - cd python
142
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
143
      - cd ..
144
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
145
   variables:
146
      WALBERLA_BUILD_WITH_CUDA: "ON"
147
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
148
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
149
   tags:
150
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
151
152
      - docker
      - intel
153
154

intel_19_serial_dbg:
155
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
156
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
157
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
158
      - pip3 install lbmpy jinja2 pytest
159
      - cd python
160
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
161
      - cd ..
162
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
163
   variables:
164
      WALBERLA_BUILD_WITH_CUDA: "ON"
165
166
167
168
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      CMAKE_BUILD_TYPE: "DebugOptimized"
169
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
170
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
171
   tags:
172
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
173
174
      - docker
      - intel
175
176

intel_19_mpionly_dbg:
177
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
178
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
179
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
180
      - pip3 install lbmpy jinja2 pytest
181
      - cd python
182
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
183
      - cd ..
184
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
185
   variables:
186
      WALBERLA_BUILD_WITH_CUDA: "ON"
187
188
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
189
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
190
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
191
   tags:
192
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
193
194
      - docker
      - intel
195
196

intel_19_hybrid_dbg:
197
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
198
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
199
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
200
      - pip3 install lbmpy jinja2 pytest
201
      - cd python
202
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
203
      - cd ..
204
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
205
   variables:
206
      WALBERLA_BUILD_WITH_CUDA: "ON"
207
      CMAKE_BUILD_TYPE: "DebugOptimized"
208
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
209
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
210
   tags:
211
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
212
213
      - docker
      - intel
214
215

intel_19_hybrid_dbg_sp:
216
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
217
218
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
219
      WALBERLA_BUILD_WITH_CUDA: "ON"
220
221
222
223
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_DOUBLE_ACCURACY: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      WALBERLA_BUILD_WITH_METIS: "OFF"
Sebastian Eibl's avatar
Sebastian Eibl committed
224
   tags:
225
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
226
227
      - docker
      - intel
228

Christian Godenschwager's avatar
Christian Godenschwager committed
229
gcc_7_serial:
230
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
231
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
232
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
233
      - pip3 install lbmpy jinja2 pytest
234
      - cd python
235
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
236
      - cd ..
237
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
238
   variables:
239
      WALBERLA_BUILD_WITH_CUDA: "ON"
240
241
242
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
243
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
244
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
245
246
247
248
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
249
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
250
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
251
252

gcc_7_mpionly:
253
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
254
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
255
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
256
      - pip3 install lbmpy jinja2 pytest
257
      - cd python
258
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
259
      - cd ..
260
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
261
   variables:
262
      WALBERLA_BUILD_WITH_CUDA: "ON"
263
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
264
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
265
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
266
267
268
269
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
270
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
271
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
272
273

gcc_7_hybrid:
274
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
275
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
276
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
277
      - pip3 install lbmpy jinja2 pytest
278
      - cd python
279
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
280
      - cd ..
281
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
282
   variables:
283
      WALBERLA_BUILD_WITH_CUDA: "ON"
284
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
285
      WALBERLA_BUILD_WITH_PYTHON: "ON"
286
287
288
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
289
   tags:
290
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
291
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
292
293

gcc_7_serial_dbg:
294
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
295
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
296
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
297
      - pip3 install lbmpy jinja2 pytest
298
      - cd python
299
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
300
      - cd ..
301
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
302
   variables:
303
      WALBERLA_BUILD_WITH_CUDA: "ON"
304
305
306
307
308
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_ENABLE_GUI: "ON"
309
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
310
      WALBERLA_BUILD_WITH_PYTHON: "ON"
311
312
313
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
314
   tags:
315
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
316
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
317
318

gcc_7_mpionly_dbg:
319
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
320
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
321
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
322
      - pip3 install lbmpy jinja2 pytest
323
      - cd python
324
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
325
      - cd ..
326
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
327
   variables:
328
      WALBERLA_BUILD_WITH_CUDA: "ON"
329
330
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
331
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
332
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
333
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
334
      variables:
Sebastian Eibl's avatar
Sebastian Eibl committed
335
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
336
   tags:
337
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
338
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
339
340

gcc_7_hybrid_dbg:
341
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
342
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
343
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
344
      - pip3 install lbmpy jinja2 pytest
345
      - cd python
346
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
347
      - cd ..
348
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
349
   variables:
350
      WALBERLA_BUILD_WITH_CUDA: "ON"
351
      CMAKE_BUILD_TYPE: "DebugOptimized"
352
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
353
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
354
   tags:
355
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
356
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
357
358

gcc_7_hybrid_dbg_sp:
359
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
360
361
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
362
      WALBERLA_BUILD_WITH_CUDA: "ON"
363
364
365
366
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_DOUBLE_ACCURACY: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      WALBERLA_BUILD_WITH_METIS: "OFF"
Sebastian Eibl's avatar
Sebastian Eibl committed
367
368
369
370
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
371
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
372
373
374
      - docker

gcc_8_serial:
375
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
376
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
Dominik Thoennes's avatar
fix yml    
Dominik Thoennes committed
377
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
378
      - pip3 install lbmpy jinja2 pytest
379
      - cd python
380
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
381
      - cd ..
382
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
383
   variables:
384
      WALBERLA_BUILD_WITH_CUDA: "ON"
385
386
387
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
388
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
389
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
390
391
392
393
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
394
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
395
      - docker
Martin Bauer's avatar
Martin Bauer committed
396

397
gcc_8_mpionly:
398
   extends: .build_template
399
400
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
401
      - pip3 install lbmpy jinja2 pytest
402
      - cd python
403
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
404
      - cd ..
405
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
406
   variables:
407
      WALBERLA_BUILD_WITH_CUDA: "ON"
408
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
409
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
410
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
411
412
413
414
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
415
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
416
      - docker
Martin Bauer's avatar
Martin Bauer committed
417

418
gcc_8_hybrid:
419
   extends: .build_template
420
421
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
422
      - pip3 install lbmpy jinja2 pytest
423
      - cd python
424
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
425
      - cd ..
426
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
427
   variables:
428
      WALBERLA_BUILD_WITH_CUDA: "ON"
429
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
430
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
431
432
433
434
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
435
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
436
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
437

438
gcc_8_serial_dbg:
439
   extends: .build_template
440
441
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
442
      - pip3 install lbmpy jinja2 pytest
443
      - cd python
444
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
445
      - cd ..
446
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
447
   variables:
448
      WALBERLA_BUILD_WITH_CUDA: "ON"
449
450
451
452
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      CMAKE_BUILD_TYPE: "DebugOptimized"
453
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
454
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
455
456
457
458
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
459
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
460
      - docker
Martin Bauer's avatar
Martin Bauer committed
461

462
gcc_8_mpionly_dbg:
463
   extends: .build_template
464
465
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
466
      - pip3 install lbmpy jinja2 pytest
467
      - cd python
468
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
469
      - cd ..
470
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
471
   variables:
472
      WALBERLA_BUILD_WITH_CUDA: "ON"
473
474
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
475
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
476
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
477
478
479
480
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
481
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
482
      - docker
Martin Bauer's avatar
Martin Bauer committed
483

484
gcc_8_hybrid_dbg:
485
   extends: .build_template
486
487
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
488
      - pip3 install lbmpy jinja2 pytest
489
      - cd python
490
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
491
      - cd ..
492
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
493
   variables:
494
      WALBERLA_BUILD_WITH_CUDA: "ON"
495
      CMAKE_BUILD_TYPE: "DebugOptimized"
496
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
497
      WALBERLA_BUILD_WITH_PYTHON: "ON"
498
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
499
      variables:
500
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
501
   tags:
502
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
503
      - docker
Martin Bauer's avatar
Martin Bauer committed
504

505
gcc_8_hybrid_dbg_sp:
506
   extends: .build_template
507
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
Sebastian Eibl's avatar
Sebastian Eibl committed
508
   variables:
509
      WALBERLA_BUILD_WITH_CUDA: "ON"
510
511
512
513
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_DOUBLE_ACCURACY: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      WALBERLA_BUILD_WITH_METIS: "OFF"
Sebastian Eibl's avatar
Sebastian Eibl committed
514
515
516
517
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
518
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
519
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
520

521
gcc_9_serial:
522
   extends: .build_template
523
524
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
525
      - pip3 install lbmpy jinja2 pytest
526
      - cd python
527
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
528
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
529
530
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
531
532
533
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
534
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
535
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
536
537
538
539
540
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
541

542
gcc_9_mpionly:
543
   extends: .build_template
544
545
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
546
      - pip3 install lbmpy jinja2 pytest
547
      - cd python
548
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
549
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
550
551
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
552
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
553
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
554
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
555
556
557
558
559
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
560

561
gcc_9_hybrid:
562
   extends: .build_template
563
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
Dominik Thoennes's avatar
Dominik Thoennes committed
564
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
565
      - pip3 install lbmpy jinja2 pytest
Dominik Thoennes's avatar
Dominik Thoennes committed
566
      - cd python
567
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
Dominik Thoennes's avatar
Dominik Thoennes committed
568
569
570
571
      - cd ..
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
572
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
573
574
575
576
577
578
579
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_9_serial_dbg:
580
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
581
582
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
583
      - pip3 install lbmpy jinja2 pytest
Dominik Thoennes's avatar
Dominik Thoennes committed
584
      - cd python
585
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
Dominik Thoennes's avatar
Dominik Thoennes committed
586
587
588
      - cd ..
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
589
590
591
592
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      CMAKE_BUILD_TYPE: "DebugOptimized"
Dominik Thoennes's avatar
Dominik Thoennes committed
593
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
594
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
595
596
597
598
599
600
601
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_9_mpionly_dbg:
602
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
603
604
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
605
      - pip3 install lbmpy jinja2 pytest
Dominik Thoennes's avatar
Dominik Thoennes committed
606
      - cd python
607
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
Dominik Thoennes's avatar
Dominik Thoennes committed
608
609
610
      - cd ..
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
611
612
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
Dominik Thoennes's avatar
Dominik Thoennes committed
613
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
614
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
615
616
617
618
619
620
621
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_9_hybrid_dbg:
622
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
623
624
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
625
      - pip3 install lbmpy jinja2 pytest
Dominik Thoennes's avatar
Dominik Thoennes committed
626
      - cd python
627
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
Dominik Thoennes's avatar
Dominik Thoennes committed
628
629
630
      - cd ..
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
631
      CMAKE_BUILD_TYPE: "DebugOptimized"
Dominik Thoennes's avatar
Dominik Thoennes committed
632
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
633
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
634
635
636
637
638
639
640
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_9_hybrid_dbg_sp:
641
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
642
643
644
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
645
646
647
648
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_DOUBLE_ACCURACY: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      WALBERLA_BUILD_WITH_METIS: "OFF"
Dominik Thoennes's avatar
Dominik Thoennes committed
649
650
651
652
653
654
655
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_10_serial:
656
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
657
658
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
659
      - pip3 install lbmpy jinja2 pytest
Dominik Thoennes's avatar
Dominik Thoennes committed
660
      - cd python
661
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
Dominik Thoennes's avatar
Dominik Thoennes committed
662
663
664
      - cd ..
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
665
666
667
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
Dominik Thoennes's avatar
Dominik Thoennes committed
668
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
669
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
670
671
672
673
674
675
676
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_10_mpionly:
677
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
678
679
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
680
      - pip3 install lbmpy jinja2 pytest
Dominik Thoennes's avatar
Dominik Thoennes committed
681
      - cd python
682
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
Dominik Thoennes's avatar
Dominik Thoennes committed
683
684
685
      - cd ..
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
686
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
Dominik Thoennes's avatar
Dominik Thoennes committed
687
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
688
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
689
690
691
692
693
694
695
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
   tags:
      - docker

gcc_10_hybrid:
696
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
697
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
698
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
699
      - pip3 install lbmpy jinja2 pytest
700
      - cd python
701
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
702
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
703
704
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
705
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
706
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
707
708
709
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
710
711
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
712

Dominik Thoennes's avatar
Dominik Thoennes committed
713
gcc_10_serial_dbg:
714
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
715
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
716
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
717
      - pip3 install lbmpy jinja2 pytest
718
      - cd python
719
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
720
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
721
722
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
723
724
725
726
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      CMAKE_BUILD_TYPE: "DebugOptimized"
727
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
728
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
729
730
731
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
732
733
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
734

Dominik Thoennes's avatar
Dominik Thoennes committed
735
gcc_10_mpionly_dbg:
736
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
737
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
738
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
739
      - pip3 install lbmpy jinja2 pytest
740
      - cd python
741
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
742
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
743
744
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
745
746
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
747
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
748
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
749
750
751
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
752
753
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
754

Dominik Thoennes's avatar
Dominik Thoennes committed
755
gcc_10_hybrid_dbg:
756
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
757
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
758
   before_script:
Dominik Thoennes's avatar
Dominik Thoennes committed
759
      - pip3 install lbmpy jinja2 pytest
760
      - cd python
761
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
762
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
763
764
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
765
      CMAKE_BUILD_TYPE: "DebugOptimized"
766
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
767
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
768
769
770
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
Sebastian Eibl's avatar
Sebastian Eibl committed
771
772
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
773

Dominik Thoennes's avatar
Dominik Thoennes committed
774
gcc_10_hybrid_dbg_sp:
775
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
776
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
Dominik Thoennes's avatar
Dominik Thoennes committed
777
778