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
I tested the package with two different Julia 1.7 installations and both times got the same precompilation error.
With Julia 1.8.x it does work though.
┌ Info: Precompiling SpeedyWeather [9e226e20-d153-4fed-8a5b-493def4f21a9]
└ @ Base loading.jl:1423
ERROR: LoadError: MethodError: no method matching var"@inline"(::LineNumberNode, ::Module)
Closest candidates are:var"@inline"(::LineNumberNode, ::Module, ::Any) at /p/system/packages/julia/1.7.0/share/julia/base/expr.jl:201
Stacktrace:
[1] include(mod::Module, _path::String)
@ Base ./Base.jl:418
[2] include(x::String)
@ SpeedyWeather ~/.julia/packages/SpeedyWeather/Rl2dF/src/SpeedyWeather.jl:1
[3] top-level scope
@ ~/.julia/packages/SpeedyWeather/Rl2dF/src/Grids/Grids.jl:3
[4] include(mod::Module, _path::String)
@ Base ./Base.jl:418
[5] include(x::String)
@ SpeedyWeather ~/.julia/packages/SpeedyWeather/Rl2dF/src/SpeedyWeather.jl:1
[6] top-level scope
@ ~/.julia/packages/SpeedyWeather/Rl2dF/src/SpeedyWeather.jl:89
[7] include
@ ./Base.jl:418 [inlined]
[8] 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:1318
[9] top-level scope
@ none:1
[10] eval
@ ./boot.jl:373 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude ./client.jl:453
[12] top-level scope
@ none:1
in expression starting at /home/maxgelbr/.julia/packages/SpeedyWeather/Rl2dF/src/Grids/grids_general.jl:148
in expression starting at /home/maxgelbr/.julia/packages/SpeedyWeather/Rl2dF/src/Grids/grids_general.jl:147
in expression starting at /home/maxgelbr/.julia/packages/SpeedyWeather/Rl2dF/src/Grids/Grids.jl:3
in expression starting at /home/maxgelbr/.julia/packages/SpeedyWeather/Rl2dF/src/SpeedyWeather.jl:1
The text was updated successfully, but these errors were encountered:
I didn't know it was Julia ^1.8 but it helped to reduce allocations throughout the entire model that were created before. maybe @inline should be placed elsewhere for compatibility?
I tested the package with two different Julia 1.7 installations and both times got the same precompilation error.
With Julia 1.8.x it does work though.
The text was updated successfully, but these errors were encountered: