-
-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
Sundials v4.1.1 (probably earlier, too) requires DiffEqBase greater than or equal to v6.21.0 or else during precompilation you get a somewhat opaque error:
(@v1.4) pkg> add DiffEqBase@6.20.0
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `~/.julia/environments/v1.4/Project.toml`
[2b5f629d] ↓ DiffEqBase v6.21.0 ⇒ v6.20.0
Updating `~/.julia/environments/v1.4/Manifest.toml`
[2b5f629d] ↓ DiffEqBase v6.21.0 ⇒ v6.20.0
julia> using Sundials
[ Info: Precompiling Sundials [c3572dad-4567-51f8-b174-8c6c989267f4]
ERROR: LoadError: LoadError: UndefVarError: initialize_dae! not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at ./Base.jl:26
[2] top-level scope at /home/graham/.julia/packages/Sundials/0yJ3G/src/common_interface/integrator_utils.jl:151
[3] include(::Module, ::String) at ./Base.jl:377
[4] include(::String) at /home/graham/.julia/packages/Sundials/0yJ3G/src/Sundials.jl:3
[5] top-level scope at /home/graham/.julia/packages/Sundials/0yJ3G/src/Sundials.jl:71
[6] include(::Module, ::String) at ./Base.jl:377
[7] top-level scope at none:2
[8] eval at ./boot.jl:331 [inlined]
[9] eval(::Expr) at ./client.jl:449
[10] top-level scope at ./none:3
in expression starting at /home/graham/.julia/packages/Sundials/0yJ3G/src/common_interface/integrator_utils.jl:151
in expression starting at /home/graham/.julia/packages/Sundials/0yJ3G/src/Sundials.jl:71
ERROR: Failed to precompile Sundials [c3572dad-4567-51f8-b174-8c6c989267f4] to /home/graham/.julia/compiled/v1.4/Sundials/j8Ppj_ylDnv.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
[3] _require(::Base.PkgId) at ./loading.jl:1029
[4] require(::Base.PkgId) at ./loading.jl:927
[5] require(::Module, ::Symbol) at ./loading.jl:922
Metadata
Metadata
Assignees
Labels
No labels