[Numpy-discussion] Re: numarray and ATLAS

Robert Kern rkern at ucsd.edu
Thu Oct 21 02:05:51 CDT 2004


Francesc Alted wrote:
> A Dijous 21 Octubre 2004 08:46, Sebastian Stark va escriure:
> 
>>>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've done something similar:
> 
>     lapack_libs = ['lapack', 'cblas', 'f77blas', 'atlas']
>     lapack_dirs = ['/usr/local/atlas/Linux_P4SSE2_full/lib']
> 
> Mmm, I can see that you have added 'f2c'. However, I don't have it
> installed. Could that be the cause that tests would not pass in my case?

If you are compiling with gcc, add 'g2c' after 'f77blas'. It's g77's 
FORTRAN runtime library.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Numpy-discussion mailing list