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

Package broken on julia 1.9 Windows #31

Closed
jebej opened this issue Feb 13, 2023 · 7 comments
Closed

Package broken on julia 1.9 Windows #31

jebej opened this issue Feb 13, 2023 · 7 comments

Comments

@jebej
Copy link
Contributor

jebej commented Feb 13, 2023

The package does not work on julia 1.9 due to a libblastrampoline issue:

Testing Running tests...
gglse!: Error During Test at C:\Users\jebej\.julia\packages\FastLapackInterface\7rWJc\test\lse_test.jl:16
  Got exception outside of a @test
  could not load library "libblastrampoline"
  The specified module could not be found.
  Stacktrace:
    [1] gglse!(ws::LSEWs{Float32}, A::Matrix{Float32}, c::Vector{Float32}, B::Matrix{Float32}, d::Vector{Float32}; resize::Bool, blocksize::Int64)
      @ FastLapackInterface C:\Users\jebej\.julia\packages\FastLapackInterface\7rWJc\src\lse.jl:101
    [2] gglse!(ws::LSEWs{Float32}, A::Matrix{Float32}, c::Vector{Float32}, B::Matrix{Float32}, d::Vector{Float32})
      @ FastLapackInterface C:\Users\jebej\.julia\packages\FastLapackInterface\7rWJc\src\lse.jl:69
julia> versioninfo()
Julia Version 1.9.0-beta4
Commit b75ddb787f (2023-02-07 21:53 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 4 × Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, ivybridge)
  Threads: 4 on 4 virtual cores
Environment:
  JULIA_CUDA_USE_BINARYBUILDER = false
  JULIA_NUM_THREADS = 4
@MichelJuillard
Copy link
Member

I'm not able to reproduce the problem when running julia-1.9.0-beta4 on a Linux/Debian installation.
It looks more like an installation problem of julia-1.9.0-beta4 under Windows
Can you please give the response to

julia> ]
pkg> status --manifest

@jebej
Copy link
Contributor Author

jebej commented Feb 13, 2023

Is there a reason why this:

@static if VERSION < v"1.7"
using LinearAlgebra.LAPACK: liblapack
else
const liblapack = "libblastrampoline"
end

isn't only:

using LinearAlgebra.LAPACK: liblapack

@jebej
Copy link
Contributor Author

jebej commented Feb 13, 2023

Yes this is a windows issue, I dug a bit and found: JuliaLang/LinearAlgebra.jl#981

@jebej
Copy link
Contributor Author

jebej commented Feb 13, 2023

This is what I get

julia> LinearAlgebra.LAPACK.liblapack
"libblastrampoline-5.dll" # julia1.9 beta 4

julia> LinearAlgebra.LAPACK.liblapack
"libblastrampoline" # julia 1.8.5

julia> LinearAlgebra.LAPACK.liblapack
"libopenblas64_" # julia 1.6.7

@jebej
Copy link
Contributor Author

jebej commented Feb 15, 2023

Fixed on master

@jebej jebej closed this as completed Feb 15, 2023
@jebej
Copy link
Contributor Author

jebej commented Feb 17, 2023

@MichelJuillard any chance of getting a release soon to solve the issue on 1.9 on Windows?

@MichelJuillard
Copy link
Member

@jebej I just released version v1.2.9

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