.gitlab-ci.yml 63.4 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
58
      - ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test
   after_script:
      - python3 cmake/ctest2junit.py build > report.xml
Sebastian Eibl's avatar
Sebastian Eibl committed
59
60
   tags:
      - docker
61
62
63
64
65
66
67
68
69
70
71
72
   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"
73
74
75
76
77
78
   artifacts:
      when: always
      reports:
         junit:
            - report.xml
            - python/report.xml
79

Martin Bauer's avatar
Martin Bauer committed
80

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

Martin Bauer's avatar
Martin Bauer committed
87
88


89
intel_19_serial:
90
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
91
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
92
93
94
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
95
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
96
      - cd ..
97
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
98
   variables:
99
      WALBERLA_BUILD_WITH_CUDA: "ON"
100
101
102
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
103
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
104
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
105
106
107
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
108
   
Sebastian Eibl's avatar
Sebastian Eibl committed
109
   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
118
119
   before_script:
      - pip3 install lbmpy jinja2
      - 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
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
131
   
Sebastian Eibl's avatar
Sebastian Eibl committed
132
   tags:
133
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
134
135
      - docker
      - intel
136
137

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

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

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

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

intel_19_hybrid_dbg_sp:
217
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
218
219
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
   variables:
220
      WALBERLA_BUILD_WITH_CUDA: "ON"
221
222
223
224
      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
225
   tags:
226
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
227
228
      - docker
      - intel
229

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

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

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

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

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

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

gcc_7_hybrid_dbg_sp:
365
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
366
367
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
   variables:
368
      WALBERLA_BUILD_WITH_CUDA: "ON"
369
370
371
372
      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
373
374
375
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
376
   
Sebastian Eibl's avatar
Sebastian Eibl committed
377
   tags:
378
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
379
380
381
      - docker

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

405
gcc_8_mpionly:
406
   extends: .build_template
407
408
409
410
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
411
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
412
      - cd ..
413
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
414
   variables:
415
      WALBERLA_BUILD_WITH_CUDA: "ON"
416
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
417
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
418
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
419
420
421
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
422
   
Sebastian Eibl's avatar
Sebastian Eibl committed
423
   tags:
424
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
425
      - docker
Martin Bauer's avatar
Martin Bauer committed
426

427
gcc_8_hybrid:
428
   extends: .build_template
429
430
431
432
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
433
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
434
      - cd ..
435
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
436
   variables:
437
      WALBERLA_BUILD_WITH_CUDA: "ON"
438
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
439
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
440
441
442
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
443
   
Sebastian Eibl's avatar
Sebastian Eibl committed
444
   tags:
445
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
446
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
447

448
gcc_8_serial_dbg:
449
   extends: .build_template
450
451
452
453
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
454
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
455
      - cd ..
456
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
457
   variables:
458
      WALBERLA_BUILD_WITH_CUDA: "ON"
459
460
461
462
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
      CMAKE_BUILD_TYPE: "DebugOptimized"
463
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
464
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
465
466
467
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
468
   
Sebastian Eibl's avatar
Sebastian Eibl committed
469
   tags:
470
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
471
      - docker
Martin Bauer's avatar
Martin Bauer committed
472

473
gcc_8_mpionly_dbg:
474
   extends: .build_template
475
476
477
478
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
479
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
480
      - cd ..
481
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
482
   variables:
483
      WALBERLA_BUILD_WITH_CUDA: "ON"
484
485
      CMAKE_BUILD_TYPE: "DebugOptimized"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
486
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
487
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
488
489
490
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
491
   
Sebastian Eibl's avatar
Sebastian Eibl committed
492
   tags:
493
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
494
      - docker
Martin Bauer's avatar
Martin Bauer committed
495

496
gcc_8_hybrid_dbg:
497
   extends: .build_template
498
499
500
501
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
502
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
503
      - cd ..
504
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
505
   variables:
506
      WALBERLA_BUILD_WITH_CUDA: "ON"
507
      CMAKE_BUILD_TYPE: "DebugOptimized"
508
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
509
      WALBERLA_BUILD_WITH_PYTHON: "ON"
510
   only:
Sebastian Eibl's avatar
Sebastian Eibl committed
511
      variables:
512
         - $ENABLE_NIGHTLY_BUILDS
513
   
Sebastian Eibl's avatar
Sebastian Eibl committed
514
   tags:
515
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
516
      - docker
Martin Bauer's avatar
Martin Bauer committed
517

518
gcc_8_hybrid_dbg_sp:
519
   extends: .build_template
520
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
Sebastian Eibl's avatar
Sebastian Eibl committed
521
   variables:
522
      WALBERLA_BUILD_WITH_CUDA: "ON"
523
524
525
526
      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
527
528
529
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
530
   
Sebastian Eibl's avatar
Sebastian Eibl committed
531
   tags:
532
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
533
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
534

535
gcc_9_serial:
536
   extends: .build_template
537
538
539
540
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
541
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
542
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
543
544
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
545
546
547
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
548
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
549
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
550
551
552
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
553
   
Sebastian Eibl's avatar
Sebastian Eibl committed
554
555
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
556

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

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

gcc_9_serial_dbg:
597
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
598
599
600
601
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
602
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
Dominik Thoennes's avatar
Dominik Thoennes committed
603
604
605
      - cd ..
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
606
607
608
609
      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
610
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
611
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
612
613
614
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
615
   
Dominik Thoennes's avatar
Dominik Thoennes committed
616
617
618
619
   tags:
      - docker

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

gcc_9_hybrid_dbg:
641
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
642
643
644
645
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
646
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
Dominik Thoennes's avatar
Dominik Thoennes committed
647
648
649
      - cd ..
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
650
      CMAKE_BUILD_TYPE: "DebugOptimized"
Dominik Thoennes's avatar
Dominik Thoennes committed
651
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
652
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
653
654
655
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
656
   
Dominik Thoennes's avatar
Dominik Thoennes committed
657
658
659
660
   tags:
      - docker

gcc_9_hybrid_dbg_sp:
661
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
662
663
664
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
665
666
667
668
      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
669
670
671
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
672
   
Dominik Thoennes's avatar
Dominik Thoennes committed
673
674
675
676
   tags:
      - docker

gcc_10_serial:
677
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
678
679
680
681
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
   before_script:
      - pip3 install lbmpy jinja2
      - 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
687
688
      WALBERLA_BUILD_WITH_MPI: "OFF"
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
      WALBERLA_BUILD_WITH_PARMETIS: "OFF"
Dominik Thoennes's avatar
Dominik Thoennes committed
689
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
690
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Dominik Thoennes's avatar
Dominik Thoennes committed
691
692
693
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
694
   
Dominik Thoennes's avatar
Dominik Thoennes committed
695
696
697
698
   tags:
      - docker

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

gcc_10_hybrid:
719
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
720
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
721
722
723
724
   stage: pretest
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
725
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
726
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
727
728
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
729
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
730
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
731
732
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
733

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

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

Dominik Thoennes's avatar
Dominik Thoennes committed
770
gcc_10_hybrid_dbg:
771
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
772
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
773
774
775
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
776
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
777
      - cd ..
Sebastian Eibl's avatar
Sebastian Eibl committed
778
779
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
780
      CMAKE_BUILD_TYPE: "DebugOptimized"
781
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
782
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
783
784
   tags:
      - docker
Sebastian Eibl's avatar
Sebastian Eibl committed
785

Dominik Thoennes's avatar
Dominik Thoennes committed
786
gcc_10_hybrid_dbg_sp:
787
   extends: .build_template
Dominik Thoennes's avatar
Dominik Thoennes committed
788
   image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
Sebastian Eibl's avatar
Sebastian Eibl committed
789
790
   variables:
      WALBERLA_BUILD_WITH_CUDA: "OFF"
791
792
793
794
      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
795
796
   tags:
      - docker
797
798

clang_6.0_serial:
799
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
800
   image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
801
802
803
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
804
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
805
      - cd ..
806
      - CC=gcc CXX=g++ pip3 install pycuda
</