Movatterモバイル変換
[0]ホーム
building numpy20 on native blas/lapack
Benyang Tangbtang at pacific.jpl.nasa.gov
Tue Apr 24 19:13:44 EDT 2001
Hi,I am trying to build the new numpy20 on the linux native blas/lapack libraries. But by doing so I cannot import LinearAlgebra. Here is the import error message:>>> import Numeric>>> import LinearAlgebraTraceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.1/site-packages/Numeric/LinearAlgebra.py", line 8, in ? import lapack_liteImportError: /usr/local/lib/python2.1/site-packages/Numeric/lapack_lite.so: undefined symbol: dgesvd_I have changed the relenvant section of setup.py tosourcelist = ['Src/lapack_litemodule.c',]# set these to use your own BLASlibrary_dirs_list = ['/usr/lib','/usr/local/lib','/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66']libraries_list = ['blas','g2c']and have tried many other variants; none of them worked.During the setup process, there were messages:Src/lapack_litemodule.c:11: warning: function declaration isn't a prototypeSrc/lapack_litemodule.c:16: warning: function declaration isn't a prototypeSrc/lapack_litemodule.c: In function `lapack_lite_dgeev':Src/lapack_litemodule.c:93: warning: implicit declaration of function `dgeev_'Src/lapack_litemodule.c: In function `lapack_lite_dgelss':Src/lapack_litemodule.c:130: warning: implicit declaration of function `dgelss_'Src/lapack_litemodule.c: In function `lapack_lite_dgesv':Src/lapack_litemodule.c:161: warning: implicit declaration of function `dgesv_'Src/lapack_litemodule.c: In function `lapack_lite_dgesvd':Src/lapack_litemodule.c:200: warning: implicit declaration of function `dgesvd_'Src/lapack_litemodule.c: In function `lapack_lite_dgetrf':Src/lapack_litemodule.c:226: warning: implicit declaration of function `dgetrf_'Src/lapack_litemodule.c: In function `lapack_lite_zgeev':Src/lapack_litemodule.c:265: warning: implicit declaration of function `zgeev_'Src/lapack_litemodule.c: In function `lapack_lite_zgelss':Src/lapack_litemodule.c:303: warning: implicit declaration of function `zgelss_'Src/lapack_litemodule.c: In function `lapack_lite_zgesv':Src/lapack_litemodule.c:332: warning: implicit declaration of function `zgesv_'Src/lapack_litemodule.c: In function `lapack_lite_zgesvd':Src/lapack_litemodule.c:373: warning: implicit declaration of function `zgesvd_'Src/lapack_litemodule.c: In function `lapack_lite_zgetrf':Src/lapack_litemodule.c:400: warning: implicit declaration of function `zgetrf_'Src/lapack_litemodule.c: At top level:Src/lapack_litemodule.c:426: warning: function declaration isn't a prototypeSrc/lapack_litemodule.c:423: warning: `lapack_liteError' defined but not usedMy OS is RedHat linux 6.2, python-2.1.Any suggestion?-- <> Benyang Tang <> 300-323, JPL <> 4800 Oak Grove Drive <> Pasadena, CA 91109, USA
More information about the Python-listmailing list
[8]ページ先頭