Skip to content

Commit b871707

Browse files
authored
Add the deal.II adapter to the system tests (#646)
1 parent 5d2e63e commit b871707

24 files changed

+253
-47
lines changed

changelog-entries/646.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Added system tests for deal.II [#646](https://github.com/precice/tutorials/pull/646)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:fc5a46166a611d9abcc6c7adf85b76acb01126b541f914730d056f8da3a5b3c6
3-
size 706882
2+
oid sha256:45966fe65edaa117964c3977632e8c4589645f86de3cf592a64560225ae997f6
3+
size 706971
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:a3b2f60d957ab5164c9da230b8039f2213c9794895049360e8a49fb7b2ce0629
3-
size 707149
2+
oid sha256:b245b06ac8d4d572bf83cd6bdc156c0bb31fa89a34fbc76d4916a4f5cb216385
3+
size 707271
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:e1fd840be0254b5cdc60fd65355165e53bdebc60592653edf61e906d6c3bfdd7
3-
size 707776
2+
oid sha256:e2c03a1f6f6cd52b4eff509cab69c4003b931ff845c7c2e1633371dac5b675e8
3+
size 707888

elastic-tube-1d/reference_results.metadata

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,29 @@ We also include some information on the machine used to generate them
1111

1212
| name | time | sha256 |
1313
|------|------|-------|
14-
| fluid-cpp_solid-python.tar.gz | 2025-02-24 07:49:14 | a3b2f60d957ab5164c9da230b8039f2213c9794895049360e8a49fb7b2ce0629 |
15-
| fluid-cpp_solid-cpp.tar.gz | 2025-02-24 07:49:14 | fc5a46166a611d9abcc6c7adf85b76acb01126b541f914730d056f8da3a5b3c6 |
16-
| fluid-python_solid-python.tar.gz | 2025-02-24 07:49:14 | e1fd840be0254b5cdc60fd65355165e53bdebc60592653edf61e906d6c3bfdd7 |
14+
| fluid-cpp_solid-python.tar.gz | 2025-04-13 15:08:07 | b245b06ac8d4d572bf83cd6bdc156c0bb31fa89a34fbc76d4916a4f5cb216385 |
15+
| fluid-python_solid-python.tar.gz | 2025-04-13 15:08:07 | e2c03a1f6f6cd52b4eff509cab69c4003b931ff845c7c2e1633371dac5b675e8 |
16+
| fluid-cpp_solid-cpp.tar.gz | 2025-04-13 15:08:07 | 45966fe65edaa117964c3977632e8c4589645f86de3cf592a64560225ae997f6 |
1717

1818
## List of arguments used to generate the files
1919

2020
| name | value |
2121
|------|------|
22-
| PRECICE_REF | aeb0f6f |
22+
| PRECICE_REF | v3.2.0 |
2323
| PRECICE_PRESET | production-audit |
2424
| OPENFOAM_EXECUTABLE | openfoam2312 |
2525
| OPENFOAM_ADAPTER_REF | v1.3.1 |
26-
| PYTHON_BINDINGS_REF | v3.1.2 |
26+
| PYTHON_BINDINGS_REF | v3.2.0 |
2727
| FENICS_ADAPTER_REF | v2.2.0 |
28-
| TUTORIALS_REF | 3936aa6 |
28+
| TUTORIALS_REF | 80b5e41 |
2929
| PLATFORM | ubuntu_2404 |
3030
| CALCULIX_VERSION | 2.20 |
3131
| CALCULIX_ADAPTER_REF | v2.20.1 |
3232
| SU2_VERSION | 7.5.1 |
3333
| SU2_ADAPTER_REF | 64d4aff |
34+
| DEALII_ADAPTER_REF | 02c5d18 |
35+
| PRECICE_UID | 1003 |
36+
| PRECICE_GID | 1003 |
3437
## Information about the machine
3538

3639
### uname -a
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:6e5f70821602d141a88ba568f9f978ae6e511d326b2214f80df72ee7d9061513
3-
size 770907
2+
oid sha256:ed8a1345e1f9129db6a8612fb9e0c3d35493c41fcd8ed7704b3565eb33df2b10
3+
size 770870
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:367aa8ad52fdbf4719e1afcb11934ca602e3c90930bbdac9110a280a841af926
3-
size 532448
2+
oid sha256:b12e1e0adf94bde713bf6fb32ef09b097e8e518fcd5f7c58e8c90103082bcc00
3+
size 532776
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:dc4b271d7b4e8fa9595ea2e3be12e59f9a7450ed56f96c57d518d4e6a47dbf40
3-
size 498176
2+
oid sha256:2fff78dd72a78c3e1bc785d3ac4fd048ca8e74f7199e6bf2909f854d7f463850
3+
size 497877

flow-over-heated-plate/reference_results.metadata

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,29 @@ We also include some information on the machine used to generate them
1111

1212
| name | time | sha256 |
1313
|------|------|-------|
14-
| fluid-openfoam_solid-fenics.tar.gz | 2025-02-24 07:49:14 | 6e5f70821602d141a88ba568f9f978ae6e511d326b2214f80df72ee7d9061513 |
15-
| fluid-openfoam_solid-openfoam.tar.gz | 2025-02-24 07:49:14 | dc4b271d7b4e8fa9595ea2e3be12e59f9a7450ed56f96c57d518d4e6a47dbf40 |
16-
| fluid-openfoam_solid-nutils.tar.gz | 2025-02-24 07:49:14 | 367aa8ad52fdbf4719e1afcb11934ca602e3c90930bbdac9110a280a841af926 |
14+
| fluid-openfoam_solid-openfoam.tar.gz | 2025-04-13 15:08:07 | 2fff78dd72a78c3e1bc785d3ac4fd048ca8e74f7199e6bf2909f854d7f463850 |
15+
| fluid-openfoam_solid-nutils.tar.gz | 2025-04-13 15:08:07 | b12e1e0adf94bde713bf6fb32ef09b097e8e518fcd5f7c58e8c90103082bcc00 |
16+
| fluid-openfoam_solid-fenics.tar.gz | 2025-04-13 15:08:07 | ed8a1345e1f9129db6a8612fb9e0c3d35493c41fcd8ed7704b3565eb33df2b10 |
1717

1818
## List of arguments used to generate the files
1919

2020
| name | value |
2121
|------|------|
22-
| PRECICE_REF | aeb0f6f |
22+
| PRECICE_REF | v3.2.0 |
2323
| PRECICE_PRESET | production-audit |
2424
| OPENFOAM_EXECUTABLE | openfoam2312 |
2525
| OPENFOAM_ADAPTER_REF | v1.3.1 |
26-
| PYTHON_BINDINGS_REF | v3.1.2 |
26+
| PYTHON_BINDINGS_REF | v3.2.0 |
2727
| FENICS_ADAPTER_REF | v2.2.0 |
28-
| TUTORIALS_REF | 3936aa6 |
28+
| TUTORIALS_REF | 80b5e41 |
2929
| PLATFORM | ubuntu_2404 |
3030
| CALCULIX_VERSION | 2.20 |
3131
| CALCULIX_ADAPTER_REF | v2.20.1 |
3232
| SU2_VERSION | 7.5.1 |
3333
| SU2_ADAPTER_REF | 64d4aff |
34+
| DEALII_ADAPTER_REF | 02c5d18 |
35+
| PRECICE_UID | 1003 |
36+
| PRECICE_GID | 1003 |
3437
## Information about the machine
3538

3639
### uname -a
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Multiple perpendicular flaps
2+
path: multiple-perpendicular-flaps
3+
url: https://precice.org/tutorials-multiple-perpendicular-flaps.html
4+
5+
participants:
6+
- Fluid
7+
- Solid-Upstream
8+
- Solid-Downstream
9+
10+
cases:
11+
fluid-openfoam:
12+
participant: Fluid
13+
directory: ./fluid-openfoam
14+
run: ./run.sh
15+
component: openfoam-adapter
16+
solid-upstream-dealii:
17+
participant: Solid-Upstream
18+
directory: ./solid-upstream-dealii
19+
run: ./run.sh
20+
component: dealii-adapter
21+
solid-downstream-dealii:
22+
participant: Solid-Downstream
23+
directory: ./solid-downstream-dealii
24+
run: ./run.sh
25+
component: dealii-adapter
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<!---
2+
This File has been generated by the generate_reference_results.py and should not be modified manually
3+
-->
4+
5+
# Reference Results
6+
7+
This file contains an overview of the results over the reference results as well as the arguments used to generate them.
8+
We also include some information on the machine used to generate them
9+
10+
## List of files
11+
12+
| name | time | sha256 |
13+
|------|------|-------|
14+
| fluid-openfoam_solid-upstream-dealii_solid-downstream-dealii.tar.gz | 2025-04-13 15:08:07 | d7acbca1e5bbf2113f6d48c52ce1626856a689b136e0c2e10a0d84d12917f2ff |
15+
16+
## List of arguments used to generate the files
17+
18+
| name | value |
19+
|------|------|
20+
| PRECICE_REF | v3.2.0 |
21+
| PRECICE_PRESET | production-audit |
22+
| OPENFOAM_EXECUTABLE | openfoam2312 |
23+
| OPENFOAM_ADAPTER_REF | v1.3.1 |
24+
| PYTHON_BINDINGS_REF | v3.2.0 |
25+
| FENICS_ADAPTER_REF | v2.2.0 |
26+
| TUTORIALS_REF | 80b5e41 |
27+
| PLATFORM | ubuntu_2404 |
28+
| CALCULIX_VERSION | 2.20 |
29+
| CALCULIX_ADAPTER_REF | v2.20.1 |
30+
| SU2_VERSION | 7.5.1 |
31+
| SU2_ADAPTER_REF | 64d4aff |
32+
| DEALII_ADAPTER_REF | 02c5d18 |
33+
| PRECICE_UID | 1003 |
34+
| PRECICE_GID | 1003 |
35+
## Information about the machine
36+
37+
### uname -a
38+
39+
Linux precice-tests 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
40+
41+
42+
### lscpu
43+
44+
Architecture: x86_64
45+
CPU op-mode(s): 32-bit, 64-bit
46+
Address sizes: 45 bits physical, 48 bits virtual
47+
Byte Order: Little Endian
48+
CPU(s): 4
49+
On-line CPU(s) list: 0-3
50+
Vendor ID: GenuineIntel
51+
Model name: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
52+
CPU family: 6
53+
Model: 85
54+
Thread(s) per core: 1
55+
Core(s) per socket: 1
56+
Socket(s): 4
57+
Stepping: 4
58+
BogoMIPS: 4199.99
59+
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat pku ospke md_clear flush_l1d arch_capabilities
60+
Hypervisor vendor: VMware
61+
Virtualization type: full
62+
L1d cache: 128 KiB (4 instances)
63+
L1i cache: 128 KiB (4 instances)
64+
L2 cache: 4 MiB (4 instances)
65+
L3 cache: 88 MiB (4 instances)
66+
NUMA node(s): 1
67+
NUMA node0 CPU(s): 0-3

perpendicular-flap/metadata.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ cases:
3131
run: ./run.sh
3232
component: calculix-adapter
3333

34-
# solid-dealii:
35-
# participant: Solid
36-
# directory: ./solid-dealii
37-
# run: ./run.sh
38-
# component: dealii-adapter
34+
solid-dealii:
35+
participant: Solid
36+
directory: ./solid-dealii
37+
run: ./run.sh
38+
component: dealii-adapter
3939

4040
# solid-dune:
4141
# participant: Solid
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:5955a03f5e9cc9a55a3a5522e3657706e746117ba60ccf7584e98a27f798080e
3-
size 13543613
2+
oid sha256:0d3ecc21a28601203fd04cb548637af14d9f6fc2df0d5d52f97c7b739dd8a83b
3+
size 13543699
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:dd85a76d38d4a96f136e135e8817df2063be6cefdbf589e2e939176ae7d343f0
3+
size 7893825
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:d7acbca1e5bbf2113f6d48c52ce1626856a689b136e0c2e10a0d84d12917f2ff
3+
size 11725133
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:51eb5c50c105475a2a497377440b4b792bad6a6ad0533a5eb752528aeb526a65
3-
size 3408956
2+
oid sha256:0683fb1e6b4ee3afd2bb1b797243cf62b6351a535cb2d85b04d098f805f0dfc6
3+
size 3409078

perpendicular-flap/reference_results.metadata

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,29 @@ We also include some information on the machine used to generate them
1111

1212
| name | time | sha256 |
1313
|------|------|-------|
14-
| fluid-openfoam_solid-calculix.tar.gz | 2025-02-24 07:49:14 | 5955a03f5e9cc9a55a3a5522e3657706e746117ba60ccf7584e98a27f798080e |
15-
| fluid-su2_solid-fenics.tar.gz | 2025-02-24 07:49:14 | 51eb5c50c105475a2a497377440b4b792bad6a6ad0533a5eb752528aeb526a65 |
14+
| fluid-su2_solid-fenics.tar.gz | 2025-04-13 15:08:07 | 0683fb1e6b4ee3afd2bb1b797243cf62b6351a535cb2d85b04d098f805f0dfc6 |
15+
| fluid-openfoam_solid-calculix.tar.gz | 2025-04-13 15:08:07 | 0d3ecc21a28601203fd04cb548637af14d9f6fc2df0d5d52f97c7b739dd8a83b |
16+
| fluid-openfoam_solid-dealii.tar.gz | 2025-04-13 15:08:07 | dd85a76d38d4a96f136e135e8817df2063be6cefdbf589e2e939176ae7d343f0 |
1617

1718
## List of arguments used to generate the files
1819

1920
| name | value |
2021
|------|------|
21-
| PRECICE_REF | aeb0f6f |
22+
| PRECICE_REF | v3.2.0 |
2223
| PRECICE_PRESET | production-audit |
2324
| OPENFOAM_EXECUTABLE | openfoam2312 |
2425
| OPENFOAM_ADAPTER_REF | v1.3.1 |
25-
| PYTHON_BINDINGS_REF | v3.1.2 |
26+
| PYTHON_BINDINGS_REF | v3.2.0 |
2627
| FENICS_ADAPTER_REF | v2.2.0 |
27-
| TUTORIALS_REF | 3936aa6 |
28+
| TUTORIALS_REF | 80b5e41 |
2829
| PLATFORM | ubuntu_2404 |
2930
| CALCULIX_VERSION | 2.20 |
3031
| CALCULIX_ADAPTER_REF | v2.20.1 |
3132
| SU2_VERSION | 7.5.1 |
3233
| SU2_ADAPTER_REF | 64d4aff |
34+
| DEALII_ADAPTER_REF | 02c5d18 |
35+
| PRECICE_UID | 1003 |
36+
| PRECICE_GID | 1003 |
3337
## Information about the machine
3438

3539
### uname -a

tools/tests/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Workflow for the preCICE v3 release testing:
2121
3. Trigger the GitHub Actions Workflow. Until we merge the workflow to develop, this can only happen via the [GitHub CLI](https://cli.github.com/):
2222

2323
```bash
24-
gh workflow run run_testsuite_manual.yml -f suites=release_test -f build_args="PRECICE_REF:v3.1.1,PRECICE_PRESET:production-audit,OPENFOAM_ADAPTER_REF:v1.3.0,PYTHON_BINDINGS_REF:v3.1.0,FENICS_ADAPTER_REF:v2.1.0,SU2_VERSION:7.5.1,SU2_ADAPTER_REF:64d4aff,TUTORIALS_REF:340b447" --ref=develop
24+
gh workflow run run_testsuite_manual.yml -f suites=release_test -f build_args="PRECICE_REF:v3.1.1,PRECICE_PRESET:production-audit,OPENFOAM_ADAPTER_REF:v1.3.0,PYTHON_BINDINGS_REF:v3.1.0,FENICS_ADAPTER_REF:v2.1.0,SU2_VERSION:7.5.1,SU2_ADAPTER_REF:64d4aff,DEALII_ADAPTER_REF:02c5d18,TUTORIALS_REF:340b447" --ref=develop
2525
```
2626

2727
4. Go to the tutorials [Actions](https://github.com/precice/tutorials/actions) page and find the running workflow
@@ -61,7 +61,7 @@ gh workflow run run_testsuite_manual.yml -f suites=fenics_test --ref=develop
6161
Another example, to use the latest releases and enable debug information of the tests:
6262

6363
```shell
64-
gh workflow run run_testsuite_manual.yml -f suites=fenics_test -f build_args="PRECICE_REF:v3.1.1,PRECICE_PRESET:production-audit,OPENFOAM_ADAPTER_REF:v1.3.0,PYTHON_BINDINGS_REF:v3.1.0,FENICS_ADAPTER_REF:v2.1.0,SU2_VERSION:7.5.1,SU2_ADAPTER_REF:64d4aff,TUTORIALS_REF:340b447" -f log_level=DEBUG --ref=develop
64+
gh workflow run run_testsuite_manual.yml -f suites=fenics_test -f build_args="PRECICE_REF:v3.1.1,PRECICE_PRESET:production-audit,OPENFOAM_ADAPTER_REF:v1.3.0,PYTHON_BINDINGS_REF:v3.1.0,FENICS_ADAPTER_REF:v2.1.0,SU2_VERSION:7.5.1,SU2_ADAPTER_REF:64d4aff,DEALII_ADAPTER_REF:02c5d18,TUTORIALS_REF:340b447" -f log_level=DEBUG --ref=develop
6565
```
6666

6767
where the `*_REF` should be a specific [commit-ish](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefcommit-ishacommit-ishalsocommittish).
@@ -258,9 +258,8 @@ openfoam-adapter:
258258
description: Tutorial git reference to use
259259
default: "master"
260260
OPENFOAM_EXECUTABLE:
261-
options: ["openfoam2306","openfoam2212","openfoam2112"]
262261
description: exectuable of openfoam to use
263-
default: "openfoam2306"
262+
default: "openfoam2312"
264263
OPENFOAM_ADAPTER_REF:
265264
description: Reference/tag of the actual OpenFOAM adapter
266265
default: "master"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
build:
2+
context: {{ dockerfile_context }}
3+
args:
4+
{% for key, value in build_arguments.items() %}
5+
- {{key}}={{value}}
6+
{% endfor %}
7+
target: dealii_adapter
8+
depends_on:
9+
prepare:
10+
condition: service_completed_successfully
11+
volumes:
12+
- {{ run_directory }}:/runs
13+
command: >
14+
/bin/bash -c "id &&
15+
cd '/runs/{{ tutorial_folder }}/{{ case_folder }}' &&
16+
{{ run }} | tee system-tests_{{ case_folder }}.log 2>&1"

tools/tests/components.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ openfoam-adapter:
5252
description: Tutorial git reference to use
5353
default: "master"
5454
OPENFOAM_EXECUTABLE:
55-
options: ["openfoam2306","openfoam2212","openfoam2112"]
5655
description: exectuable of openfoam to use
57-
default: "openfoam2306"
56+
default: "openfoam2312"
5857
OPENFOAM_ADAPTER_REF:
5958
description: Reference/tag of the OpenFOAM adapter to use
6059
default: "master"
@@ -147,3 +146,23 @@ su2-adapter:
147146
SU2_ADAPTER_REF:
148147
description: Version of SU2-Adapter to use
149148
default: "master"
149+
150+
dealii-adapter:
151+
repository: https://github.com/precice/dealii-adapter
152+
template: component-templates/dealii-adapter.yaml
153+
build_arguments:
154+
PLATFORM:
155+
description: Dockerfile platform used
156+
default: "ubuntu_2404"
157+
PRECICE_REF:
158+
description: Version of preCICE to use
159+
default: "main"
160+
PRECICE_PRESET:
161+
description: CMake preset of preCICE
162+
default: "production-audit"
163+
TUTORIALS_REF:
164+
description: Tutorial git reference to use
165+
default: "master"
166+
DEALII_ADAPTER_REF:
167+
description: Version of deal.ii-adapter to use
168+
default: "master"

tools/tests/dockerfiles/ubuntu_2204/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,22 @@ RUN git clone https://github.com/precice/su2-adapter.git && \
162162
RUN cd "${SU2_HOME}" &&\
163163
./meson.py build -Denable-pywrapper=true --prefix=$SU2_RUN &&\
164164
./ninja -C build install
165+
166+
FROM precice_dependecies AS dealii_adapter
167+
USER root
168+
RUN apt-get update &&\
169+
apt-get -qq install libdeal.ii-dev libdeal.ii-doc cmake make g++
170+
USER precice
171+
COPY --from=precice /home/precice/.local/ /home/precice/.local/
172+
ARG DEALII_ADAPTER_PR
173+
ARG DEALII_ADAPTER_REF
174+
# Build the deal.II adapter
175+
USER precice
176+
WORKDIR /home/precice
177+
ENV PATH="/home/precice/dealii-adapter/:$PATH"
178+
RUN git clone https://github.com/precice/dealii-adapter.git &&\
179+
cd dealii-adapter && \
180+
if [ -n "${DEALII_ADAPTER_PR}" ]; then git fetch origin pull/${DEALII_ADAPTER_PR}/head; fi && \
181+
git checkout ${DEALII_ADAPTER_REF} && \
182+
cmake . && \
183+
make -j $(nproc)

0 commit comments

Comments
 (0)