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

2012-12-13 Thread Dag Sverre Seljebotn
On 12/07/2012 07:58 PM, Dag Sverre Seljebotn wrote: One way of fixing this I'm sort of itching to do is to create a pylapack project which can iterate quickly on these build issues, run-time selection of LAPACK backend and so on. (With some templates generating some Cython code it shouldn't be

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

2012-12-13 Thread David Cournapeau
On Fri, Dec 7, 2012 at 7:58 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: One way of fixing this I'm sort of itching to do is to create a pylapack project which can iterate quickly on these build issues, run-time selection of LAPACK backend and so on. (With some templates

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

2012-12-13 Thread Dag Sverre Seljebotn
On 12/13/2012 07:59 PM, David Cournapeau wrote: On Fri, Dec 7, 2012 at 7:58 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: One way of fixing this I'm sort of itching to do is to create a pylapack project which can iterate quickly on these build issues, run-time selection of LAPACK

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

2012-12-07 Thread David Cournapeau
On Thu, Dec 6, 2012 at 7:35 PM, Bradley M. Froehle brad.froe...@gmail.com wrote: Right, but if I link to libcblas, cblas would be available, no? No, because we don't explicitly check for CBLAS. We assume it is there if Atlas, Accelerate or MKL is found. cheers, David On Thu, Dec 6, 2012 at

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

2012-12-07 Thread Bradley M. Froehle
Aha, thanks for the clarification. I've always been surpassed that NumPy doesn't ship with a copy of CBLAS. It's easy to compile --- just a thin wrapper over BLAS, if I remember correctly. -Brad On Friday, December 7, 2012 at 4:01 AM, David Cournapeau wrote: On Thu, Dec 6, 2012 at 7:35

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

2012-12-07 Thread Dag Sverre Seljebotn
One way of fixing this I'm sort of itching to do is to create a pylapack project which can iterate quickly on these build issues, run-time selection of LAPACK backend and so on. (With some templates generating some Cython code it shouldn't be more than a few days for an MVP.) Then patch NumPy

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

2012-12-06 Thread Alexander Eberspächer
On Fri, 30 Nov 2012 12:13:58 -0800 Bradley M. Froehle brad.froe...@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

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

2012-12-06 Thread Bradley M. Froehle
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

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

2012-12-06 Thread David Cournapeau
On Thu, Dec 6, 2012 at 7:13 PM, Bradley M. Froehle brad.froe...@gmail.com wrote: 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

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

2012-12-06 Thread Bradley M. Froehle
Right, but if I link to libcblas, cblas would be available, no? On Thu, Dec 6, 2012 at 10:34 AM, David Cournapeau courn...@gmail.comwrote: On Thu, Dec 6, 2012 at 7:13 PM, Bradley M. Froehle brad.froe...@gmail.com wrote: Thanks Alexander, that was quite helpful, but unfortunately does not

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

2012-11-30 Thread Bradley M. Froehle
I recently installed NumPy 1.6.2 on a new computer and wanted to use ACML as the BLAS/LAPACK library. [I'm aware that ACML doesn't provide CBLAS, but that is easy to work around by compiling it yourself to produce libcblas.a or libcblas.so]. I experienced a great bit of difficulty in getting