Compiling numpy with lapack and atlas

Abhishek Roy fingerslip at
Sun Nov 12 01:17:32 CST 2006

      I am trying to compile Numpy with lapack & atlas. In site.cfg I put,
library_dirs = /usr/local/lib/atlas/
atlas_libs = cblas, lapack, f77blas, atlas

and installation seems to go well. It says,
    libraries = ['cblas', 'lapack', 'f77blas', 'atlas']
    library_dirs = ['/usr/local/lib/atlas/']
    language = c
    include_dirs = ['/usr/local/lib/atlas']
and the lines with gcc <something> -lcblas -llapack don't give an error. But
afterwards running,
$ ldd ~/numpy-1.0/build/lib.linux-i686-2.4/numpy/linalg/ =>  (0xffffe000) => /lib/ (0x40238000) => /lib/ (0x4028b000)
/lib/ (0x80000000)

which I think means libcblas and libatlas are not linked. Can someone tell me
what's going wrong here?


Send instant messages to your online friends 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list