Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set SciML SpecializationLevel to FullSpecialize #2130

Open
visr opened this issue Mar 4, 2025 · 0 comments
Open

Set SciML SpecializationLevel to FullSpecialize #2130

visr opened this issue Mar 4, 2025 · 0 comments
Labels
performance Relates to runtime performance or convergence

Comments

@visr
Copy link
Member

visr commented Mar 4, 2025

@evetion tried this in #2114 but it segfaulted.
See https://docs.sciml.ai/SciMLBase/stable/interfaces/Problems/#Specialization-Levels
Enable this in precompile.jl:

# Commented out due to segfault on building
set_preferences!(
    UUID("0bca4576-84f4-4d90-8ffe-ffa030f20462"),  # SciMLBase
    "SpecializationLevel" => "FullSpecialize";
    force = true,
)

# run Ribasim.main here

# Remove preferences to avoid affecting normal Ribasim usage
# Commented out due to segfault on building
set_preferences!(
    UUID("0bca4576-84f4-4d90-8ffe-ffa030f20462"),  # SciMLBase
    "SpecializationLevel" => missing;
    force = true,
)
@visr visr added the performance Relates to runtime performance or convergence label Mar 4, 2025
@github-project-automation github-project-automation bot moved this to To do in Ribasim Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Relates to runtime performance or convergence
Projects
Status: To do
Development

No branches or pull requests

1 participant