Hi all, having similar issues with DifferentialEquations in my new Julia installation (3 days ago?) in a mounted docker container in Visual Studio Code. Have tried restarting Julia and VSC, as well as pkg>up. Here is the error produced after (frustratingly) 6 minutes,
[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: LoadError: Failed to precompile Sundials [c3572dad-4567-51f8-b174-8c6c989267f4] to /root/.julia/compiled/v1.5/Sundials/j8Ppj_nrrZo.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
[3] _require(::Base.PkgId) at ./loading.jl:1030
[4] require(::Base.PkgId) at ./loading.jl:928
[5] require(::Module, ::Symbol) at ./loading.jl:923
[6] include(::Function, ::Module, ::String) at ./Base.jl:380
[7] include(::Module, ::String) at ./Base.jl:368
[8] top-level scope at none:2
[9] eval at ./boot.jl:347 [inlined]
[10] eval(::Expr) at ./client.jl:467
[11] top-level scope at ./none:3
in expression starting at /root/.julia/packages/DifferentialEquations/HSWeG/src/DifferentialEquations.jl:13
ERROR: LoadError: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /root/.julia/compiled/v1.5/DifferentialEquations/UQdwS_nrrZo.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
[3] _require(::Base.PkgId) at ./loading.jl:1030
[4] require(::Base.PkgId) at ./loading.jl:928
[5] require(::Module, ::Symbol) at ./loading.jl:923
[6] include_string(::Function, ::Module, ::String, ::String) at ./loading.jl:1091
[7] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at ./essentials.jl:710
[8] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
[9] inlineeval(::Module, ::String, ::Int64, ::Int64, ::String; softscope::Bool) at /root/.vscode-server/extensions/julialang.language-julia-1.1.37/scripts/packages/VSCodeServer/src/eval.jl:193
[10] (::VSCodeServer.var"#65#69"{String,Int64,Int64,String,Module,Bool,VSCodeServer.ReplRunCodeRequestParams})() at /root/.vscode-server/extensions/julialang.language-julia-1.1.37/scripts/packages/VSCodeServer/src/eval.jl:151
[11] withpath(::VSCodeServer.var"#65#69"{String,Int64,Int64,String,Module,Bool,VSCodeServer.ReplRunCodeRequestParams}, ::String) at /root/.vscode-server/extensions/julialang.language-julia-1.1.37/scripts/packages/VSCodeServer/src/repl.jl:142
[12] (::VSCodeServer.var"#64#68"{String,Int64,Int64,String,Module,Bool,Bool,VSCodeServer.ReplRunCodeRequestParams})() at /root/.vscode-server/extensions/julialang.language-julia-1.1.37/scripts/packages/VSCodeServer/src/eval.jl:149
[13] hideprompt(::VSCodeServer.var"#64#68"{String,Int64,Int64,String,Module,Bool,Bool,VSCodeServer.ReplRunCodeRequestParams}) at /root/.vscode-server/extensions/julialang.language-julia-1.1.37/scripts/packages/VSCodeServer/src/repl.jl:36
[14] (::VSCodeServer.var"#63#67"{String,Int64,Int64,String,Module,Bool,Bool,VSCodeServer.ReplRunCodeRequestParams})() at /root/.vscode-server/extensions/julialang.language-julia-1.1.37/scripts/packages/VSCodeServer/src/eval.jl:117
[15] with_logstate(::Function, ::Any) at ./logging.jl:408
[16] with_logger at ./logging.jl:514 [inlined]
[17] (::VSCodeServer.var"#62#66"{VSCodeServer.ReplRunCodeRequestParams})() at /root/.vscode-server/extensions/julialang.language-julia-1.1.37/scripts/packages/VSCodeServer/src/eval.jl:183
[18] #invokelatest#1 at ./essentials.jl:710 [inlined]
[19] invokelatest(::Any) at ./essentials.jl:709
[20] macro expansion at /root/.vscode-server/extensions/julialang.language-julia-1.1.37/scripts/packages/VSCodeServer/src/eval.jl:34 [inlined]
[21] (::VSCodeServer.var"#60#61")() at ./task.jl:356
in expression starting at /home/julia/project/PostBin_Analysis_v1.jl:19
What’s bizarre is that I have seen 2 or 3 different errors that are all pretty similar to this but with different .jl files in /DifferentialEquations each time I reload Julia… Here is my pkg>st information:
(@v1.5) pkg> st
Status ~/.julia/environments/v1.5/Project.toml
[49dc2e85] Calculus v0.5.1
[479239e8] Catalyst v6.9.1
[a93c6f00] DataFrames v0.22.5
[0c46a032] DifferentialEquations v6.16.0
[31c24e10] Distributions v0.24.15
[91a5bcdd] Plots v1.11.0
[276daf66] SpecialFunctions v1.3.0
[2913bbd2] StatsBase v0.33.4
[f3b207a7] StatsPlots v0.14.19
[24249f21] SymPy v1.0.41
[fce5fe82] Turing v0.15.12
Very new to Julia but I followed the docker installation and mounting instructions to a tee. While other precompiles are slow, DifferentialEquations is the only package giving me these issues.
Here is also a run of pkg>up for more information, and my Julia version info
(@v1.5) pkg> up
Updating registry at ~/.julia/registries/General
######################################################################## 100.0%
No Changes to ~/.julia/environments/v1.5/Project.toml
No Changes to ~/.julia/environments/v1.5/Manifest.toml
julia> versioninfo()
Julia Version 1.5.4
Commit 69fcb5745b (2021-03-11 19:13 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core™ i5-7360U CPU @ 2.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_GPG = 3673DF529D9049477F76B37566E3C7DC03D6E495
JULIA_PATH = /usr/local/julia
JULIA_VERSION = 1.5.4
JULIA_EDITOR = “/root/.vscode-server/bin/f30a9b73e8ffc278e71575118b6bf568f04587c8/bin/code”
JULIA_NUM_THREADS =