[Numpy-discussion] building numpy with atlas on ubuntu edgy

Robert Kern robert.kern@gmail....
Sat Apr 14 01:24:38 CDT 2007


Christian K wrote:
> Hi,
> I'm trying to build numpy from svn on ubuntu edgy with atlas provided by ubuntu
> package atlas3-sse2-dev which contains:
> 
> /usr
> /usr/lib
> /usr/lib/sse2
> /usr/lib/sse2/libatlas.a
> /usr/lib/sse2/libcblas.a
> /usr/lib/sse2/libf77blas.a
> /usr/lib/sse2/liblapack_atlas.a
> /usr/lib/atlas
> /usr/lib/atlas/sse2
> /usr/lib/atlas/sse2/libblas.a
> /usr/lib/atlas/sse2/liblapack.a
> /usr/share
> /usr/share/doc
> /usr/share/doc/atlas3-sse2-dev
> /usr/share/doc/atlas3-sse2-dev/copyright
> /usr/share/doc/atlas3-sse2-dev/changelog.Debian.gz
> /usr/lib/sse2/libatlas.so
> /usr/lib/sse2/libcblas.so
> /usr/lib/sse2/libf77blas.so
> /usr/lib/sse2/liblapack_atlas.so
> /usr/lib/atlas/sse2/libblas.so
> /usr/lib/atlas/sse2/liblapack.so
> 
> I tried both with and without a site.cfg:
> 
> 
> [DEFAULT]
> library_dirs = /usr/lib/sse2
> include_dirs = /usr/include
> 
> [blas_opt]
> libraries = f77blas, cblas, atlas
> 
> [lapack_opt]
> libraries = lapack, f77blas, cblas, atlas

> Confusingly lapack_atlas resides in /usr/lib but even though setup.py looks for
> it in that place it reports 'not found'.
> 
> What should I try next?

Change this:

[lapack_opt]
libraries = lapack, f77blas, cblas, atlas

to this:

[lapack_opt]
libraries = lapack_atlas, f77blas, cblas, atlas

-- 
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 Numpy-discussion mailing list