[Numpy-discussion] Biulding Numarray with atlas.

Todd Miller jmiller at stsci.edu
Thu Jul 21 08:30:23 CDT 2005


On Wed, 2005-07-20 at 17:56, Chris Barker wrote:
> 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:
> 
> USE_LAPACK = True
> 
> 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:
> 
>      else:
>          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

Sounds good to me.  I added this.

Thanks,
Todd





More information about the Numpy-discussion mailing list