[Numpy-discussion] How to set up blas in site.cfg

David Cournapeau david at ar.media.kyoto-u.ac.jp
Thu Mar 13 00:34:23 EDT 2008


Hi,

    I have some problems with numpy.distutils not picking up the blas I 
want. Let say I have several blas libraries on my system:

    libblas.so in /usr/lib
    libblas.so in /home/foo/lib

numpy.distutils picks up libblas.so in /usr/lib first. But what if I 
want to use libblas.so in /home/foo/lib ? I tried in site.cfg:

[blas_opt]
library_dirs = /home/foo/lib
libraries = blas

But numpy.distutils still picks up blas in /usr/lib...

thanks,

David



More information about the NumPy-Discussion mailing list