JLD.jl
JLD.jl copied to clipboard
LoadError: stored type does not match
Hello, I stored some data on .jld files on a computer. Now I am trying to load the data on a different computer but I receive the following error:
ERROR: LoadError: stored type Base.LinSpace{Core.Float64} does not match currently loaded type Stacktrace: [1] jldatatype(::JLD.JldFile, ::HDF5.HDF5Datatype) at /home/user/.julia/v0.6/JLD/src/jld_types.jl:721 [2] read(::JLD.JldDataset) at /home/user/.julia/v0.6/JLD/src/JLD.jl:368 [3] read(::JLD.JldFile, ::String) at /home/user/.julia/v0.6/JLD/src/JLD.jl:344 [4] collect(::Base.Generator{Array{String,1},JLD.##38#40{JLD.JldFile}}) at ./array.jl:441 [5] (::JLD.##37#39)(::JLD.JldFile) at /home/user/.julia/v0.6/JLD/src/JLD.jl:1233 [6] #jldopen#11(::Array{Any,1}, ::Function, ::JLD.##37#39, ::String, ::Vararg{String,N} where N) at /home/user/.julia/v0.6/JLD/src/JLD.jl:243 [7] load(::FileIO.File{FileIO.DataFormat{:JLD}}) at /home/user/.julia/v0.6/JLD/src/JLD.jl:1232 [8] #load#13(::Array{Any,1}, ::Function, ::String) at /home/user/.julia/v0.6/FileIO/src/loadsave.jl:52 [9] load(::String) at /home/user/.julia/v0.6/FileIO/src/loadsave.jl:52 [10] include_from_node1(::String) at ./loading.jl:569 [11] include(::String) at ./sysimg.jl:14 [12] process_options(::Base.JLOptions) at ./client.jl:305 [13] _start() at ./client.jl:371 while loading /mnt/data/Dropbox/test.jl, in expression starting on line 13
where the line is just the loading:
loaded2 = load("/mnt/R841.jld")
Do you know how can I solve this issue? thanks.
Can you post the output of versioninfo() from both computers?
I can only use the computer where I have the error message. The output is:
Julia Version 0.6.0 Commit 9036443 (2017-06-19 13:05 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Prescott) LAPACK: libopenblas64_ LIBM: libopenlibm LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)
If this file was saved using older versions of Julia, you likely need to translate the type.