[SciPy-dev] Trouble with UMFPACK 5.0

Nils Wagner nwagner at iam.uni-stuttgart.de
Tue Dec 5 02:31:39 CST 2006


Hi all,

I have some trouble with UMFPACK 5.0.

My site.cfg reads

[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

python setup.py results in

building extension "scipy.linsolve.umfpack.__umfpack" sources
creating build/src.linux-x86_64-2.4/scipy/linsolve
creating build/src.linux-x86_64-2.4/scipy/linsolve/umfpack
  adding 'Lib/linsolve/umfpack/umfpack.i' to sources.
creating build/src.linux-x86_64-2.4/Lib/linsolve
creating build/src.linux-x86_64-2.4/Lib/linsolve/umfpack
swig: Lib/linsolve/umfpack/umfpack.i
swig -python -o
build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c -outdir
build/src.linux-x86_64-2.4/Lib/linsolve/umfpack
Lib/linsolve/umfpack/umfpack.i
Lib/linsolve/umfpack/umfpack.i:188: Error: Unable to find 'umfpack.h'
Lib/linsolve/umfpack/umfpack.i:189: Error: Unable to find 'umfpack_solve.h'
Lib/linsolve/umfpack/umfpack.i:190: Error: Unable to find
'umfpack_defaults.h'
Lib/linsolve/umfpack/umfpack.i:191: Error: Unable to find
'umfpack_triplet_to_col.h'
Lib/linsolve/umfpack/umfpack.i:192: Error: Unable to find
'umfpack_col_to_triplet.h'
Lib/linsolve/umfpack/umfpack.i:193: Error: Unable to find
'umfpack_transpose.h'
Lib/linsolve/umfpack/umfpack.i:194: Error: Unable to find 'umfpack_scale.h'
Lib/linsolve/umfpack/umfpack.i:196: Error: Unable to find
'umfpack_report_symbolic.h'
Lib/linsolve/umfpack/umfpack.i:197: Error: Unable to find
'umfpack_report_numeric.h'
Lib/linsolve/umfpack/umfpack.i:198: Error: Unable to find
'umfpack_report_info.h'
Lib/linsolve/umfpack/umfpack.i:199: Error: Unable to find
'umfpack_report_control.h'
Lib/linsolve/umfpack/umfpack.i:211: Error: Unable to find
'umfpack_symbolic.h'
Lib/linsolve/umfpack/umfpack.i:212: Error: Unable to find
'umfpack_numeric.h'
Lib/linsolve/umfpack/umfpack.i:221: Error: Unable to find
'umfpack_free_symbolic.h'
Lib/linsolve/umfpack/umfpack.i:222: Error: Unable to find
'umfpack_free_numeric.h'
Lib/linsolve/umfpack/umfpack.i:244: Error: Unable to find
'umfpack_get_lunz.h'
Lib/linsolve/umfpack/umfpack.i:268: Error: Unable to find
'umfpack_get_numeric.h'
error: command 'swig' failed with exit status 1

ls -l /usr/local/src/UMFPACK/Include/
total 252
-rw-rw---- 1 root root  3712 2006-05-02 15:23 umfpack_col_to_triplet.h
-rw-rw---- 1 root root  1892 2006-05-02 15:23 umfpack_defaults.h
-rw-rw---- 1 root root  1690 2006-05-02 15:23 umfpack_free_numeric.h
-rw-rw---- 1 root root  1708 2006-05-02 15:23 umfpack_free_symbolic.h
-rw-rw---- 1 root root  6270 2006-05-02 15:23 umfpack_get_determinant.h
-rw-rw---- 1 root root  3989 2006-05-02 15:23 umfpack_get_lunz.h
-rw-rw---- 1 root root  8960 2006-05-02 15:24 umfpack_get_numeric.h
-rw-rw---- 1 root root 13154 2006-05-02 15:24 umfpack_get_symbolic.h
-rw-rw---- 1 root root  1029 2006-05-02 01:34 umfpack_global.h
-rw-rw---- 1 root root 19493 2006-05-02 14:47 umfpack.h
-rw-rw---- 1 root root  2585 2006-05-02 15:24 umfpack_load_numeric.h
-rw-rw---- 1 root root  2612 2006-05-02 15:24 umfpack_load_symbolic.h
-rw-rw---- 1 root root 23215 2006-05-02 15:24 umfpack_numeric.h
-rw-rw---- 1 root root  5157 2006-05-02 15:24 umfpack_qsymbolic.h
-rw-rw---- 1 root root  2197 2006-05-02 15:24 umfpack_report_control.h
-rw-rw---- 1 root root  2639 2006-05-02 15:24 umfpack_report_info.h
-rw-rw---- 1 root root  6997 2006-05-02 15:24 umfpack_report_matrix.h
-rw-rw---- 1 root root  3612 2006-05-02 15:25 umfpack_report_numeric.h
-rw-rw---- 1 root root  3520 2006-05-02 15:25 umfpack_report_perm.h
-rw-rw---- 1 root root  2563 2006-05-02 15:25 umfpack_report_status.h
-rw-rw---- 1 root root  3551 2006-05-02 15:25 umfpack_report_symbolic.h
-rw-rw---- 1 root root  4893 2006-05-02 15:25 umfpack_report_triplet.h
-rw-rw---- 1 root root  4507 2006-05-02 15:25 umfpack_report_vector.h
-rw-rw---- 1 root root  2243 2006-05-02 15:25 umfpack_save_numeric.h
-rw-rw---- 1 root root  2274 2006-05-02 15:25 umfpack_save_symbolic.h
-rw-rw---- 1 root root  3161 2006-05-02 15:25 umfpack_scale.h
-rw-rw---- 1 root root 10693 2006-05-02 15:25 umfpack_solve.h
-rw-rw---- 1 root root 22283 2006-05-02 15:26 umfpack_symbolic.h
-rw-rw---- 1 root root  2225 2006-05-01 14:50 umfpack_tictoc.h
-rw-rw---- 1 root root  1719 2006-05-01 14:50 umfpack_timer.h
-rw-rw---- 1 root root  7938 2006-05-02 15:26 umfpack_transpose.h
-rw-rw---- 1 root root 10442 2006-05-02 15:26 umfpack_triplet_to_col.h
-rw-rw---- 1 root root  5542 2006-05-02 15:26 umfpack_wsolve.h
 
Any pointer how to fix this problem would be appreciated.

Thanks in advance
                                   Nils



More information about the Scipy-dev mailing list