[Numpy-discussion] Problem building NumPy with information from ~/.numpy-site.cfg

Nadav Horesh nadavh@visionsense....
Mon Sep 1 09:34:27 CDT 2008


In the [DEFAULTS]  library_dirs you wrote kinux instead of linux --- is
it on purpose?

  Nadav

On Mon, 2008-09-01 at 11:26 +0200, Berthold "Höllmann" wrote:

> I am trying to build numpy 1.1.1 with ATLAS support. the f77blas
> library I am trying to use is named f77blas_gfortran to distinguish it
> From builds for other compilers. First from the documentation it is
> unclear whether the default section is named DEFAULT or ALL (I tried
> both). So I set
> 
> [DEFAULT]
> library_dirs = /usr/local/gltools/kinux/lib:/usr/local/gltools/linux_x86_64/lib
> include_dirs = /usr/local/gltools/include:/usr/local/gltools/linux/include:/usr/local/gltools/linux_x86_64/include
> 
> [blas_opt]
> libraries = f77blas_gfortran, cblas, atlas
> 
> [lapack_opt]
> libraries = lapack_gfortran, f77blas_gfortran, cblas, atlas
> 
> in my ~/.numpy-site.cfg but the build process does not find LAPACK
> support and builds lapack_lite.so with the built in slow lapack.
> 
> /usr/local/gltools/linux_x86_64/lib/libf77blas_**.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_g77.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_gfortran.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_ifc100.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_ifc101.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_ifc90.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_ifc91.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_pg52.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_pg60.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_pg61.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_pg62.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_pg70.so
> /usr/local/gltools/linux_x86_64/lib/libf77blas_pg71.so
> 
> How do I set the configuration options in ~/.numpy-site.cfg so that
> the build process finds my libraries?
> 
> Kind regards
> 
> Berthold Höllmann
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080901/2f31d221/attachment.html 


More information about the Numpy-discussion mailing list