[SciPy-dev] scipy.sparse + umfpack + system_info
Robert Cimrman
cimrman3 at ntc.zcu.cz
Mon Mar 27 10:14:41 EST 2006
Hi all,
I have added a basic umfpack detection support to
numpy.distutils.system_info() - see example site.cfg below (and replace
<UMFPACKv4.4_root>...).
The Umfpack wrapper still resides in the sandbox, but its setup.py now
uses the detection stuff.
Now I would like to move the wrapper somewhere under scipy.sparse and I
hit a problem: umpfack.py depends on scipy.sparse, since it uses the
CSR/CSC matrix formats, but also scipy.sparse uses umfpack.py for
solving linear equations.if present. How to get out of this circular
dependency problem? Do you have any suggestions on how to organize the
files?
r.
--
site.cfg:
[umfpack]
library_dirs = <UMFPACKv4.4_root>/UMFPACK/Lib:<UMFPACKv4.4_root>/AMD/Lib
include_dirs = <UMFPACKv4.4_root>/UMFPACK/Include
umfpack_libs = umfpack, amd
More information about the SciPy-Dev
mailing list