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

[email protected] broke the precompilation #2579

Closed
prbzrg opened this issue Jan 24, 2025 · 6 comments · Fixed by #2580
Closed

[email protected] broke the precompilation #2579

prbzrg opened this issue Jan 24, 2025 · 6 comments · Fixed by #2580
Labels

Comments

@prbzrg
Copy link
Member

prbzrg commented Jan 24, 2025

Culprit:
SciML/ADTypes.jl#104

Error:

ERROR: LoadError: MethodError: no method matching _get_fdtype(::Type{ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing}})
The function `_get_fdtype` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  _get_fdtype(::Type{ADTypes.AutoFiniteDiff{T1, T2, T3}}) where {T1, T2, T3}
   @ OrdinaryDiffEqCore C:\Users\prbzr\.julia\packages\OrdinaryDiffEqCore\Ifi3S\src\alg_utils.jl:182
  _get_fdtype(::ADTypes.AutoFiniteDiff{T1, T2, T3}) where {T1, T2, T3}
   @ OrdinaryDiffEqCore C:\Users\prbzr\.julia\packages\OrdinaryDiffEqCore\Ifi3S\src\alg_utils.jl:181

Stacktrace:
  [1] alg_difftype(alg::OrdinaryDiffEqRosenbrock.Rosenbrock23{0, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing}, Nothing, typeof(OrdinaryDiffEqCore.DEFAULT_PRECS), Val{:forward}(), true, nothing, typeof(OrdinaryDiffEqCore.trivial_limiter!), typeof(OrdinaryDiffEqCore.trivial_limiter!)})
    @ OrdinaryDiffEqCore C:\Users\prbzr\.julia\packages\OrdinaryDiffEqCore\Ifi3S\src\alg_utils.jl:251
@prbzrg prbzrg added the bug label Jan 24, 2025
@prbzrg
Copy link
Member Author

prbzrg commented Jan 24, 2025

I will try to fix it.

@codercahol
Copy link

what is blocking this and is there anything I can do to help?

@daviehh
Copy link

daviehh commented Jan 24, 2025

Thanks for finding the root - meanwhile, as a stopgap ] add [email protected] until it gets fixed

@ChrisRackauckas
Copy link
Member

Hotfixed: #2582

@Mattiatarabolo
Copy link

I still get ERROR: LoadError: Failed to precompile OrdinaryDiffEqDefault [50262376-6c5a-4cf5-baba-aaf4f84d72d7] to "~/.julia/compiled/v1.11/OrdinaryDiffEqDefault/jl_V3SGz9". when adding and precompiling OrdinaryDiffEq from the last commit (which supposedly fixed the bug). Do you have any advise on how to avoid this error?

@ChrisRackauckas
Copy link
Member

What is your error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants