Skip to content

Update defaults, including switch to LLJIT. - #1439

Open
luciansmith wants to merge 3 commits into
developfrom
new-defaults
Open

luciansmith wants to merge 3 commits into
developfrom
new-defaults

Conversation

@luciansmith

@luciansmith luciansmith commented Nov 9, 2026 •

Copy link
Copy Markdown

Several related fixes:

Several related fixes:
* The default JIT level is now actually LLJIT (fixing #1419)
* The default LLJIT optimization level is now NONE.
* The default LLJIT 'numthreads' is now 0.
* New 'resetDefaults' function.
* Model caching now includes JIT level, LLJIT optimization, and whether conserved moieties are on or off, because those drastically change the compiled model.
* Comments for values that were binary being written as if they were hex:  '0x00010' is changed to '0b00010' to use the official binary notation instead of the official hex notation.

This commit also includes some timing tests, which are here temporarily; they won't need to be run on all platforms every time, but I would like to see the results once, to make sure these defaults are actually the best over all platforms.
We've confirmed that the timing on all platforms is the same as on my Windows machine.

(Also, fix a compilation warning in Matrix.h)

This branch has not been deployed

No deployments
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