SciML / LinearSolve.jl

LinearSolve.jl: High-Performance Unified Interface for Linear Solvers in Julia. Easily switch between factorization and Krylov methods, add preconditioners, and all in one interface.
https://docs.sciml.ai/LinearSolve/stable/
Other
244 stars 52 forks source link

Precompilation Error: LinearSolveRecursiveArrayToolsExt #395

Closed prbzrg closed 11 months ago

prbzrg commented 11 months ago
│  ┌ Warning: Module LinearSolveRecursiveArrayToolsExt with build ID fafbfcfd-7a47-fed2-0000-007efce157c9 is missing from the cache.
│  │ This may mean LinearSolveRecursiveArrayToolsExt [04950c4b-5bc4-5740-952d-02d2c1eb583a] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1793
│  ┌ Error: Error during loading of extension LinearSolveRecursiveArrayToolsExt of LinearSolve, use `Base.retry_load_extensions()` to retry.
│  │   exception =
│  │    1-element ExceptionStack:
│  │    Declaring __precompile__(false) is not allowed in files that are being precompiled.
│  │    Stacktrace:
│  │      [1] _require(pkg::Base.PkgId, env::Nothing)
│  │        @ Base .\loading.jl:1797
│  │      [2] _require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│  │        @ Base .\loading.jl:1660
│  │      [3] _require_prelocked(uuidkey::Base.PkgId)
│  │        @ Base .\loading.jl:1658
│  │      [4] run_extension_callbacks(extid::Base.ExtensionId)
│  │        @ Base .\loading.jl:1255
│  │      [5] run_extension_callbacks(pkgid::Base.PkgId)
│  │        @ Base .\loading.jl:1290
│  │      [6] run_package_callbacks(modkey::Base.PkgId)
│  │        @ Base .\loading.jl:1124
│  │      [7] _require_prelocked(uuidkey::Base.PkgId, env::String)
│  │        @ Base .\loading.jl:1667
│  │      [8] macro expansion
│  │        @ .\loading.jl:1648 [inlined]
│  │      [9] macro expansion
│  │        @ .\lock.jl:267 [inlined]
│  │     [10] require(into::Module, mod::Symbol)
│  │        @ Base .\loading.jl:1611
│  │     [11] include
│  │        @ .\Base.jl:457 [inlined]
│  │     [12] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
│  │        @ Base .\loading.jl:2049
│  │     [13] top-level scope
│  │        @ stdin:3
│  │     [14] eval
│  │        @ .\boot.jl:370 [inlined]
│  │     [15] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│  │        @ Base .\loading.jl:1903
│  │     [16] include_string
│  │        @ .\loading.jl:1913 [inlined]
│  │     [17] exec_options(opts::Base.JLOptions)
│  │        @ Base .\client.jl:305
│  │     [18] _start()
│  │        @ Base .\client.jl:522
│  └ @ Base loading.jl:1261
│  ┌ Warning: Module OrdinaryDiffEq with build ID fafbfcfd-80f5-6ba2-0000-103c60095cd5 is missing from the cache.
│  │ This may mean OrdinaryDiffEq [1dea7af3-3e70-54e6-95c3-0bf5283fa5ed] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1793
ChrisRackauckas commented 11 months ago

Are you sure this wasn't just a compilation cache issue that goes away when refreshing the cache?

prbzrg commented 11 months ago

Restarting Julia doesn't help.

ChrisRackauckas commented 11 months ago

Fully refresh .julia

prbzrg commented 11 months ago

Thanks, it worked. I just deleted the compiled folder.

prbzrg commented 11 months ago

If it can be fixed this easy, why there isn't any docs? or a better error message, maybe?

ChrisRackauckas commented 11 months ago

I don't know, it's not something about this package. It has nothing to do with this package.