[Numpy-discussion] Default builds of OpenBLAS development branch are now fork safe

Olivier Grisel olivier.grisel at ensta.org
Thu Apr 3 09:59:54 EDT 2014


2014-04-03 14:56 GMT+02:00 Julian Taylor <jtaylor.debian at googlemail.com>:
> FYI, binaries linking openblas should add this patch in some way:
> https://github.com/numpy/numpy/pull/4580
>
> Cliffs: linking OpenBLAS prevents parallelization via threading or
> multiprocessing.
>
> just wasted a bunch of time figuring that out ... (though its well
> documented in numerous stackoverflow questions, too bad none of them
> reached us)

You mean because of the default CPU affinity stuff in the default
OpenBLAS? If we ship OpenBLAS with a windows binary of numpy / scipy
we can compile OpenBLAS with the NO_AFFINITY=1 flag to avoid the
issue.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel



More information about the NumPy-Discussion mailing list