[SciPy-User] OpenBLAS/OpenMP env vars used?

Stuart Reynolds stuart at stuartreynolds.net
Thu Oct 12 16:52:07 EDT 2017


I'm using statsmodels and and curious about whether it's optimizers
can be sped up.

According to  https://github.com/xianyi/OpenBLAS  (which I think
statsmodels uses through scipy) BLAS looks at the environment
GOTO_NUM_THREADS, for open MP.

It looks like it does, insofar as:
   python myscript.py
... works fine (but provided no speedup), and:
   GOTO_NUM_THREADS=4  python myscript.py
consistently changes the behavior of my program (it hits a singular
matrix error in this case).

Is there any guidance on whether these variables can be safely used?

Thanks,
- Stuart


More information about the SciPy-User mailing list