Re: [Numpy-discussion] Dropping support for, Accelerate/veclib?

2013-06-14 Thread Ralf Gommers
On Thu, Jun 13, 2013 at 1:25 PM, Andrew Jaffe a.h.ja...@gmail.com wrote: On 11/06/2013 22:11, Chris Barker - NOAA Federal wrote: On Tue, Jun 11, 2013 at 1:28 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: The binaries will still be built against python.org Python, so there shouldn't be an

Re: [Numpy-discussion] Dropping support for, Accelerate/veclib?

2013-06-13 Thread Andrew Jaffe
On 11/06/2013 22:11, Chris Barker - NOAA Federal wrote: On Tue, Jun 11, 2013 at 1:28 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: The binaries will still be built against python.org Python, so there shouldn't be an issue here. Same for building from source. My point was that it's nice to be

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-13 Thread Pauli Virtanen
12.06.2013 00:29, Ralf Gommers kirjoitti: [clip] Sounds like a good idea. Would still make sense to move Accelerate down in the list of preferred libs, so that one can install ATLAS, MKL or OpenBLAS once and be done, instead of always having to remember these envvars. It goes like this:

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-12 Thread Ralf Gommers
On Tue, Jun 11, 2013 at 11:57 PM, Pauli Virtanen p...@iki.fi wrote: 12.06.2013 00:29, Ralf Gommers kirjoitti: [clip] AFAIK custom compiler flags can be injected via FOPT/FFLAGS/LDFLAGS, so doing something like export FOPT=-ff2c [clip] Sounds like a good idea. Would

[Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Pauli Virtanen
Hi, numpy.distutils provides support for Accelerate+veclib on OSX, but does not provide Fortran compiler flags that ensure that the Fortran ABI used is compatible. As a result ASUM, SDOT, (apparently also DDOT), and other common BLAS functions return garbage when called with the wrong ABI. This

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread David Cournapeau
On Tue, Jun 11, 2013 at 9:22 AM, Pauli Virtanen p...@iki.fi wrote: Hi, numpy.distutils provides support for Accelerate+veclib on OSX, but does not provide Fortran compiler flags that ensure that the Fortran ABI used is compatible. As a result ASUM, SDOT, (apparently also DDOT), and other

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Pauli Virtanen
David Cournapeau cournape at gmail.com writes: [clip] What is the default ABI used on homebrew ? I think we should just follow that, given that Apple cannot figure it out. I think for Scipy homebrew uses the Gfortran ABI: https://trac.macports.org/browser/trunk/dports/python/py-scipy/Portfile

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Matthew Brett
Hi, On Tue, Jun 11, 2013 at 5:17 AM, Pauli Virtanen p...@iki.fi wrote: David Cournapeau cournape at gmail.com writes: [clip] What is the default ABI used on homebrew ? I think we should just follow that, given that Apple cannot figure it out. I think for Scipy homebrew uses the Gfortran

Re: [Numpy-discussion] Dropping support for, Accelerate/veclib?

2013-06-11 Thread Nils Becker
I think for Scipy homebrew uses the Gfortran ABI: https://trac.macports.org/browser/trunk/dports/python/py-scipy/Portfile fwiw, homebrew is not macports. it's a more recent replacement that seems to be taking over gradually. ___ NumPy-Discussion

Re: [Numpy-discussion] Dropping support for, Accelerate/veclib?

2013-06-11 Thread Chris Barker - NOAA Federal
On Tue, Jun 11, 2013 at 10:22 AM, Nils Becker n.bec...@amolf.nl wrote: fwiw, homebrew is not macports. it's a more recent replacement that seems to be taking over gradually. And then there is (or was) fink Anyway, it would be really nice if numpy could work well out-of-the box with the

Re: [Numpy-discussion] Dropping support for, Accelerate/veclib?

2013-06-11 Thread Ralf Gommers
On Tue, Jun 11, 2013 at 9:44 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Tue, Jun 11, 2013 at 10:22 AM, Nils Becker n.bec...@amolf.nl wrote: fwiw, homebrew is not macports. it's a more recent replacement that seems to be taking over gradually. And then there is (or

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Ralf Gommers
On Tue, Jun 11, 2013 at 2:09 PM, Matthew Brett matthew.br...@gmail.comwrote: Hi, On Tue, Jun 11, 2013 at 5:17 AM, Pauli Virtanen p...@iki.fi wrote: David Cournapeau cournape at gmail.com writes: [clip] What is the default ABI used on homebrew ? I think we should just follow that, given

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Ralf Gommers
On Tue, Jun 11, 2013 at 11:17 AM, Pauli Virtanen p...@iki.fi wrote: David Cournapeau cournape at gmail.com writes: [clip] What is the default ABI used on homebrew ? I think we should just follow that, given that Apple cannot figure it out. I think for Scipy homebrew uses the Gfortran ABI:

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Nathaniel Smith
On 11 Jun 2013 22:31, Ralf Gommers ralf.gomm...@gmail.com wrote: Sounds like a good idea. Would still make sense to move Accelerate down in the list of preferred libs, so that one can install ATLAS, MKL or OpenBLAS once and be done, instead of always having to remember these envvars. These days

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Pauli Virtanen
12.06.2013 00:29, Ralf Gommers kirjoitti: [clip] AFAIK custom compiler flags can be injected via FOPT/FFLAGS/LDFLAGS, so doing something like export FOPT=-ff2c [clip] Sounds like a good idea. Would still make sense to move Accelerate down in the list of preferred libs, so