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

Pearu Peterson pearu at scipy.org
Sat Apr 8 04:31:40 EDT 2006



On Thu, 6 Apr 2006, Robert Cimrman wrote:

> so that the tests could be run via scipy.test(). I will also check the
> useUmfpack problem. However system_info now fails to find my umfpack
> installation (revision 2308 worked for me), details are below:
>
>  umfpack_info:
> /home/share/software/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:540:
> UserWarning: Library error: libs=['umfpack', 'amd'] found_libs=[]
>   warnings.warn("Library error: libs=%s found_libs=%s" % \
> /home/share/software/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:540:
> UserWarning: Library error: libs=['umfpack', 'amd']
> found_libs=['/home/share/software/packages/UMFPACK/UMFPACK/Lib/libumfpack.a']
>   warnings.warn("Library error: libs=%s found_libs=%s" % \
> /home/share/software/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:540:
> UserWarning: Library error: libs=['umfpack', 'amd']
> found_libs=['/home/share/software/packages/UMFPACK/AMD/Lib/libamd.a']
>   warnings.warn("Library error: libs=%s found_libs=%s" % \
> /home/share/software/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:392:
> UserWarning:
>     UMFPACK sparse solver
> (http://www.cise.ufl.edu/research/sparse/umfpack/)
>     not found. Directories to search for the libraries can be specified
> in the
>     numpy/distutils/site.cfg file (section [umfpack]) or by setting
>     the UMFPACK environment variable.
>   warnings.warn(self.notfounderror.__doc__)
>   NOT AVAILABLE
>
> the problem is, that len(found_libs) == len(libs) does not hold in my
> case (it is in system_info._check_libs()). Pearu, could you fix this,
> please? (btw. this is exactly the reason the original (rev. 2308)
> umfpack_info looked so clumsy - I was checking one lib at a time.)

Could you send my the details of your umfpack/amd installations and
how do you specify these libraries for numpy.distutils? (site.cfg, env 
variables ets.)

Thanks,
Pearu




More information about the SciPy-Dev mailing list