[Numpy-discussion] site.cfg: Custom BLAS / LAPACK configuration

Bradley M. Froehle brad.froehle@gmail....
Thu Dec 6 12:13:26 CST 2012


Thanks Alexander, that was quite helpful, but unfortunately does not
actually work. The recommendations there are akin to a site.cfg file:

[atlas]
atlas_libs =
library_dirs =

[blas]
blas_libs = cblas,acml
library_dirs = /opt/acml5.2.0/gfortan64_fma4/lib

[lapack]
blas_libs = cblas,acml
library_dirs = /opt/acml5.2.0/gfortan64_fma4/lib
$ python setup.py build

However this makes numpy think that there is no optimized blas available
and prevents the numpy.core._dotblas module from being built.

-Brad


On Thu, Dec 6, 2012 at 4:29 AM, Alexander Eberspächer <
alex.eberspaecher@gmail.com> wrote:

> On Fri, 30 Nov 2012 12:13:58 -0800
> "Bradley M. Froehle" <brad.froehle@gmail.com> wrote:
>
> > As far as I can tell, it's IMPOSSIBLE to create a site.cfg which will
> > link to ACML when a system installed ATLAS is present.
>
> setup.py respects environment variables. You can set ATLAS to None and
> force the setup to use $LAPACK and $BLAS. See also this link:
>
> http://www.der-schnorz.de/2012/06/optimized-linear-algebra-and-numpyscipy/
>
> Greetings
>
> Alex
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20121206/e728fc38/attachment.html 


More information about the NumPy-Discussion mailing list