Open kocvara opened 3 weeks ago
What does this give
julia> using LinearAlgebra
julia> BLAS.get_config()
before and after including the file ? Are the errors coming from Loraine or CSDP, which solver is used ?
Both before and after:
julia> BLAS.get_config()
LinearAlgebra.BLAS.LBTConfig
Libraries:
└ [ LP64] libopenblasp-r0.3.27.dylib
Error getting with any SDP solver.
Also, whenever I try to include again, SumOfSquares is always precompiling again and giving this message
ERROR: LoadError: Failed to precompile SymbolicWedderburn [858aa9a9-4c7c-4c62-b466-2421203962a2] to "/Users/michal/.julia/compiled/v1.10/SymbolicWedderburn/jl_aEU6JV".
Do you get the error simply by doing using SymbolicWedderburn
?
Ah, ok, all these BLAS errors also come when I just say using SymbolicWedderburn
.
This happens when you're using libblastrampoline without providing a default BLAS.
This fix is: https://github.com/jump-dev/Ipopt.jl/blob/4c156461ef1fda3c9f015520197afda4e8ca3e26/src/Ipopt.jl#L14-L19
But it would be useful to know which dependency is causing it.
It happens right after opening new REPL:
julia> using SymbolicWedderburn
Precompiling SymbolicWedderburn
Info Given SymbolicWedderburn was explicitly requested, output will be shown live
Error: no BLAS/LAPACK library loaded!
Error: no BLAS/LAPACK library loaded!
Error: no BLAS/LAPACK library loaded!
I even removed all other packages from the environment, the problem is still there:
(@v1.10) pkg> st
Status `~/.julia/environments/v1.10/Project.toml`
[858aa9a9] SymbolicWedderburn v0.4.0
julia> using SymbolicWedderburn
Precompiling SymbolicWedderburn
Info Given SymbolicWedderburn was explicitly requested, output will be shown live
Error: no BLAS/LAPACK library loaded!
Error: no BLAS/LAPACK library loaded!
Then this issue should probably be closed in favor of https://github.com/kalmarek/SymbolicWedderburn.jl/issues/87
This is on Apple M1 processor. The same code works without problems in the same environment on a Mac with Intel processor.