Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UndefVarError: libblastrampoline not defined #3

Closed
yakir12 opened this issue Aug 1, 2024 · 1 comment
Closed

UndefVarError: libblastrampoline not defined #3

yakir12 opened this issue Aug 1, 2024 · 1 comment

Comments

@yakir12
Copy link

yakir12 commented Aug 1, 2024

In Julia version 1.10.4, precompilation works:

julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × AMD Ryzen Threadripper 2950X 16-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver1)
Threads: 1 default, 0 interactive, 1 GC (on 32 virtual cores)

(jl_I5X090) pkg> st
Status `/tmp/jl_I5X090/Project.toml`
  [ba14ac17] SatelliteToolboxSgp4 v2.2.0

(jl_I5X090) pkg> precompile

But in 1.8.5 (or lower I believe), it doesn't:

julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × AMD Ryzen Threadripper 2950X 16-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, znver1)
  Threads: 1 on 32 virtual cores

(jl_R30VN2) pkg> st
Status `/tmp/jl_R30VN2/Project.toml`
  [ba14ac17] SatelliteToolboxSgp4 v2.2.0

(jl_R30VN2) pkg> precompile
Precompiling project...
  ✗ SatelliteToolboxSgp4
  0 dependencies successfully precompiled in 10 seconds. 16 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

SatelliteToolboxSgp4 [ba14ac17-bfc9-4710-a76f-b32930ef2339]

Failed to precompile SatelliteToolboxSgp4 [ba14ac17-bfc9-4710-a76f-b32930ef2339] to /home/yakir/.julia/compiled/v1.8/SatelliteToolboxSgp4/jl_OmkIe7.
ERROR: LoadError: UndefVarError: libblastrampoline not defined
Stacktrace:
  [1] _svd(A::StaticArraysCore.SMatrix{7, 7, Float64, 49}, full::Val{false})
    @ StaticArrays ~/.julia/packages/StaticArrays/MSJcA/src/blas.jl:108
  [2] _svd(A::StaticArraysCore.SMatrix{7, 7, Float64, 49}, full::Bool)
    @ StaticArrays ~/.julia/packages/StaticArrays/MSJcA/src/svd.jl:41
  [3] #svd#552
    @ ~/.julia/packages/StaticArrays/MSJcA/src/svd.jl:36 [inlined]
  [4] _pinv
    @ ~/.julia/packages/StaticArrays/MSJcA/src/pinv.jl:19 [inlined]
  [5] #pinv#588
    @ ~/.julia/packages/StaticArrays/MSJcA/src/pinv.jl:7 [inlined]
  [6] pinv
    @ ~/.julia/packages/StaticArrays/MSJcA/src/pinv.jl:3 [inlined]
  [7] fit_sgp4_tle!(sgp4d::SatelliteToolboxSgp4.Sgp4Propagator{Float64, Float64}, vjd::Vector{Float64}, vr_teme::Vector{StaticArraysCore.SVector{3, Float64}}, vv_teme::Vector{StaticArraysCore.SVector{3, Float64}}; atol::Float64, rtol::Float64, estimate_bstar::Bool, initial_guess::Nothing, jacobian_perturbation::Float64, jacobian_perturbation_tol::Float64, max_iterations::Int64, mean_elements_epoch::Float64, verbose::Bool, weight_vector::StaticArraysCore.SVector{6, Bool}, classification::Char, element_set_number::Int64, international_designator::String, name::String, revolution_number::Int64, satellite_number::Int64)
    @ SatelliteToolboxSgp4 ~/.julia/packages/SatelliteToolboxSgp4/843ta/src/tle.jl:612
  [8] #fit_sgp4_tle#11
    @ ~/.julia/packages/SatelliteToolboxSgp4/843ta/src/tle.jl:178 [inlined]
  [9] #19
    @ ~/.julia/packages/SatelliteToolboxSgp4/843ta/src/precompile.jl:44 [inlined]
 [10] (::Base.RedirectStdStream)(thunk::SatelliteToolboxSgp4.var"#19#21"{Vector{StaticArraysCore.SVector{3, Float64}}, Vector{StaticArraysCore.SVector{3, Float64}}, Vector{Float64}, SatelliteToolboxTle.TLE}, stream::Base.DevNull)
    @ Base ./stream.jl:1427
 [11] macro expansion
    @ ~/.julia/packages/SatelliteToolboxSgp4/843ta/src/precompile.jl:43 [inlined]
 [12] top-level scope
    @ ~/.julia/packages/PrecompileTools/L8A3n/src/workloads.jl:78
 [13] include(mod::Module, _path::String)
    @ Base ./Base.jl:419
 [14] include(x::String)
    @ SatelliteToolboxSgp4 ~/.julia/packages/SatelliteToolboxSgp4/843ta/src/SatelliteToolboxSgp4.jl:1
 [15] top-level scope
    @ ~/.julia/packages/SatelliteToolboxSgp4/843ta/src/SatelliteToolboxSgp4.jl:41
 [16] include
    @ ./Base.jl:419 [inlined]
 [17] 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::Nothing)
    @ Base ./loading.jl:1554
 [18] top-level scope
    @ stdin:1
in expression starting at /home/yakir/.julia/packages/SatelliteToolboxSgp4/843ta/src/precompile.jl:9
in expression starting at /home/yakir/.julia/packages/SatelliteToolboxSgp4/843ta/src/SatelliteToolboxSgp4.jl:1
in expression starting at stdin:1
@ronisbr
Copy link
Member

ronisbr commented Aug 1, 2024

Hi @yakir12 !

Thanks for the issue, but we can only support the LTS version (1.6) and the latest released version (1.10).

@ronisbr ronisbr closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants