[Numpy-discussion] Undefined symbol in lapack_lite.so

Gerard Vermeulen gvermeul at labs.polycnrs-gre.fr
Wed Oct 31 08:41:04 EST 2001


Do you have lapack-3.0? Numeric-20.2.0 (better get 20.2.1) is
interfaced to new faster lapack routines.

You could check it by
[packer at taco lib]$ strings liblapack.so.3 | grep dgesdd
dgesdd_
[packer at taco lib]$

best regards -- Gerard

On Wednesday 31 October 2001 16:50, Edward C. Jones wrote:
> The following Python program:
>
> import Numeric, LinearAlgebra
>
> a = Numeric.identity(5)
> v, s, wt = LinearAlgebra.singular_value_decomposition(a)
>
> gave the following error:
>
> Traceback (most recent call last):
>   File "./silly.py", line 3, in ?
>     import Numeric, LinearAlgebra
>   File "/usr/lib/python2.2/site-packages/Numeric/LinearAlgebra.py", line
> 8, in ?    import lapack_lite
> ImportError: /usr/lib/python2.2/site-packages/Numeric/lapack_lite.so:
> undefined symbol: dgesdd_
>
> When I installed Numeric-20.2.0, I changed Setup.py to:
>
> # delete all but the first one in this list if using your own LAPACK/BLAS
> sourcelist = ['Src/lapack_litemodule.c',]
> # set these to use your own BLAS
> library_dirs_list = ['usr/lib']
> libraries_list = ['/usr/lib/libblas.so', '/usr/lib/liblapack.so']
>
> What is the problem?
>
> Thanks,
> Ed Jones
>
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion




More information about the NumPy-Discussion mailing list