[SciPy-dev] Trouble with UMFPACK 5.0

Nils Wagner nwagner at iam.uni-stuttgart.de
Wed Dec 6 01:44:49 CST 2006


Robert Kern wrote:
> Nils Wagner wrote:
>   
>> 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
>>     
>
> You need to use the appropriate path separator for your platform. On UN*Xes,
> that's ":", not ",".
>
>
>   
Hi Robert,

I have replaced the commas by colons in my site.cfg.

[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

Now I get
...
creating build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/Lib/linsolve
creating
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/Lib/linsolve/umfpack
compile options: '-DSCIPY_UMFPACK_H -DSCIPY_AMD_H
-DATLAS_INFO="\"3.7.11\"" -I/usr/local/src/UMFPACK/Include
-I/usr/local/src/AMD/Include
-I/usr/local/lib64/python2.4/site-packages/numpy/core/include
-I/usr/include/python2.4 -c'
gcc: build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c
In file included from
build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c:1440:
/usr/local/src/UMFPACK/Include/umfpack.h:31:22: error: UFconfig.h: No
such file or directory
In file included from /usr/local/src/UMFPACK/Include/umfpack.h:48,
from build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c:1440:
/usr/local/src/UMFPACK/Include/umfpack_symbolic.h:23: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘umfpack_dl_symbolic’
/usr/local/src/UMFPACK/Include/umfpack_symbolic.h:47: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘umfpack_zl_symbolic’
In file included from /usr/local/src/UMFPACK/Include/umfpack.h:49,
from build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c:1440:
/usr/local/src/UMFPACK/Include/umfpack_numeric.h:22: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘umfpack_dl_numeric’
/usr/local/src/UMFPACK/Include/umfpack_numeric.h:44: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘umfpack_zl_numeric’
In file included from /usr/local/src/UMFPACK/Include/umfpack.h:50,
from build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c:1440:
/usr/local/src/UMFPACK/Include/umfpack_solve.h:24: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘umfpack_dl_solve’
/usr/local/src/UMFPACK/Include/umfpack_solve.h:50: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘umfpack_zl_solve’
In file included from /usr/local/src/UMFPACK/Include/umfpack.h:56,
from build/src.linux-x86_64-2.4/Lib/linsolve/umfpack/_umfpack_wrap.c:1440:
/usr/local/src/UMFPACK/Include/umfpack_qsymbolic.h:24: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘umfpack_dl_qsymbolic’
/usr/local/src/UMFPACK/Include/umfpack_qsymbolic.h:50: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘umfpack_zl_qsymbolic’
In file included from /usr/local/src/UMFPACK/Include/umfpack.h:57,
...

locate UFconfig.h

/usr/local/src/UFconfig/UFconfig.h

Nils



More information about the Scipy-dev mailing list