[SciPy-user] how to compile UMFPACK ?

Robert Kern robert.kern@gmail....
Thu May 15 11:51:49 CDT 2008


On Thu, May 15, 2008 at 10:48 AM, Xavier Gnata <xavier.gnata@gmail.com> wrote:
> 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).

Where did this flag come from: -L/usr/lib/gcc/x86_64-linux-gnu/4.3.1 ?

It looks like a flag that was explicitly added; if you are using gcc
4.3.1, that should be hidden from you. Can you doublecheck the
versions of gcc gfortran that you are actually executing? I.e. gcc
--version?

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco


More information about the SciPy-user mailing list