[Numpy-discussion] Numpy wheels, openBLAS and threading
Jean-Christophe Houde
jean.christophe.houde at gmail.com
Thu Sep 28 09:26:07 EDT 2017
Hi all,
not sure if this is the best place to ask for this. If not, please advise
on the correct place.
Since the numpy wheels internally use openBLAS, operations can be
implicitly multithreaded directly by openBLAS.
This, of course, can clash with multithreading or parallel processing. The
recommended practice in this case is to set
export OPENBLAS_NUM_THREADS=1
in the environment. However, I would like to be able to adjust this
directly in my python code.
Is there a way to control this directly through Python, whether through
numpy or not?
Thanks for your time!
--
Jean-Christophe Houde
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20170928/21b5bf9e/attachment.html>
More information about the NumPy-Discussion
mailing list