[SciPy-user] how to import umfpack?

Robert Cimrman cimrman3 at ntc.zcu.cz
Mon Feb 11 11:49:00 EST 2008


Robin wrote:
> On Feb 11, 2008 4:28 PM, Robert Cimrman <cimrman3 at ntc.zcu.cz> wrote:
>> Did it work on the other computer with some older version of scipy?
>> Is there the umfpack proper installed, actually (libumfpack.a, or .so)?
> 
> I've had problems on the new install with 0.7.0.dev3912 and
> 0.7.0.dev3913. (on 64 bit linux)
> It works for me on my latop - mac os x, 0.7.0.dev3913
> 
> I build libumfpack.a and scipy finds it and builds without errors.
> useUmfPack is set to True, it just seems that dsolve doesn't have a
> umfpack attribute.

This is probably caused by the following lines in 
splinalg/dsolve/umfpack/umpfack.py:

try: # Silence import error.
     import _umfpack as _um
except:
     _um = None

Try moving the import line out of the try-except statement to see what 
actually went wrong when importing the shared library _umfpack.

r.




More information about the SciPy-User mailing list