-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Problems with openblas in IJulia/vscode/Juno in 1.6.4 #888
Comments
I wonder if it has something to do with https://github.com/JuliaLang/julia/issues/43008 |
With https://github.com/JuliaLang/julia/issues/43008, I can somewhat get around the stackoverflow with setting blas thread to 1 with |
Yes, it works for me and solves the problem. |
I guess JuliaLang/julia@b8e63b9 was the change on 1.6.4 that caused this? @ViralBShah, is the JuliaPackaging/Yggdrasil#3732 change to change the number of threads also now getting applied when new builds of e.g. OpenBLAS 0.3.10 are created? They all seem to include this common file https://github.com/JuliaPackaging/Yggdrasil/blob/b7f1359fb814e02d67a1e6ea80767b2d1d9188d5/O/OpenBLAS/OpenBLAS%400.3.10/build_tarballs.jl#L3 so it seems so? |
It's a workaround, but not a solution. I need all the blas threads I can get, so I'm sticking with 1.6.3. |
AFAICT, you have to explicitly bump the BB_REL version to get the new openblas builds on 1.6. I believe other patches were required which needed a new BB_REL version to be built and that would have picked up other changes from common.jl. |
Still a problem in 1.7.0 on Macbook Pro running M1. |
Unfortunately I have not tried M1 - but this may be an M1 specific problem with openblas. |
No joy on intel Macs either. Same problem. |
This works fine on Intel macs for me using the official binaries.
|
It works for me in a standard REPL. But in the VS Code REPL, it only works if I manually set the number of BLAS threads to 1 (see below), even setting it to 2 threads results in an error.
|
It always worked for me in the REPL, and fails in IJulia in 1.6.4 and 1.7.0 on both M1 macs and Intel Macs. |
I believe this is the same as #890. Closing this as a duplicate, since that one already discusses the fix. |
This line of code
runs in the REPL and in IJUlia with 1.6.3. I get a
StackOverflowError:
in IJulia under 1.6.4. Running Monterey. Others report the same problem in vscode and Juno.Please see
https://discourse.julialang.org/t/downgrade-to-1-6-3/72129/2
The text was updated successfully, but these errors were encountered: