Make silent #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run partitioned-heat-conduction experiments | |
| on: | |
| push: | |
| branches: | |
| - use-github-actions-for-diss-cases | |
| jobs: | |
| run_experiments: | |
| strategy: | |
| matrix: | |
| experiment: | |
| - name: Figure 6.4a) SC p0 | |
| args: '--waveform-degree 0 --experiment poly --time-window-refinements 1 --time-step-refinements 6 --base-time-window-size 1 -o convergence-studies/subcycling_SC_p0_poly.csv' | |
| - name: Figure 6.4a) SC p1 | |
| args: '--waveform-degree 1 --experiment poly --time-window-refinements 1 --time-step-refinements 6 --base-time-window-size 1 -o convergence-studies/subcycling_SC_p1_poly.csv' | |
| - name: Figure 6.4a) MC p1 | |
| args: '--exchange-substeps --waveform-degree 1 --experiment poly --time-window-refinements 1 --time-step-refinements 6 --base-time-window-size 1 -o convergence-studies/subcycling_MC_p1_poly.csv' | |
| - name: Figure 6.4b) SC p0 | |
| args: '--waveform-degree 0 --experiment tri --time-window-refinements 1 --time-step-refinements 6 --base-time-window-size 1 -o convergence-studies/subcycling_SC_p0_tri.csv' | |
| - name: Figure 6.4b) SC p1 | |
| args: '--waveform-degree 1 --experiment tri --time-window-refinements 1 --time-step-refinements 6 --base-time-window-size 1 -o convergence-studies/subcycling_SC_p1_tri.csv' | |
| - name: Figure 6.4b) MC p1 | |
| args: '--exchange-substeps --waveform-degree 1 --experiment tri --time-window-refinements 1 --time-step-refinements 6 --base-time-window-size 1 -o convergence-studies/subcycling_MC_p1_tri.csv' | |
| - name: Figure 6.5 IE 1 | |
| args: '--experiment tri -w 6 -o convergence-studies/highorder_IE_1.csv' | |
| - name: Figure 6.5 IE 5 | |
| args: '--experiment tri -w 6 -s 1 -wd 5 -sb 5 5 -dt 0.5 --exchange-substeps -o convergence-studies/highorder_IE_5.csv' | |
| - name: Figure 6.5 IE 10 | |
| args: '--experiment tri -w 6 -s 1 -wd 10 -sb 10 10 -dt 1 --exchange-substeps -o convergence-studies/highorder_IE_10.csv' | |
| - name: Figure 6.5 GL2 1 | |
| args: '--experiment tri -w 6 -tss GaussLegendre2 GaussLegendre2 --exchange-substeps -o convergence-studies/highorder_GL2_1.csv' | |
| - name: Figure 6.5 GL2 5 | |
| args: '--experiment tri -w 6 -s 1 -wd 5 -sb 5 5 -dt 0.5 -tss GaussLegendre2 GaussLegendre2 --exchange-substeps -o convergence-studies/highorder_GL2_5.csv' | |
| - name: Figure 6.5 LIIIC 1 | |
| args: '--experiment tri -w 6 -tss LobattoIIIC3 LobattoIIIC3 --exchange-substeps -o convergence-studies/highorder_LIIIC_1.csv' | |
| - name: Figure 6.5 LIIIC 10 | |
| args: '--experiment tri -w 6 -s 1 -wd 10 -sb 10 10 -dt 1 -tss LobattoIIIC3 LobattoIIIC3 --exchange-substeps -o convergence-studies/highorder_LIIIC_10.csv' | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./partitioned-heat-conduction | |
| container: precice/precice:nightly | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| run: | | |
| apt-get -qq update | |
| apt-get -qq install software-properties-common python3-dev python3-pip python3.12-venv git apt-utils pkg-config | |
| add-apt-repository -y ppa:fenics-packages/fenics | |
| apt-get -qq install --no-install-recommends fenics | |
| rm -rf /var/lib/apt/lists/* | |
| - name: Create venv | |
| run: | | |
| ./make-venv.sh | |
| - name: Activate venv | |
| # see https://stackoverflow.com/a/74669486 | |
| run: | | |
| . .venv/bin/activate | |
| echo PATH=$PATH >> $GITHUB_ENV | |
| - name: Run tutorial | |
| run: | | |
| python3 doConvergenceStudy.py precice-config-template.xml --silent --executor Github ${{matrix.experiment.args}} | |
| - name: Store results | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: partitioned-heat-conduction-convergence ${{ matrix.experiment.name }} | |
| path: | | |
| # working directory is ignored by actions/upload-artifact | |
| ./partitioned-heat-conduction/convergence-studies | |
| merge: | |
| runs-on: ubuntu-latest | |
| needs: run_experiments | |
| steps: | |
| - name: Merge results | |
| uses: actions/upload-artifact/merge@v4 | |
| with: | |
| name: partitioned-heat-conduction-convergence |