[Numpy-discussion] Numpy wheels, openBLAS and threading
derek at astro.physik.uni-goettingen.de
Thu Sep 28 09:50:13 EDT 2017
On 28 Sep 2017, at 3:37 pm, Max Linke <max_linke at gmx.de> wrote:
> os.environ can be used to change environment variables from within
> I do not know when openBLAS is reading the environment variables though.
> Changing a value while your python process is running might be to late.
It should use the value that is set at the time a BLAS routine is called.
At least I can confirm that this works analogously within Fortran programs
setting the *NUM_THREADS variables at runtime.
More information about the NumPy-Discussion