From 4adfd8a132c5b817761bbb988ce705f7023c7fa1 Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Mon, 8 Jul 2024 11:02:44 +0200 Subject: [PATCH] re-add pycodegen-integration --- .gitlab-ci.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a788650e..73870cdf4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -234,6 +234,51 @@ minimal-sympy-master: - cuda +pycodegen-integration: + image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full + stage: test + when: manual + allow_failure: true + script: + - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pycodegen.git + - cd pycodegen + - git submodule sync --recursive + - git submodule update --init --recursive + - git submodule foreach git fetch origin # compare the latest master version! + - git submodule foreach git reset --hard origin/master + - cd pystencils + - git remote add test $CI_REPOSITORY_URL + - git fetch test + - git reset --hard $CI_COMMIT_SHA + - cd .. + - pip install -e pystencils/ + - pip install -e lbmpy/ + - cmake --version + - ./install_walberla.sh + - export NUM_CORES=$(nproc --all) + - mkdir -p ~/.config/matplotlib + - echo "backend:template" > ~/.config/matplotlib/matplotlibrc + - cd pystencils + - py.test -v -n $NUM_CORES --junitxml=report.xml . + - cd ../lbmpy + - py.test -v -n $NUM_CORES --junitxml=report.xml . + - cd ../walberla/build/ + - make -j $NUM_CORES CodegenJacobiCPU CodegenJacobiGPU CodegenPoissonCPU CodegenPoissonGPU MicroBenchmarkGpuLbm LbCodeGenerationExample + - make -j $NUM_CORES multiphaseCPU multiphaseGPU FluctuatingMRT FlowAroundSphereCodeGen FieldLayoutAndVectorizationTest GeneratedOutflowBC + - cd apps/benchmarks/UniformGridGPU + - make -j $NUM_CORES + - cd ../UniformGridCPU + - make -j $NUM_CORES + tags: + - docker + - cuda11 + - AVX + artifacts: + when: always + reports: + junit: pycodegen/*/report.xml + + # -------------------- Scheduled Tasks -------------------------------------------------------------------------- -- GitLab