Repository navigation
heyoka 7.14.0 #572
bluescarni
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The latest release of heyoka is one of the largest to date, and it comes with several fixes and improvements.
Event detection
The event detection system has been enhanced in several ways.
The root-finding algorithm powering event detection is now implemented via rigorous interval arithmetic, and it is guaranteed not to miss any event triggering within an integration step (the only caveat is that roots which are closer to each other than the floating-point epsilon may be reported as a single root). To the best of our knowledge, heyoka is the first ODE solver providing such a guarantee.
In addition, a new opt-in feature is available to detect event which trigger in-between steps. Such cross-step events can rarely occur when the Taylor series of an event function discontinuously switches signs between one step and the next.
For more information, see the updated event detection tutorial:
https://bluescarni.github.io/heyoka/tut_events.html
Parallel JIT compilation ⚡
A long-standing issue with parallel JIT compilation originating from an LLVM bug has been fixed, and now heyoka by default enables parallel compilation whenever
compact_modeis activated and LLVM>=20 is being used. As a consequence, the compilation time for ODE systems and compiled functions involving large expressions should be noticeably reduced.Disk cache improvements 💾
The disk cache introduced a couple of releases ago has also seen important improvements.
A noticeable lag occurring on initial access has been removed. This issue originated from an integrity check automatically issued on the initial connection to the cache's database. The integrity check is now skipped and errors due to a corrupted database are now expected to surface as exceptions or warnings in the logging system.
Additionally, the disk cache now takes into account the system's CPU during lookup and insertion. This means that is it now safe to share the same cache file across systems with different CPUs (this is a situation that can naturally occur on HPC clusters with a
/homedir on a networked filesystem, where the on-disk cache may end up being shared among nodes with different CPUs).Fixes 🐛
A large amount of small bugs, inconsistencies and annoyances have also been fixed. A few highlights:
For the full list of fixes and changes, see the complete changelog:
https://bluescarni.github.io/heyoka/changelog.html
This discussion was created from the release heyoka 7.14.0.
All reactions