[SciPy-user] how to compile UMFPACK ?

Xavier Gnata xavier.gnata at gmail.com
Thu May 15 11:48:34 EDT 2008


Hi,

I have followed this tutorial :
http://www.scipy.org/Installing_SciPy/Linux#head-1c4018a51422706809ee96a4db03ca0669f5f6d1

and it is fine for atlas but not for UMFPACK :

On ubuntu hardy using gcc-4.3 and gfortran-4.3 (and not g77),I get this 
error :

gcc -O3  -I../Include -I../../AMD/Include -I../../UFconfig -o 
umfpack_di_demo umfpack_di_demo.c ../Lib/libumfpack.a 
../../AMD/Lib/libamd.a -L/usr/lib/gcc/x86_64-linux-gnu/4.3.1 
-L/usr/local/lib/scipy/lib -llapack -lf77blas -lcblas -latlas 
-lgfortran  -lm
/usr/bin/ld: umfpack_di_demo: hidden symbol `__powidf2' in 
/usr/lib/gcc/x86_64-linux-gnu/4.3.1/libgcc.a(_powidf2.o) is referenced 
by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [umfpack_di_demo] Error 1

I have no real clue where the problem is (could it be a bug in libgcc.a).

However I can run scipy with UMFPACK waiting for a solution :)

Xavier



More information about the SciPy-User mailing list