[Numpy-discussion] how to use numpy-vendor
Dag Sverre Seljebotn
Tue Aug 14 05:33:02 CDT 2012
On 08/14/2012 06:34 AM, Ondřej Čertík wrote:
> How should one use the "vendor" repository (https://github.com/numpy/vendor)
> in Wine? Should I put the binaries into .wine/drive_c/Python25/libs/,
> or somewhere else?
> I've search all mailinglists and I didn't find any information on it.
> I vaguely remember
> that somebody mentioned it somewhere, but I am not able to find it.
> Once I understand it,
> I'll send a PR updating the README.
> I've played with OpenBlas and managed to compile numpy with it on linux,
> following the tutorial  and it works, so at least on linux it's clear to me.
One thing to be aware of with OpenBlas is that it is *very* tuned to the
CPU at hand. As in, every CPU has hand-coded *assembly* and the makefile
more or less probes for which specific CPU generation from which vendor
you have and compiles and link the corresponding assembly file. So you
may have to take some care that you don't compile and ship a version
that breaks if you don't have SSE3 installed etc...
(Unless OpenBlas has changed recently. I'm not saying I'm right, I'm
saying it should be looked into.)
> In wine, since all the binaries are .a files, the only way to check
> that it works is to
> install it and check that things like eigh() are much faster. Is there
> some other way?
> On linux using openblas as an .so library, I just do "ldd" and all is clear.
>  http://www.der-schnorz.de/2012/06/optimized-linear-algebra-and-numpyscipy/
> NumPy-Discussion mailing list
More information about the NumPy-Discussion