[SciPy-Dev] Use vecLibFort instead of Accelerate?

Sturla Molden sturla.molden at gmail.com
Sat Oct 11 14:48:48 EDT 2014


Pauli Virtanen <pav at iki.fi> wrote:

> One drawback in this is that asking users to download and install
> vecLibFort properly to be able to use Scipy on OSX at all seems quite
> brittle.

No. It is just a C file with to header files that can be added to SciPy. No
external build is needed for vecLibFort.

 
> @Matthew: what is the problem with the current Numpy and Scipy OSX
> builds? In principle, it should just work out of the box currently?

Not Matthew, but I'll answer anyway:

In Accelerate, sgemv and cblas_sgemv segfaults if the CPU supports AVX and
the arrays are not 32 byte aligned. So one needs to either make an aligned
temporary copy or reimplement sgemv with sgemm.


> The fortranname bug is still a bug in f2py IMHO. 

Yes.


Sturla




More information about the SciPy-Dev mailing list