problem with lapack_lite / BLAS

Karol Langner karol.langner at kn.pl
Sat Oct 7 08:00:08 CDT 2006


On Saturday 07 of October 2006 14:20, Albert Strasheim wrote:
> Hello all
>
> > -----Original Message-----
> > From: numpy-discussion-bounces at lists.sourceforge.net [mailto:numpy-
> > discussion-bounces at lists.sourceforge.net] On Behalf Of Karol Langner
> > Sent: 07 October 2006 14:07
> > To: NumPy List
> > Subject: [Numpy-discussion] problem with lapack_lite / BLAS
> >
> > Dear list,
> >
> >  I'm trying to compile ATLAS 3.6.0 and LAPACK 3.0 (+ update) and use them
> > with
> > the latest numpy (checked out today). Installation seems to be fine, all
> > the
> > libraries are detected. When I import numpy, however, I get this:
> >
> > <snip>
> > ImportError: /home/langner/apps/python/lib/python2.5/site-
> > packages/numpy/linalg/lapack_lite.so:
> > undefined symbol: xerbla_
> >
> > Does anyone know where this comes from?
>
> xerbla is an error handler for the LAPACK routines. Make sure you included
> xerbla.f when building your LAPACK library. Check the symbols included in
> the library with strings or objdump.
>
> Hope this helps.
>
> Cheers,
>
> Albert

Yes, I know, and I checked this, and xerbla.o is in my lapack library, ad 
provides "xerbla_":

langner@~/apps/linalg/lib: objdump -x liblapack.a | grep "xerbla.o" -A 100
xerbla.o:     file format elf32-i386
rw-r--r-- 1000/1000   1380 Oct  6 17:51 2006 xerbla.o
architecture: i386, flags 0x00000011:
HAS_RELOC, HAS_SYMS
start address 0x00000000

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00000061  00000000  00000000  00000040  2**4
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  1 .data         0000006a  00000000  00000000  000000c0  2**5
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
  2 .bss          00000000  00000000  00000000  0000012c  2**2
                  ALLOC
  3 .rodata       00000000  00000000  00000000  0000012c  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rodata.cst4  00000004  00000000  00000000  0000012c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .note.GNU-stack 00000000  00000000  00000000  00000130  2**0
                  CONTENTS, READONLY
  6 .comment      00000026  00000000  00000000  00000130  2**0
                  CONTENTS, READONLY
SYMBOL TABLE:
00000000 l    df *ABS*  00000000 xerbla.f
00000000 l    d  .text  00000000 
00000000 l    d  .data  00000000 
00000000 l    d  .bss   00000000 
00000000 l     O .data  00000014 __g77_cilist_0.1
00000020 l     O .data  0000004a __g77_format_9999.0
00000000 l    d  .rodata        00000000 
00000000 l    d  .rodata.cst4   00000000 
00000000 l    d  .note.GNU-stack        00000000 
00000000 l    d  .comment       00000000 
00000000 g     F .text  00000061 xerbla_
00000000         *UND*  00000000 s_wsfe
00000000         *UND*  00000000 do_fio
00000000         *UND*  00000000 e_wsfe
00000000         *UND*  00000000 s_stop


RELOCATION RECORDS FOR [.text]:
OFFSET   TYPE              VALUE
(...)

And this _is_ the library I point to in site.cfg.

Karol

-- 
written by Karol Langner
Sat Oct  7 14:53:15 CEST 2006

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Numpy-discussion mailing list