[SciPy-dev] Trouble with UMFPACK 5.0

Nils Wagner nwagner at iam.uni-stuttgart.de
Wed Dec 6 06:48:26 CST 2006


Robert Cimrman wrote:
> Nils Wagner wrote:
>   
>> I have replaced the commas by colons in my site.cfg.
>>
>> [DEFAULT]
>> library_dirs = /usr/lib:/usr/local/lib:/usr/lib64
>> include_dirs = /usr/include:/usr/local/include
>>
>> [amd]
>> library_dirs = /usr/local/src/AMD/Lib
>> include_dirs = /usr/local/src/AMD/Include:/usr/local/src/UFconfig
>> amd_libs = amd
>>
>> [umfpack]
>> library_dirs = /usr/local/src/UMFPACK/Lib
>> include_dirs = /usr/local/src/UMFPACK/Include:/usr/local/src/UFconfig
>> umfpack_libs = umfpack
>>
>> Now I get
>> ...
>> creating build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/Lib/linsolve
>> creating
>> build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/Lib/linsolve/umfpack
>> compile options: '-DSCIPY_UMFPACK_H -DSCIPY_AMD_H
>> -DATLAS_INFO="\"3.7.11\"" -I/usr/local/src/UMFPACK/Include
>> -I/usr/local/src/AMD/Include
>> -I/usr/local/lib64/python2.4/site-packages/numpy/core/include
>> -I/usr/include/python2.4 -c'
>>     
>
> -I/usr/local/src/UFconfig is missing here, strange. Could you try to 
> copy or link manually UFconfig.h into e.g. /usr/local/src/UMFPACK/Include?
>
>   
I have put a copy of UFconfig.h into

/usr/local/src/UMFPACK/Include.

locate UFconfig.h

/usr/local/src/UFconfig/UFconfig.h
/usr/local/src/UMFPACK/Include/UFconfig.h


With that I was able to install scipy. But scipy.test(1) yields

  Found 4 tests for scipy.io.recaster
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 ?)
  Found 4 tests for scipy.optimize.zeros

Any idea ?

Nils

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

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


>> gcc: build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c
>> In file included from
>> build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c:1440:
>> /usr/local/src/UMFPACK/Include/umfpack.h:31:22: error: UFconfig.h: No
>> such file or directory
>>     
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>   
 


More information about the Scipy-dev mailing list