From: Gerard V. <gve...@la...> - 2001-10-31 16:40:39
|
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@taco lib]$ strings liblapack.so.3 | grep dgesdd dgesdd_ [packer@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 > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion |