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

Berthold "Höllmann" berthold.hoellmann@gl-group....
Mon Sep 1 04:26:33 CDT 2008


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
-- 
Germanischer Lloyd AG
CAE Development
Vorsetzen 35
20459 Hamburg
Phone: +49(0)40 36149-7374
Fax: +49(0)40 36149-7320
e-mail: berthold.hoellmann@gl-group.com
Internet: http://www.gl-group.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080901/cc2952a9/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disclaimer.txt
Type: application/octet-stream
Size: 2196 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080901/cc2952a9/attachment.obj 


More information about the Numpy-discussion mailing list