[SciPy-dev] Need some info to solve #238: cblas vs fblas

Pearu Peterson pearu at cens.ioc.ee
Sun Aug 5 11:59:24 EDT 2007


On Sun, August 5, 2007 6:20 pm, David Cournapeau wrote:

> I have a patch for the bug in #238 which seems to solve the problem, but
> noticed that the error appears in two different submodules: scipy.lib
> and scipy.linalg. What's the difference between fblas in scipy.lib and
> fblas in scipy.linalg ? Isn't scipy.lib redundant with scipy.linalg ?
> This actually made me crazy since the above bug reappears at random
> depending on the order of tests in scipy (they both define the same
> symbols, and this took me a while to understand that the failing
> function was not the same as the one I was working on).

The plan was to move blas/lapack wrappers from scipy.linalg
to scipy.lib.blas/lapack so that other scipy subpackage could use them
without importing the whole scipy.linalg. It's still work in progress plan..
Blas/lapack wrappers in scipy.lib are improved versions found in
scipy.linalg,
just replacing the usage of scipy.linalg.blas/lapack with using
scipy.lib.blas/lapack is unfinished.

Pearu




More information about the SciPy-Dev mailing list