[SciPy-dev] scipy.sparse + umfpack + system_info

Robert Cimrman cimrman3 at ntc.zcu.cz
Mon Apr 10 07:22:00 CDT 2006


Nils Wagner wrote:
> 
> Hi Robert,
> 
> The problem persists with version 4.4
> Am I missing something ?
> 
>  >>> import scipy
> import linsolve.umfpack -> failed: 
> /usr/lib64/python2.4/site-packages/scipy/linsolve/umfpack/__umfpack.so: 
> undefined symbol: e_wsfe
> 
> umfpack_info:
>     libraries = ['umfpack', 'amd', 'f77blas', 'cblas', 'atlas']
>     library_dirs = ['/usr/local/src/UMFPACKv4.4/UMFPACK/Lib', 
> '/usr/local/src/UMFPACKv4.4/AMD/Lib', '/usr/local/lib/atlas']
>     define_macros = [('SCIPY_UMFPACK_H', None), ('SCIPY_AMD_H', None), 
> ('ATLAS_INFO', '"\\"3.7.11\\""')]
>     swig_opts = ['-I/usr/local/src/UMFPACKv4.4/UMFPACK/Include', 
> '-I/usr/local/src/UMFPACKv4.4/AMD/Include']
>     include_dirs = ['/usr/local/src/UMFPACKv4.4/UMFPACK/Include', 
> '/usr/local/src/UMFPACKv4.4/AMD/Include']
> amd_info:
>     libraries = ['amd']
>     library_dirs = ['/usr/local/src/UMFPACKv4.4/AMD/Lib']
>     define_macros = [('SCIPY_AMD_H', None)]
>     swig_opts = ['-I/usr/local/src/UMFPACKv4.4/AMD/Include']
>     include_dirs = ['/usr/local/src/UMFPACKv4.4/AMD/Include']
> 
> Nils

$ nm -gA /usr/lib/lib* 2> /dev/null | grep e_wsfe
/usr/lib/libblas.a:xerbla.o:         U e_wsfe
/usr/lib/libf2c.a:sfe.o:00000130 T e_wsfe
/usr/lib/liblapack.a:dlamch.o:         U e_wsfe
/usr/lib/liblapack.a:slamch.o:         U e_wsfe
/usr/lib/liblapack.a:xerbla.o:         U e_wsfe

so apparently this symbol comes from the f2c library and is used within 
blas/lapack. Did you specify correctly which BLAS should be used when 
building and installing umfpack? BTW, if you have matlab and build the 
umfpack matlab interace which comes along, you could try if umpfack 
itself works from the matlab command-line.

r.




More information about the Scipy-dev mailing list