I am interested in running this, but I'm a bit unsure if I'm able to. Some Julia libraries that I've recently tried to use were not available to me because of my Mac's use of Apple Silicon.
Thank you for your time! More information on the error can be found below.
┌ Warning: Opening file with JLD2.MmapIO failed, falling back to IOStream
└ @ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:277
ERROR: LoadError: SystemError: opening file "/MY_MAC_HOME_DIRECTORY/.julia/scratchspaces/b76b7f0e-3267-49b4-a6cd-c01948ce091d/acrobot/impact.jld2": No such file or directory
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base ./error.jl:176
[2] #systemerror#80
@ ./error.jl:175 [inlined]
[3] systemerror
@ ./error.jl:175 [inlined]
[4] open(fname::String; lock::Bool, read::Bool, write::Bool, create::Bool, truncate::Bool, append::Bool)
@ Base ./iostream.jl:293
[5] openfile
@ ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:267 [inlined]
[6] openfile(T::Type, fname::String, wr::Bool, create::Bool, truncate::Bool, fallback::Type)
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:278
[7] jldopen(fname::String, wr::Bool, create::Bool, truncate::Bool, iotype::Type{JLD2.MmapIO}; fallback::Type{IOStream}, compress::Bool, mmaparrays::Bool, typemap::Dict{String, Any})
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:334
[8] jldopen(fname::String, wr::Bool, create::Bool, truncate::Bool, iotype::Type{JLD2.MmapIO})
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:291
[9] jldopen(fname::String, mode::String; iotype::Type, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:414
[10] jldopen (repeats 2 times)
@ ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:408 [inlined]
[11] jldopen(f::Function, args::String; kws::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/loadsave.jl:2
[12] jldopen(f::Function, args::String)
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/loadsave.jl:1
[13] top-level scope
@ ~/.julia/packages/JLD2/egQUB/src/loadsave.jl:145
[14] include
@ ./Base.jl:419 [inlined]
[15] 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, UInt64}}, source::String)
@ Base ./loading.jl:1554
[16] top-level scope
@ stdin:1
in expression starting at /MY_MAC_HOME_DIRECTORY/.julia/packages/OptimizationDynamics/1IeSO/src/OptimizationDynamics.jl:1
in expression starting at stdin:1
caused by: SystemError: opening file "/MY_MAC_HOME_DIRECTORY/.julia/scratchspaces/b76b7f0e-3267-49b4-a6cd-c01948ce091d/acrobot/impact.jld2": No such file or directory
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base ./error.jl:176
[2] #systemerror#80
@ ./error.jl:175 [inlined]
[3] systemerror
@ ./error.jl:175 [inlined]
[4] open(fname::String; lock::Bool, read::Bool, write::Bool, create::Bool, truncate::Bool, append::Bool)
@ Base ./iostream.jl:293
[5] JLD2.MmapIO(fname::String, write::Bool, create::Bool, truncate::Bool)
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/mmapio.jl:105
[6] openfile
@ ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:270 [inlined]
[7] openfile(T::Type, fname::String, wr::Bool, create::Bool, truncate::Bool, fallback::Type)
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:275
[8] jldopen(fname::String, wr::Bool, create::Bool, truncate::Bool, iotype::Type{JLD2.MmapIO}; fallback::Type{IOStream}, compress::Bool, mmaparrays::Bool, typemap::Dict{String, Any})
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:334
[9] jldopen(fname::String, wr::Bool, create::Bool, truncate::Bool, iotype::Type{JLD2.MmapIO})
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:291
[10] jldopen(fname::String, mode::String; iotype::Type, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:414
[11] jldopen (repeats 2 times)
@ ~/.julia/packages/JLD2/egQUB/src/JLD2.jl:408 [inlined]
[12] jldopen(f::Function, args::String; kws::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/loadsave.jl:2
[13] jldopen(f::Function, args::String)
@ JLD2 ~/.julia/packages/JLD2/egQUB/src/loadsave.jl:1
[14] top-level scope
@ ~/.julia/packages/JLD2/egQUB/src/loadsave.jl:145
[15] include
@ ./Base.jl:419 [inlined]
[16] 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, UInt64}}, source::String)
@ Base ./loading.jl:1554
[17] top-level scope
@ stdin:1
ERROR: LoadError: Failed to precompile OptimizationDynamics [b76b7f0e-3267-49b4-a6cd-c01948ce091d] to /MY_MAC_HOME_DIRECTORY/.julia/compiled/v1.8/OptimizationDynamics/jl_AoW3M2.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:1707
[3] compilecache
@ ./loading.jl:1651 [inlined]
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1337
[5] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1200
[6] macro expansion
@ ./loading.jl:1180 [inlined]
[7] macro expansion
@ ./lock.jl:223 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144
in expression starting at /MY_MAC_HOME_DIRECTORY/Documents/Research/manipulation/optimization_dynamics/examples/planar_push.jl:1