diff --git a/resonant-circuit/metadata.yaml b/resonant-circuit/metadata.yaml index c46c1adbf..6988337b2 100644 --- a/resonant-circuit/metadata.yaml +++ b/resonant-circuit/metadata.yaml @@ -7,11 +7,11 @@ participants: - Coil cases: - # capacitor-julia: - # participant: Capacitor - # directory: ./capacitor-julia - # run: ./run.sh - # component: julia-bindings + capacitor-julia: + participant: Capacitor + directory: ./capacitor-julia + run: ./run.sh + component: julia-bindings # capacitor-matlab: # participant: Capacitor @@ -25,11 +25,11 @@ cases: run: ./run.sh component: python-bindings - # coil-julia: - # participant: Coil - # directory: ./coil-julia - # run: ./run.sh - # component: julia-bindings + coil-julia: + participant: Coil + directory: ./coil-julia + run: ./run.sh + component: julia-bindings # coil-matlab: # participant: Coil diff --git a/resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz b/resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz new file mode 100644 index 000000000..9b959d2d4 --- /dev/null +++ b/resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9883bd675df44bc9f5a0b15096ca559d9a85e616893a1b8c4b9d50b0a92a0a58 +size 2946 diff --git a/resonant-circuit/reference-results/reference_results.metadata b/resonant-circuit/reference-results/reference_results.metadata index 7204326cb..678fb4813 100644 --- a/resonant-circuit/reference-results/reference_results.metadata +++ b/resonant-circuit/reference-results/reference_results.metadata @@ -11,7 +11,7 @@ We also include some information on the machine used to generate them | name | time | sha256 | |------|------|-------| -| capacitor-python_coil-python.tar.gz | 2026-05-30 14:00:24 | 5f86feb2df61aff94c0bada250a8574f65b671d88af0431683e19e2f1730991e | +| capacitor-julia_coil-julia.tar.gz | 2026-07-18 22:56:32 | 9883bd675df44bc9f5a0b15096ca559d9a85e616893a1b8c4b9d50b0a92a0a58 | ## List of arguments used to generate the files @@ -19,20 +19,26 @@ We also include some information on the machine used to generate them |------|------| | PLATFORM | ubuntu_2404 | | CALCULIX_VERSION | 2.20 | -| DUNE_VERSION | 2.9 | | DUMUX_VERSION | 3.7 | +| DUNE_VERSION_DUMUX | 2.9 | +| DUNE_VERSION_DUNE | 2.9 | | OPENFOAM_EXECUTABLE | openfoam2512 | | SU2_VERSION | 7.5.1 | -| FENICS_ADAPTER_REF | v2.3.0 | +| ASTE_REF | 4e32a4f | | CALCULIX_ADAPTER_REF | v2.20.1 | | DEALII_ADAPTER_REF | a421d92 | +| DUNE_ADAPTER_REF | 778d3bb | | DUMUX_ADAPTER_REF | 3f3f54f | -| MICRO_MANAGER_REF | v0.10.1 | +| FENICS_ADAPTER_REF | v2.3.0 | +| FENICSX_ADAPTER_REF | v1.0.1 | +| FMI_RUNNER_REF | v0.2.1 | +| JULIA_BINDINGS_REF | 6a9fc24b6f9b6f6efd60cca76ba07ef82b0aafd1 | +| MICRO_MANAGER_REF | bf5ea7b | | OPENFOAM_ADAPTER_REF | 2c3062c | -| PRECICE_REF | v3.4.1 | +| PRECICE_REF | b770460f2447b94da430086085d6b424e7c073e9 | | PYTHON_BINDINGS_REF | v3.4.0 | | SU2_ADAPTER_REF | 5abe79b | -| TUTORIALS_REF | 89c82d5 | +| TUTORIALS_REF | 53f45b5f17e831ff690a22b3e34cde9e3c1bb888 | | PRECICE_PRESET | production-audit | | PRECICE_UID | 1003 | | PRECICE_GID | 1003 | @@ -40,7 +46,7 @@ We also include some information on the machine used to generate them ### uname -a -Linux precice-tests 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux +Linux precice-tests 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux ### lscpu diff --git a/tools/tests/component-templates/julia-bindings.yaml b/tools/tests/component-templates/julia-bindings.yaml new file mode 100644 index 000000000..d5d6c849b --- /dev/null +++ b/tools/tests/component-templates/julia-bindings.yaml @@ -0,0 +1,17 @@ +build: + context: {{ dockerfile_context }} + args: + {% for key, value in build_arguments.items() %} + - {{key}}={{value}} + {% endfor %} + target: julia_bindings +depends_on: + prepare: + condition: service_completed_successfully +volumes: + - {{ run_directory }}:/runs +command: > + /bin/bash -c "id && + cd '/runs/{{ tutorial_folder }}/{{ case_folder }}' && + {{ run }} + | tee system-tests_{{ case_folder }}.log 2>&1" diff --git a/tools/tests/components.yaml b/tools/tests/components.yaml index 658b1d826..6b5ef5b88 100644 --- a/tools/tests/components.yaml +++ b/tools/tests/components.yaml @@ -166,6 +166,23 @@ fmi-runner: repository: https://github.com/precice/fmi-runner default: "main" +julia-bindings: + template: component-templates/julia-bindings.yaml + build_arguments: + PLATFORM: + default: "ubuntu_2404" + PRECICE_REF: + repository: https://github.com/precice/precice + default: "develop" + PRECICE_PRESET: + default: "production-audit" + TUTORIALS_REF: + repository: https://github.com/precice/tutorials + default: "develop" + JULIA_BINDINGS_REF: + repository: https://github.com/precice/PreCICE.jl + default: "develop" + mercurydpm-adapter: template: component-templates/mercurydpm-adapter.yaml build_arguments: diff --git a/tools/tests/dockerfiles/ubuntu_2404/Dockerfile b/tools/tests/dockerfiles/ubuntu_2404/Dockerfile index 64f31db33..23dbbece1 100644 --- a/tools/tests/dockerfiles/ubuntu_2404/Dockerfile +++ b/tools/tests/dockerfiles/ubuntu_2404/Dockerfile @@ -99,6 +99,21 @@ ENV CMAKE_PREFIX_PATH="/home/precice/.local" ### end of precice stage ### +FROM precice AS julia_bindings +ARG JULIA_BINDINGS_REF + +USER root +RUN apt-get -qq update && \ + apt-get -qq install pipx + +USER precice +WORKDIR /home/precice + +RUN pipx install jill && \ + jill install --confirm +### end of julia_bindings stage ### + + FROM precice AS python_bindings ARG PYTHON_BINDINGS_PR ARG PYTHON_BINDINGS_REF diff --git a/tools/tests/reference_versions.yaml b/tools/tests/reference_versions.yaml index d9994c125..0c7950c28 100644 --- a/tools/tests/reference_versions.yaml +++ b/tools/tests/reference_versions.yaml @@ -14,13 +14,14 @@ SU2_VERSION: "7.5.1" # Tested components ASTE_REF: "4e32a4f" # develop, July 12, 2026 -FENICS_ADAPTER_REF: "v2.3.0" -FENICSX_ADAPTER_REF: "v1.0.1" -FMI_RUNNER_REF: "v0.2.1" CALCULIX_ADAPTER_REF: "v2.20.1" DEALII_ADAPTER_REF: "a421d92" # develop, May 27, 2026 DUNE_ADAPTER_REF: "778d3bb" # main, July 8, 2026 DUMUX_ADAPTER_REF: "3f3f54f" # develop, May 27, 2026 +FENICS_ADAPTER_REF: "v2.3.0" +FENICSX_ADAPTER_REF: "v1.0.1" +FMI_RUNNER_REF: "v0.2.1" +JULIA_BINDINGS_REF: "v3.4.0" MICRO_MANAGER_REF: "bf5ea7b" # develop, July 7, 2026 OPENFOAM_ADAPTER_REF: "2c3062c" # develop, May 27, 2026 PRECICE_REF: "v3.4.1" diff --git a/tools/tests/tests.yaml b/tools/tests/tests.yaml index 35122dd7e..0b806a771 100644 --- a/tools/tests/tests.yaml +++ b/tools/tests/tests.yaml @@ -532,6 +532,13 @@ test_suites: resonant-circuit: tutorials: + - &resonant-circuit_capacitor-julia_coil-julia + path: resonant-circuit + case_combination: + - capacitor-julia + - coil-julia + timeout: 900 + reference_result: ./resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz - &resonant-circuit_capacitor-python_coil-python path: resonant-circuit case_combination: @@ -745,6 +752,7 @@ test_suites: - *partitioned-heat-conduction_dirichlet-nutils_neumann-nutils - *perpendicular-flap_fluid-nutils_solid-calculix - *perpendicular-flap_fluid-openfoam_solid-nutils + - *resonant-circuit_capacitor-julia_coil-julia - *turek-hron-fsi3_fluid-nutils_solid-nutils - *two-scale-heat-conduction_macro-nutils_micro-nutils @@ -891,6 +899,10 @@ test_suites: - *partitioned-heat-conduction-mixedbc_left-openfoam_right-openfoam - *partitioned-heat-conduction-robin_left-openfoam_right-openfoam + julia-bindings: + tutorials: + - *resonant-circuit_capacitor-julia_coil-julia + python-bindings: tutorials: - *elastic-tube-1d_fluid-python_solid-python