You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I have stored a large and time-consuming solution (4D array, size ~ 4GB) from DifferentialEquations.jl package in JLD2 format. Meanwhile, I upgraded Julia and reinstalled the packages. Now when I try to read in a file with jldopen and try to access an object named as original variable "solve", I get this error shown below. To restore it, JLD2 needs the correct package preloaded. Can you tell me what version of DifferentialEquations.j changed the ODESolution interface so I can restore the saved solution?
┌ Warning: read type ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing} has a different number of parameters from type ODEFunction in workspace; reconstructing
└ @ JLD2 C:\Users\davorh.julia\packages\JLD2\r5t7Q\src\data\reconstructing_datatypes.jl:457
┌ Warning: read type ODESolution{Float64, 3, Vector{Matrix{Float64}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, ODEProblem{Matrix{Float64}, Tuple{Float64, Float64}, false, SciMLBase.NullParameters, JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, AB3, OrdinaryDiffEq.InterpolationData{JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Vector{Matrix{Float64}}, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, OrdinaryDiffEq.AB3ConstantCache{Matrix{Float64}}}, DiffEqBase.DEStats} is not a leaf type in workspace; reconstructing
└ @ JLD2 C:\Users\davorh.julia\packages\JLD2\r5t7Q\src\data\reconstructing_datatypes.jl:263
MethodError: Cannot convert an object of type
JLD2.ReconstructedTypes.var"##ODESolution{Float64, 3, Vector{Matrix{Float64}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, ODEProblem{Matrix{Float64}, Tuple{Float64, Float64}, false, SciMLBase.NullParameters, JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, AB3, OrdinaryDiffEq.InterpolationData{JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Vector{Matrix{Float64}}, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, OrdinaryDiffEq.AB3ConstantCache{Matrix{Float64}}}, DiffEqBase.DEStats}#292" to an object of type
ODESolution{Float64, 3, Vector{Matrix{Float64}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, ODEProblem{Matrix{Float64}, Tuple{Float64, Float64}, false, SciMLBase.NullParameters, JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, AB3, OrdinaryDiffEq.InterpolationData{JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Vector{Matrix{Float64}}, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, OrdinaryDiffEq.AB3ConstantCache{Matrix{Float64}}}, DiffEqBase.DEStats}
The text was updated successfully, but these errors were encountered:
Unfortunately, I have stored a large and time-consuming solution (4D array, size ~ 4GB) from DifferentialEquations.jl package in JLD2 format. Meanwhile, I upgraded Julia and reinstalled the packages. Now when I try to read in a file with jldopen and try to access an object named as original variable "solve", I get this error shown below. To restore it, JLD2 needs the correct package preloaded. Can you tell me what version of DifferentialEquations.j changed the ODESolution interface so I can restore the saved solution?
┌ Warning: read type ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing} has a different number of parameters from type ODEFunction in workspace; reconstructing
└ @ JLD2 C:\Users\davorh.julia\packages\JLD2\r5t7Q\src\data\reconstructing_datatypes.jl:457
┌ Warning: read type ODESolution{Float64, 3, Vector{Matrix{Float64}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, ODEProblem{Matrix{Float64}, Tuple{Float64, Float64}, false, SciMLBase.NullParameters, JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, AB3, OrdinaryDiffEq.InterpolationData{JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Vector{Matrix{Float64}}, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, OrdinaryDiffEq.AB3ConstantCache{Matrix{Float64}}}, DiffEqBase.DEStats} is not a leaf type in workspace; reconstructing
└ @ JLD2 C:\Users\davorh.julia\packages\JLD2\r5t7Q\src\data\reconstructing_datatypes.jl:263
MethodError: Cannot
convert
an object of typeJLD2.ReconstructedTypes.var"##ODESolution{Float64, 3, Vector{Matrix{Float64}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, ODEProblem{Matrix{Float64}, Tuple{Float64, Float64}, false, SciMLBase.NullParameters, JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, AB3, OrdinaryDiffEq.InterpolationData{JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Vector{Matrix{Float64}}, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, OrdinaryDiffEq.AB3ConstantCache{Matrix{Float64}}}, DiffEqBase.DEStats}#292" to an object of type
ODESolution{Float64, 3, Vector{Matrix{Float64}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, ODEProblem{Matrix{Float64}, Tuple{Float64, Float64}, false, SciMLBase.NullParameters, JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, AB3, OrdinaryDiffEq.InterpolationData{JLD2.ReconstructedTypes.var"##ODEFunction{false,SciMLBase.AutoSpecialize,Main.#BK,LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,typeof(SciMLBase.DEFAULT_OBSERVED),Nothing,Nothing}#291", Vector{Matrix{Float64}}, Vector{Float64}, Vector{Vector{Matrix{Float64}}}, OrdinaryDiffEq.AB3ConstantCache{Matrix{Float64}}}, DiffEqBase.DEStats}
The text was updated successfully, but these errors were encountered: