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

libblas not available on nightly #65

Open
jishnub opened this issue Apr 25, 2022 · 1 comment
Open

libblas not available on nightly #65

jishnub opened this issue Apr 25, 2022 · 1 comment

Comments

@jishnub
Copy link

jishnub commented Apr 25, 2022

Trying to add TensorKit on julia nightly, I encounter the following error:

ERROR: The following 1 direct dependency failed to precompile:

TensorKit [07d1fe3e-3e46-537d-9eac-e9e13d0d4cec]

Failed to precompile TensorKit [07d1fe3e-3e46-537d-9eac-e9e13d0d4cec] to /home/jb6888/.julia/compiled/v1.9/TensorKit/jl_nB8hAb.
ERROR: LoadError: UndefVarError: libblas not defined
Stacktrace:
 [1] include(mod::Module, _path::String)
   @ Base ./Base.jl:427
 [2] include(x::String)
   @ TensorKit ~/.julia/packages/TensorKit/GctVn/src/TensorKit.jl:6
 [3] top-level scope
   @ ~/.julia/packages/TensorKit/GctVn/src/TensorKit.jl:119
 [4] include
   @ ./Base.jl:427 [inlined]
 [5] 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:1423
 [6] top-level scope
   @ stdin:1
in expression starting at /home/jb6888/.julia/packages/TensorKit/GctVn/src/auxiliary/linalg.jl:5
in expression starting at /home/jb6888/.julia/packages/TensorKit/GctVn/src/TensorKit.jl:6
in expression starting at stdin:1
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types ~/packages/julias/julia-latest/share/julia/stdlib/v1.9/Pkg/src/Types.jl:68
 [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Pkg.API ~/packages/julias/julia-latest/share/julia/stdlib/v1.9/Pkg/src/API.jl:1427
 [3] precompile
   @ ~/packages/julias/julia-latest/share/julia/stdlib/v1.9/Pkg/src/API.jl:1060 [inlined]
 [4] #precompile#225
   @ ~/packages/julias/julia-latest/share/julia/stdlib/v1.9/Pkg/src/API.jl:1057 [inlined]
 [5] precompile (repeats 2 times)
   @ ~/packages/julias/julia-latest/share/julia/stdlib/v1.9/Pkg/src/API.jl:1057 [inlined]
 [6] top-level scope
   @ REPL[3]:1

This seems to be because BLAS.libblas has been removed

julia> using LinearAlgebra.BLAS

julia> BLAS.libblas
ERROR: UndefVarError: libblas not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ REPL[6]:1

julia> VERSION
v"1.9.0-DEV.432"
@Jutho
Copy link
Owner

Jutho commented Apr 25, 2022

Yes I will need to change how I deal with this, I will try to fix this soon.

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