Skip to content
Snippets Groups Projects
Commit d4acb932 authored by Christoph Schwarzmeier's avatar Christoph Schwarzmeier
Browse files

Merge branch 'thoennes/add-oneapi-21' into 'master'

add Intel OneApi compiler to CI

See merge request walberla/walberla!465
parents ace8fea3 d41cbde2
Branches
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ stages: ...@@ -19,6 +19,7 @@ stages:
.build_template: .build_template:
script: script:
- pip install -I cmake==3.16.3
- export NUM_CORES=$(nproc --all) - export NUM_CORES=$(nproc --all)
- export MAX_BUILD_CORES=$(( $(awk '( $1 == "MemTotal:" ) { print $2 }' /proc/meminfo) / ( 4 * 1024 * 1024 ) )) - 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" - "[[ $MAX_BUILD_CORES -lt $NUM_CORES ]] && export NUM_BUILD_CORES=$MAX_BUILD_CORES || export NUM_BUILD_CORES=$NUM_CORES"
...@@ -55,6 +56,7 @@ stages: ...@@ -55,6 +56,7 @@ stages:
- make -j $NUM_BUILD_CORES -l $NUM_CORES - make -j $NUM_BUILD_CORES -l $NUM_CORES
- ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test - ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test
after_script: after_script:
- pip3 install lxml
- python3 cmake/ctest2junit.py build > report.xml - python3 cmake/ctest2junit.py build > report.xml
tags: tags:
- docker - docker
...@@ -90,7 +92,7 @@ intel_19_serial: ...@@ -90,7 +92,7 @@ intel_19_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19 image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -114,7 +116,7 @@ intel_19_mpionly: ...@@ -114,7 +116,7 @@ intel_19_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19 image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -136,7 +138,7 @@ intel_19_hybrid: ...@@ -136,7 +138,7 @@ intel_19_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19 image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -154,7 +156,7 @@ intel_19_serial_dbg: ...@@ -154,7 +156,7 @@ intel_19_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19 image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -176,7 +178,7 @@ intel_19_mpionly_dbg: ...@@ -176,7 +178,7 @@ intel_19_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19 image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -196,7 +198,7 @@ intel_19_hybrid_dbg: ...@@ -196,7 +198,7 @@ intel_19_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19 image: i10git.cs.fau.de:5005/walberla/buildenvs/intel:19
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -229,7 +231,7 @@ gcc_7_serial: ...@@ -229,7 +231,7 @@ gcc_7_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -252,7 +254,7 @@ gcc_7_mpionly: ...@@ -252,7 +254,7 @@ gcc_7_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -273,7 +275,7 @@ gcc_7_hybrid: ...@@ -273,7 +275,7 @@ gcc_7_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -293,7 +295,7 @@ gcc_7_serial_dbg: ...@@ -293,7 +295,7 @@ gcc_7_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -318,7 +320,7 @@ gcc_7_mpionly_dbg: ...@@ -318,7 +320,7 @@ gcc_7_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -340,7 +342,7 @@ gcc_7_hybrid_dbg: ...@@ -340,7 +342,7 @@ gcc_7_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:7
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -374,7 +376,7 @@ gcc_8_serial: ...@@ -374,7 +376,7 @@ gcc_8_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -397,7 +399,7 @@ gcc_8_mpionly: ...@@ -397,7 +399,7 @@ gcc_8_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -418,7 +420,7 @@ gcc_8_hybrid: ...@@ -418,7 +420,7 @@ gcc_8_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -438,7 +440,7 @@ gcc_8_serial_dbg: ...@@ -438,7 +440,7 @@ gcc_8_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -462,7 +464,7 @@ gcc_8_mpionly_dbg: ...@@ -462,7 +464,7 @@ gcc_8_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -484,7 +486,7 @@ gcc_8_hybrid_dbg: ...@@ -484,7 +486,7 @@ gcc_8_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:8
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -521,7 +523,7 @@ gcc_9_serial: ...@@ -521,7 +523,7 @@ gcc_9_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -542,7 +544,7 @@ gcc_9_mpionly: ...@@ -542,7 +544,7 @@ gcc_9_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -561,7 +563,7 @@ gcc_9_hybrid: ...@@ -561,7 +563,7 @@ gcc_9_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -579,7 +581,7 @@ gcc_9_serial_dbg: ...@@ -579,7 +581,7 @@ gcc_9_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -601,7 +603,7 @@ gcc_9_mpionly_dbg: ...@@ -601,7 +603,7 @@ gcc_9_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -621,7 +623,7 @@ gcc_9_hybrid_dbg: ...@@ -621,7 +623,7 @@ gcc_9_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:9
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -655,7 +657,7 @@ gcc_10_serial: ...@@ -655,7 +657,7 @@ gcc_10_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -676,7 +678,7 @@ gcc_10_mpionly: ...@@ -676,7 +678,7 @@ gcc_10_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -695,7 +697,7 @@ gcc_10_hybrid: ...@@ -695,7 +697,7 @@ gcc_10_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -713,7 +715,7 @@ gcc_10_serial_dbg: ...@@ -713,7 +715,7 @@ gcc_10_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -735,7 +737,7 @@ gcc_10_mpionly_dbg: ...@@ -735,7 +737,7 @@ gcc_10_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -755,7 +757,7 @@ gcc_10_hybrid_dbg: ...@@ -755,7 +757,7 @@ gcc_10_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:10
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -789,7 +791,7 @@ gcc_11_serial: ...@@ -789,7 +791,7 @@ gcc_11_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -810,7 +812,7 @@ gcc_11_mpionly: ...@@ -810,7 +812,7 @@ gcc_11_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -830,7 +832,7 @@ gcc_11_hybrid: ...@@ -830,7 +832,7 @@ gcc_11_hybrid:
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11
stage: pretest stage: pretest
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -845,7 +847,7 @@ gcc_11_serial_dbg: ...@@ -845,7 +847,7 @@ gcc_11_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -864,7 +866,7 @@ gcc_11_mpionly_dbg: ...@@ -864,7 +866,7 @@ gcc_11_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -881,7 +883,7 @@ gcc_11_hybrid_dbg: ...@@ -881,7 +883,7 @@ gcc_11_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11 image: i10git.cs.fau.de:5005/walberla/buildenvs/gcc:11
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -909,7 +911,7 @@ clang_6.0_serial: ...@@ -909,7 +911,7 @@ clang_6.0_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -932,7 +934,7 @@ clang_6.0_mpionly: ...@@ -932,7 +934,7 @@ clang_6.0_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -953,7 +955,7 @@ clang_6.0_hybrid: ...@@ -953,7 +955,7 @@ clang_6.0_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -973,7 +975,7 @@ clang_6.0_serial_dbg: ...@@ -973,7 +975,7 @@ clang_6.0_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -997,7 +999,7 @@ clang_6.0_mpionly_dbg: ...@@ -997,7 +999,7 @@ clang_6.0_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1019,7 +1021,7 @@ clang_6.0_hybrid_dbg: ...@@ -1019,7 +1021,7 @@ clang_6.0_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:6.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1053,7 +1055,7 @@ clang_7.0_serial: ...@@ -1053,7 +1055,7 @@ clang_7.0_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1076,7 +1078,7 @@ clang_7.0_mpionly: ...@@ -1076,7 +1078,7 @@ clang_7.0_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1097,7 +1099,7 @@ clang_7.0_hybrid: ...@@ -1097,7 +1099,7 @@ clang_7.0_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1117,7 +1119,7 @@ clang_7.0_serial_dbg: ...@@ -1117,7 +1119,7 @@ clang_7.0_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1141,7 +1143,7 @@ clang_7.0_mpionly_dbg: ...@@ -1141,7 +1143,7 @@ clang_7.0_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1163,7 +1165,7 @@ clang_7.0_hybrid_dbg: ...@@ -1163,7 +1165,7 @@ clang_7.0_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:7.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1200,7 +1202,7 @@ clang_8.0_serial: ...@@ -1200,7 +1202,7 @@ clang_8.0_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1223,7 +1225,7 @@ clang_8.0_mpionly: ...@@ -1223,7 +1225,7 @@ clang_8.0_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1244,7 +1246,7 @@ clang_8.0_hybrid: ...@@ -1244,7 +1246,7 @@ clang_8.0_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1264,7 +1266,7 @@ clang_8.0_serial_dbg: ...@@ -1264,7 +1266,7 @@ clang_8.0_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1288,7 +1290,7 @@ clang_8.0_mpionly_dbg: ...@@ -1288,7 +1290,7 @@ clang_8.0_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1310,7 +1312,7 @@ clang_8.0_hybrid_dbg: ...@@ -1310,7 +1312,7 @@ clang_8.0_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:8.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1347,7 +1349,7 @@ clang_9.0_serial: ...@@ -1347,7 +1349,7 @@ clang_9.0_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1370,7 +1372,7 @@ clang_9.0_mpionly: ...@@ -1370,7 +1372,7 @@ clang_9.0_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1391,7 +1393,7 @@ clang_9.0_hybrid: ...@@ -1391,7 +1393,7 @@ clang_9.0_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1411,7 +1413,7 @@ clang_9.0_serial_dbg: ...@@ -1411,7 +1413,7 @@ clang_9.0_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1435,7 +1437,7 @@ clang_9.0_mpionly_dbg: ...@@ -1435,7 +1437,7 @@ clang_9.0_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1457,7 +1459,7 @@ clang_9.0_hybrid_dbg: ...@@ -1457,7 +1459,7 @@ clang_9.0_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:9.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1494,7 +1496,7 @@ clang_10.0_serial: ...@@ -1494,7 +1496,7 @@ clang_10.0_serial:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1517,7 +1519,7 @@ clang_10.0_mpionly: ...@@ -1517,7 +1519,7 @@ clang_10.0_mpionly:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1538,7 +1540,7 @@ clang_10.0_hybrid: ...@@ -1538,7 +1540,7 @@ clang_10.0_hybrid:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1555,7 +1557,7 @@ clang_10.0_serial_dbg: ...@@ -1555,7 +1557,7 @@ clang_10.0_serial_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1576,7 +1578,7 @@ clang_10.0_mpionly_dbg: ...@@ -1576,7 +1578,7 @@ clang_10.0_mpionly_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1595,7 +1597,7 @@ clang_10.0_hybrid_dbg: ...@@ -1595,7 +1597,7 @@ clang_10.0_hybrid_dbg:
extends: .build_template extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0 image: i10git.cs.fau.de:5005/walberla/buildenvs/clang:10.0
before_script: before_script:
- pip3 install lbmpy jinja2 - pip3 install lbmpy jinja2 pytest
- cd python - cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
...@@ -1623,6 +1625,125 @@ clang_10.0_hybrid_dbg_sp: ...@@ -1623,6 +1625,125 @@ clang_10.0_hybrid_dbg_sp:
- cuda - cuda
- docker - docker
inteloneapi_21.3_serial:
extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/inteloneapi:21.3
before_script:
- pip3 install lbmpy jinja2 pytest
- cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd ..
variables:
WALBERLA_BUILD_WITH_CUDA: "OFF"
WALBERLA_BUILD_WITH_MPI: "OFF"
WALBERLA_BUILD_WITH_OPENMP: "OFF"
WALBERLA_BUILD_WITH_PARMETIS: "OFF"
WALBERLA_BUILD_WITH_CODEGEN: "ON"
WALBERLA_BUILD_WITH_PYTHON: "ON"
only:
variables:
- $ENABLE_NIGHTLY_BUILDS
tags:
- docker
inteloneapi_21.3_mpionly:
extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/inteloneapi:21.3
before_script:
- pip3 install lbmpy jinja2 pytest
- cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd ..
variables:
WALBERLA_BUILD_WITH_CUDA: "OFF"
WALBERLA_BUILD_WITH_OPENMP: "OFF"
WALBERLA_BUILD_WITH_CODEGEN: "ON"
WALBERLA_BUILD_WITH_PYTHON: "ON"
only:
variables:
- $ENABLE_NIGHTLY_BUILDS
tags:
- docker
inteloneapi_21.3_hybrid:
extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/inteloneapi:21.3
before_script:
- pip3 install lbmpy jinja2 pytest
- cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd ..
variables:
WALBERLA_BUILD_WITH_CUDA: "OFF"
WALBERLA_BUILD_WITH_CODEGEN: "ON"
WALBERLA_BUILD_WITH_PYTHON: "ON"
tags:
- docker
inteloneapi_21.3_serial_dbg:
extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/inteloneapi:21.3
before_script:
- pip3 install lbmpy jinja2 pytest
- cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd ..
variables:
WALBERLA_BUILD_WITH_CUDA: "OFF"
WALBERLA_BUILD_WITH_MPI: "OFF"
WALBERLA_BUILD_WITH_OPENMP: "OFF"
WALBERLA_BUILD_WITH_PARMETIS: "OFF"
CMAKE_BUILD_TYPE: "DebugOptimized"
WALBERLA_BUILD_WITH_CODEGEN: "ON"
WALBERLA_BUILD_WITH_PYTHON: "ON"
tags:
- docker
inteloneapi_21.3_mpionly_dbg:
extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/inteloneapi:21.3
before_script:
- pip3 install lbmpy jinja2 pytest
- cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd ..
variables:
WALBERLA_BUILD_WITH_CUDA: "OFF"
CMAKE_BUILD_TYPE: "DebugOptimized"
WALBERLA_BUILD_WITH_OPENMP: "OFF"
WALBERLA_BUILD_WITH_CODEGEN: "ON"
WALBERLA_BUILD_WITH_PYTHON: "ON"
tags:
- docker
inteloneapi_21.3_hybrid_dbg:
extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/inteloneapi:21.3
before_script:
- pip3 install lbmpy jinja2 pytest
- cd python
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd ..
variables:
WALBERLA_BUILD_WITH_CUDA: "OFF"
CMAKE_BUILD_TYPE: "DebugOptimized"
WALBERLA_BUILD_WITH_CODEGEN: "ON"
WALBERLA_BUILD_WITH_PYTHON: "ON"
tags:
- docker
inteloneapi_21.3_hybrid_dbg_sp:
extends: .build_template
image: i10git.cs.fau.de:5005/walberla/buildenvs/inteloneapi:21.3
variables:
WALBERLA_BUILD_WITH_CUDA: "OFF"
CMAKE_BUILD_TYPE: "DebugOptimized"
WALBERLA_DOUBLE_ACCURACY: "OFF"
WALBERLA_BUILD_WITH_PARMETIS: "OFF"
WALBERLA_BUILD_WITH_METIS: "OFF"
tags:
- docker
gcc_8_hybrid_dbg_noboost: gcc_8_hybrid_dbg_noboost:
...@@ -1789,6 +1910,7 @@ coverage: ...@@ -1789,6 +1910,7 @@ coverage:
- MSBuild.exe walberla.sln /property:Configuration=$BUILD_CONFIGURATION /verbosity:minimal /maxcpucount:4 - MSBuild.exe walberla.sln /property:Configuration=$BUILD_CONFIGURATION /verbosity:minimal /maxcpucount:4
- ctest -LE $CTEST_EXCLUDE_LABELS -C $BUILD_CONFIGURATION --output-on-failure -j 4 -T Test - ctest -LE $CTEST_EXCLUDE_LABELS -C $BUILD_CONFIGURATION --output-on-failure -j 4 -T Test
after_script: after_script:
- pip3 install lxml
- python3 cmake/ctest2junit.py build > report.xml - python3 cmake/ctest2junit.py build > report.xml
variables: variables:
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64" CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
...@@ -1982,6 +2104,7 @@ msvc-14.2_mpionly: ...@@ -1982,6 +2104,7 @@ msvc-14.2_mpionly:
- python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla - python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
- cd .. - cd ..
after_script: after_script:
- pip3 install lxml
- python3 cmake/ctest2junit.py build > report.xml - python3 cmake/ctest2junit.py build > report.xml
tags: tags:
- mac - mac
......
...@@ -250,6 +250,14 @@ else() ...@@ -250,6 +250,14 @@ else()
endif() endif()
mark_as_advanced ( WALBERLA_CXX_COMPILER_IS_MPI_WRAPPER ) mark_as_advanced ( WALBERLA_CXX_COMPILER_IS_MPI_WRAPPER )
# Check for intel llvm compiler
if( CMAKE_CXX_COMPILER MATCHES "icpx" OR CMAKE_CXX_COMPILER_ARG1 MATCHES "icpx" )
option ( WALBERLA_CXX_COMPILER_IS_INTELLLVM "Use Intel LLVM compiler" ON )
else()
option ( WALBERLA_CXX_COMPILER_IS_INTELLLVM "Use Intel LLVM compiler" OFF )
endif()
mark_as_advanced ( WALBERLA_CXX_COMPILER_IS_INTELLLVM )
############################################################################################################################ ############################################################################################################################
...@@ -427,6 +435,10 @@ if ( WALBERLA_BUILD_WITH_FASTMATH ) ...@@ -427,6 +435,10 @@ if ( WALBERLA_BUILD_WITH_FASTMATH )
if( WALBERLA_CXX_COMPILER_IS_MSVC ) if( WALBERLA_CXX_COMPILER_IS_MSVC )
add_flag( CMAKE_CXX_FLAGS "/fp:fast" ) add_flag( CMAKE_CXX_FLAGS "/fp:fast" )
endif() endif()
else()
if( WALBERLA_CXX_COMPILER_IS_INTELLLVM )
add_flag( CMAKE_CXX_FLAGS "-fp-model=precise")
endif()
endif() endif()
# Xcode generator disables -isystem flag, even though current versions of Xcode support it # Xcode generator disables -isystem flag, even though current versions of Xcode support it
...@@ -1033,6 +1045,17 @@ if ( WALBERLA_BUILD_WITH_OPENMP ) ...@@ -1033,6 +1045,17 @@ if ( WALBERLA_BUILD_WITH_OPENMP )
message(FATAL_ERROR "Could NOT enable OpenMP") message(FATAL_ERROR "Could NOT enable OpenMP")
endif() endif()
endif() endif()
if( WALBERLA_CXX_COMPILER_IS_CLANG OR WALBERLA_CXX_COMPILER_IS_INTELLLVM )
# check for bug in combination with OpenMP and sign conversion https://bugs.llvm.org/show_bug.cgi?id=48387
try_compile( WALBERLA_CLANG_OPENMP_BUG "${CMAKE_CURRENT_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/TestClangOpenMPBug.cpp"
COMPILE_DEFINITIONS -Werror )
if( NOT ${WALBERLA_CLANG_OPENMP_BUG} )
message( WARNING "Setting -Wno-sign-conversion due to a compiler bug in LLVM (https://bugs.llvm.org/show_bug.cgi?id=48387)" )
add_flag( CMAKE_CXX_FLAGS "-Wno-sign-conversion" )
endif()
endif()
else() else()
if ( WALBERLA_CXX_COMPILER_IS_CRAY ) if ( WALBERLA_CXX_COMPILER_IS_CRAY )
add_flag ( CMAKE_C_FLAGS "-h noomp" ) add_flag ( CMAKE_C_FLAGS "-h noomp" )
......
#include <iostream>
int main()
{
int min = -10;
#pragma omp parallel for
for (int i = min; i <= 10; ++i)
{
std::cout << i << std::endl;
}
return 0;
}
\ No newline at end of file
...@@ -198,8 +198,11 @@ waLBerla_execute_test( NAME FunctionTraitsTest ) ...@@ -198,8 +198,11 @@ waLBerla_execute_test( NAME FunctionTraitsTest )
waLBerla_compile_test( FILES GridGeneratorTest.cpp ) waLBerla_compile_test( FILES GridGeneratorTest.cpp )
waLBerla_execute_test( NAME GridGeneratorTest ) waLBerla_execute_test( NAME GridGeneratorTest )
waLBerla_compile_test( FILES MemoryUsage.cpp ) #TODO: find fix for this test with intel OneApi compiler
waLBerla_execute_test( NAME MemoryUsage ) if(NOT WALBERLA_CXX_COMPILER_IS_INTELLLVM )
waLBerla_compile_test( FILES MemoryUsage.cpp )
waLBerla_execute_test( NAME MemoryUsage )
endif()
waLBerla_compile_test( FILES OpenMPWrapperTest.cpp ) waLBerla_compile_test( FILES OpenMPWrapperTest.cpp )
waLBerla_execute_test( NAME OpenMPWrapperTest ) waLBerla_execute_test( NAME OpenMPWrapperTest )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment