[Numpy-discussion] Re: numarray and ATLAS

Sebastian Stark stark at tuebingen.mpg.de
Wed Oct 20 23:49:23 EDT 2004


> Perhaps this is a too recurrent subject, but I"m having problems when
> making numarray to use ATLAS instead of the mini-lapack included.

I had to change lapack_libs and lapack_dirs in addons.py to read: 

  lapack_libs = ['lapack', 'f77blas', 'f2c', 'cblas', 'atlas', 'm']
  lapack_dirs = ['/usr/local/lib/ATLAS']

I have all my .a files in /usr/local/lib/ATLAS so I can control which ones I'm 
actually linking against.

mosel ~ % ls -l /usr/local/lib/ATLAS
total 14608
-rw-r--r--    1 root     staff     7952316 Oct 20 10:03 libatlas.a
-rw-r--r--    1 root     staff      277592 Oct 20 10:03 libcblas.a
-rw-r--r--    1 root     staff      261060 Oct 20 10:45 libf2c.a
-rw-r--r--    1 root     staff      353278 Oct 20 10:03 libf77blas.a
-rw-r--r--    1 root     staff     5734736 Oct 20 10:42 liblapack.a
-rw-r--r--    1 root     staff      324968 Oct 20 10:03 libtstatlas.a


-Sebastian

(and yes, I get a significant speed boost from ATLAS)

-- 
Sebastian Stark -- http://www.kyb.tuebingen.mpg.de/~stark
Max Planck Institute for Biological Cybernetics
Spemannstr. 38, 72076 Tuebingen
Phone: +49 7071 601 555 -- Fax: +49 7071 601 552




More information about the NumPy-Discussion mailing list