Skip to content

Fix compatibility range with preCICE - #15

Merged
fsimonis merged 1 commit into
mainfrom
fix-compatibility-range
Nov 10, 2026
Merged

fsimonis merged 1 commit into
mainfrom
fix-compatibility-range

Conversation

@fsimonis

@fsimonis fsimonis commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

This PR fixes the compatibility range of the bindings with preCICE.

For bindings X.Y.Z new range is >= X.Y, <X+1.
This prevents missing functions when building against an older preCICE that doesn't include a given API.
It also allows using future backward-compatible releases until the next major.

cargo run --example=solverdummy examples/precice-config.xml SolverOne
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/examples/solverdummy examples/precice-config.xml SolverOne`
DUMMY: Running solver dummy with preCICE config file "examples/precice-config.xml" and participant name "SolverOne".

preCICE: No convergence measures were defined for an implicit coupling scheme. It will always iterate the maximum amount iterations, which is 5. You may want to add a convergence measure in your <coupling-scheme:.../> in your configuration.
preCICE: No convergence measures were defined for an implicit coupling scheme. It will always iterate the maximum amount iterations, which is 5. You may want to add a convergence measure in your <coupling-scheme:.../> in your configuration.
preCICE: This is preCICE version 3.5.0
preCICE: Revision info: v3.4.1-74-ge3f7f2721-dirty
preCICE: Build type: Release (without debug log)
preCICE: Working directory "/home/me/things/precice/rust-bindings"
preCICE: Configuring preCICE with configuration "examples/precice-config.xml"
preCICE: I am participant "SolverOne"
preCICE: Setting up primary communication to coupling partner/s

@fsimonis
fsimonis merged commit 9ac7a90 into main Nov 10, 2026
3 checks passed
@fsimonis
fsimonis deleted the fix-compatibility-range branch November 10, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant