[SciPy-user] ... object has no attribute 'zgelss'
pearu at scipy.org
Fri Feb 13 09:23:30 CST 2004
On Fri, 13 Feb 2004, H Jansen wrote:
> Many Lapack routines can't be found when I do:
> import scipy
> For instance:
> ... << more of the same, all related to lapack subroutines >>
> When I do "nm liblapack.a | grep zgelss" code for "zgelss_";
??? So what is the result then? Are zgelss_ and others defined or not?
> with all other routines. I'm using ATLAS-3.6.0 and my liblapack is
> complete (appr. 6.8 Mb, routines added from CLAPACK).
CLAPACK??? Unless CLAPACK provides symbol names with '_' suffix, you
should complete ATLAS liblapack.a with Fortran LAPACK.
> there's an interface mismatch between ATLAS and scipy
> The scipy source builts with the command
> python setup.py build build_ext `pkg-config atlas --cflags --libs`
> resulting the linalg shared modules to be linked as
> -llapack -lf77blas -lcblas -latlas -lg2c
I suspect that scipy setup finds different atlas/lapack from you system
than that you specify with `pkd-config`. Try building scipy as follows
rm -rf build
python setup.py build
More information about the SciPy-user