[SciPy-dev] UMFPACK support in scipy

Nils Wagner nwagner at iam.uni-stuttgart.de
Wed Nov 29 07:57:16 CST 2006


Robert Kern wrote:
> Nils Wagner wrote:
>   
>> Hi all,
>>
>> which UMFPACK versions are supported in scipy ?
>> help (linsolve) lists version 4.4 and version 5.0 of UMFPACK.
>>     
>
> Yes. That gives you your answer. If you try another version and it works for
> you, go ahead and tell us, and we'll update that docstring. If that docstring
> doesn't get updated, that's because no one has told us that any other version works.
>
>   

 Hi Robert,

This is to let you know that I have tried to use UMFPACK version 5.0.1.

Here are my findings:

scipy.test(1) results in
Warning: FAILURE importing tests for <module
'scipy.linsolve.umfpack.umfpack' from '...y/linsolve/umfpack/umfpack.pyc'>
/usr/local/lib64/python2.4/site-packages/scipy/linsolve/umfpack/tests/test_umfpack.py:17:
AttributeError: 'module' object has no attribute 'umfpack' (in ?)
Warning: FAILURE importing tests for <module 'scipy.linsolve.umfpack'
from '.../linsolve/umfpack/__init__.pyc'>
/usr/local/lib64/python2.4/site-packages/scipy/linsolve/umfpack/tests/test_umfpack.py:17:
AttributeError: 'module' object has no attribute 'umfpack' (in ?)

scipy.show_config() yields

amd_info:
    libraries = ['amd']
    library_dirs = ['/usr/local/src/UMFPACKv5.0.1/AMD/Lib']
    define_macros = [('SCIPY_AMD_H', None)]
    swig_opts = ['-I/usr/local/src/UMFPACKv5.0.1/AMD/Include']
    include_dirs = ['/usr/local/src/UMFPACKv5.0.1/AMD/Include']

umfpack_info:
    libraries = ['umfpack', 'amd']
    library_dirs = ['/usr/local/src/UMFPACKv5.0.1/UMFPACK/Lib',
'/usr/local/src/UMFPACKv5.0.1/AMD/Lib']
    define_macros = [('SCIPY_UMFPACK_H', None), ('SCIPY_AMD_H', None)]
    swig_opts = ['-I/usr/local/src/UMFPACKv5.0.1/UMFPACK/Include',
'-I/usr/local/src/UMFPACKv5.0.1/AMD/Include']
    include_dirs = ['/usr/local/src/UMFPACKv5.0.1/UMFPACK/Include',
'/usr/local/src/UMFPACKv5.0.1/AMD/Include']

How can I fix this problem ?

Nils



More information about the Scipy-dev mailing list