From 27225d26c7a1f0a0180f0861a70b5a3eedea7556 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Sat, 15 Aug 2026 15:46:48 +0200 Subject: [PATCH 1/2] Make all tutorials define acceptor before connector --- heat-exchanger/precice-config.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heat-exchanger/precice-config.xml b/heat-exchanger/precice-config.xml index ee17c9941..7587444b7 100644 --- a/heat-exchanger/precice-config.xml +++ b/heat-exchanger/precice-config.xml @@ -97,7 +97,7 @@ from="Solid-to-Fluid-Outer" /> - + @@ -129,7 +129,7 @@ initialize="yes" /> - + From e7b97d0b04c6c5f6d6316ac54cd8ca1b2dc94708 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Sat, 15 Aug 2026 15:48:48 +0200 Subject: [PATCH 2/2] Inject network attribute only if not already added --- tests/docker-compose.template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker-compose.template.yaml b/tests/docker-compose.template.yaml index f99021aed..7dc85c526 100644 --- a/tests/docker-compose.template.yaml +++ b/tests/docker-compose.template.yaml @@ -14,7 +14,7 @@ services: cd '/runs/{{ tutorial_folder }}' && sed -i 's||= debug and %Rank% = 0\" enabled=\"true\" />|g' precice-config.xml && sed -i 's%% %g' precice-config.xml && - sed -i 's|m2n:sockets |m2n:sockets network=\"eth0\" |g' precice-config.xml && + sed -i 's|m2n:sockets acceptor|m2n:sockets network=\"eth0\" acceptor|g' precice-config.xml && grep -r --include Cargo.toml '\"precice\" = \"3.2\"' -l . | xargs -r sed -i 's|\"precice\" = \"3.2\"|\"precice\" = { git = \"https://github.com/precice/rust-bindings\", rev = \"{{build_arguments.RUST_BINDINGS_REF}}\"}|g' && grep -r --include run.sh 'Pkg.add(\"PreCICE\")' -l . | xargs -r sed -i 's|Pkg.add(\"PreCICE\")|Pkg.add(url=\"https://github.com/precice/PreCICE.jl.git\",rev=\"{{build_arguments.JULIA_BINDINGS_REF}}\")|g' && echo -e '\ngit+https://github.com/precice/fmi-runner@{{build_arguments.FMI_RUNNER_REF}}' | tee -a $(grep -r --include requirements.txt 'fmiprecice' -l .) > /dev/null &&