Skip to content

Commit cb73296

Browse files
committed
use the correct env variable name to set default openblas num threads (#48064)
This was add to OpenBLAS in OpenMathLib/OpenBLAS#3773 and was supposed to be used in #46844 but was likely typod (cherry picked from commit 75bc5ee)
1 parent 7d2c693 commit cb73296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function __init__()
4747
!haskey(ENV, "OMP_NUM_THREADS")
4848
# We set this to `1` here, and then LinearAlgebra will update
4949
# to the true value in its `__init__()` function.
50-
ENV["OPENBLAS_NUM_THREADS"] = "1"
50+
ENV["OPENBLAS_DEFAULT_NUM_THREADS"] = "1"
5151
end
5252

5353
global libopenblas_handle = dlopen(libopenblas)

0 commit comments

Comments
 (0)