-
Notifications
You must be signed in to change notification settings - Fork 15
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
Since julia-1.10 / OpenBLAS32-0.3.22 the number of threads must be explicitly specified #123
Comments
@ViralBShah Are you aware of this issue with the last release of |
@ViralBShah @amontoison There was a typo in the title (now corrected), the problematic package is OpenBLAS32_jll, not OpenBLAS_jll Same problem with the last release of Slow with default configuration:
Fast with default configuration:
|
FYI, in my case I have to set the env variable OMP_NUM_THREADS to the desired number of threads per proc. OPENBLAS_NUM_THREADS set unlock multithreading per proc but its value seems irrelevant: all the CPUs of my system are used. This can lead to slow computation with too many threads. |
I suspect this is because with OpenBLAS, we set the number of threads in our I had created OpenBLAS32.jl, which may be a place where we can specify number of threads on loading and such. |
@ViralBShah |
@fp4code Can you test in MUMPS.jl with an |
Since julia-1.10 a simple program like this one is very slow because only one CPU is used
No such problem with pinning OpenBLAS32_jll to 0.3.21:
Pkg.add(name="OpenBLAS32_jll", version="0.3.21")
One solution is to set the environment variable for the desired number of threads:
export OPENBLAS_NUM_THREADS=32
This can be done inside Julia:
ENV["OPENBLAS_NUM_THREADS"]="32"
The text was updated successfully, but these errors were encountered: