.gitlab-ci.yml 63.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
41
42
43
44
45
46
47
48
49
50
51
52
      - cmake ..
        -DWALBERLA_BUFFER_DEBUG=$WALBERLA_BUFFER_DEBUG
        -DWALBERLA_BUILD_TESTS=ON
        -DWALBERLA_BUILD_BENCHMARKS=ON
        -DWALBERLA_BUILD_TUTORIALS=ON
        -DWALBERLA_BUILD_TOOLS=ON
        -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
53
      - cmake . -LA
Sebastian Eibl's avatar
Sebastian Eibl committed
54
      - make -j $NUM_BUILD_CORES -l $NUM_CORES
55
56
57
      - 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
58
59
   tags:
      - docker
60
61
62
63
64
65
66
67
68
69
70
71
   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"
72
73
74
75
76
77
   artifacts:
      when: always
      reports:
         junit:
            - report.xml
            - python/report.xml
78

Martin Bauer's avatar
Martin Bauer committed
79

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

Martin Bauer's avatar
Martin Bauer committed
86
87


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

intel_19_mpionly:
114
   extends: .build_template
Sebastian Eibl's avatar
Sebastian Eibl committed
115
   image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
116
117
118
   before_script:
      - pip3 install lbmpy jinja2
      - cd python
119
      - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
120
      - cd ..
121
      - CC=gcc CXX=g++ pip3 install pycuda
Sebastian Eibl's avatar
Sebastian Eibl committed
122
   variables:
123
      WALBERLA_BUILD_WITH_CUDA: "ON"
124
      WALBERLA_BUILD_WITH_OPENMP: "OFF"
125
      WALBERLA_BUILD_WITH_CODEGEN: "ON"
126
      WALBERLA_BUILD_WITH_PYTHON: "ON"
Sebastian Eibl's avatar
Sebastian Eibl committed
127
128
129
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
130
   
Sebastian Eibl's avatar
Sebastian Eibl committed
131
   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:
140
      - pip3 install lbmpy jinja2
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:
158
      - pip3 install lbmpy jinja2
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:
180
      - pip3 install lbmpy jinja2
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:
200
      - pip3 install lbmpy jinja2
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
233
234
   before_script:
      - pip3 install lbmpy jinja2
      - 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
   only:
      variables:
         - $ENABLE_NIGHTLY_BUILDS
248
   
Sebastian Eibl's avatar
Sebastian Eibl committed
249
   tags:
250
      - cuda
Sebastian Eibl's avatar
Sebastian Eibl committed
251
      - docker
Christian Godenschwager's avatar
Christian Godenschwager committed
252
253

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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