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
using OrdinaryDiffEq
f_2dlinear = (du, u, p, t) -> du .=1.01u
tspan = (0.0, 1.0)
prob =ODEProblem(f_2dlinear, rand(2, 2), tspan)
sol =solve(prob, Euler(); dt =1//2^(4))
using JLD2
@save"out.jld2" sol
Julia Version 1.10.5
Commit 6f3fdf7b362 (2024-08-2714:19 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU:22×Intel(R) Core(TM) Ultra 7155H
WORD_SIZE:64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads:1 default, 0 interactive, 1 GC (on 22 virtual cores)
Additional context
It seems like for this example, the Base.Serialization.serialize function does work, but for a more complicated example in my code, I get a pretty similar error message to this (upon deserialization, though) where it seems to be trying to access an undefined reference, but it doesn't tell me much more than that, so I'm not sure where to look.
The text was updated successfully, but these errors were encountered:
Describe the example
Documentation Example for serialization using JLD2 no longer works: https://docs.sciml.ai/DiffEqDocs/stable/features/io/
Minimal Reproducible Example 👇
Error & Stacktrace⚠️
Not Working Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
It seems like for this example, the
Base.Serialization.serialize
function does work, but for a more complicated example in my code, I get a pretty similar error message to this (upon deserialization, though) where it seems to be trying to access an undefined reference, but it doesn't tell me much more than that, so I'm not sure where to look.The text was updated successfully, but these errors were encountered: