[Numpy-discussion] Biulding Numarray with atlas.

Chris Barker Chris.Barker at noaa.gov
Wed Jul 20 14:57:15 EDT 2005

Hi all,

I'm working on building numarray with atlas on a Fedora core 4 system. I 
installed atlas by downloading a binary from the atlas sourceforge site, 
and copying stuff into /usr/local/...

Then in cfc_packages.py, I added:


at the top. That doesn't seem like where I should do it, but it works.

then I got:

Src/_dotblas.c:15:19: error: cblas.h: No such file or directory

So I looked and saw:

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

which makes sense, we haven't added the include directory that cblas.h 
is in.

So I added:
lapack_include_dirs += ['/usr/local/include/atlas/']

and now it seems to work.

Perhaps an include line should be added to the stock cfc_packages.py


Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov

More information about the NumPy-Discussion mailing list