[SciPy-dev] Trouble with UMFPACK 5.0

Robert Cimrman cimrman3 at ntc.zcu.cz
Thu Dec 14 12:04:01 EST 2006


Nils Wagner wrote:
> Nils Wagner wrote:
>> Robert Cimrman wrote:
>>> Nils Wagner wrote:
>>>> My site.cfg is in the scipy directory not in the numpy directory. Is
>>>> that wrong ?
>>>>     
>>>>       
>>> Not sure. I use the numpy directory, because that way it is used for 
>>> both numpy and scipy (and that's sure :).
>>>
>>> r.
>>>     
>> Ok I will try that asap.
>>
>> Cheers
>>                   Nils
> 
> I have moved site.cfg into the numpy directory and rebuild numpy/scipy
> from scratch, but
> my old problem persists.
> 
> scipy.test(1) yields
> 
> 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 ?)
> 
> Any pointer would be appreciated.

So scipy builds and installs ok, yet the umfpack module is not found, 
right?

This is the contents of the relevant installation directories in my case:

ls /home/share/software/usr/lib/python2.4/site-packages/scipy/linsolve/
_csuperlu.so*  __init__.py   setup.py       _superlu.pyc
_dsuperlu.so*  __init__.pyc  setup.pyc      tests/
info.py        linsolve.py   _ssuperlu.so*  umfpack/
info.pyc       linsolve.pyc  _superlu.py    _zsuperlu.so*

ls 
/home/share/software/usr/lib/python2.4/site-packages/scipy/linsolve/umfpack/
info.py   __init__.py   setup.py   tests/      _umfpack.py  _umfpack.pyc
info.pyc  __init__.pyc  setup.pyc  umfpack.py  umfpack.pyc  __umfpack.so*

ls 
/home/share/software/usr/lib/python2.4/site-packages/scipy/linsolve/umfpack/tests/
test_umfpack.py  test_umfpack.pyc  try_umfpack.py

What do you have in there?

r.



More information about the SciPy-Dev mailing list