[Numpy-discussion] numpy ignores OPT/FOPT under Python3

2014-09-09 Thread Thomas Unterthiner
Hi! I want to use the OPT/FOPT environment viariables to set compiler flags when compiling numpy. However it seems that they get ignored under python3. Using Ubuntu 14.04 and numpy 1.9.0, I did the following: >export OPT="-march=native" >export FOPT = "-march=native" > python setup.py build

Re: [Numpy-discussion] numpy.mean still broken for large float32 arrays

2014-07-24 Thread Thomas Unterthiner
I don't agree. The problem is that I expect `mean` to do something reasonable. The documentation mentions that the results can be "inaccurate", which is a huge understatement: the results can be utterly wrong. That is not reasonable. At the very least, a warning should be issued in cases where

[Numpy-discussion] numpy.mean still broken for large float32 arrays

2014-07-24 Thread Thomas Unterthiner
Hi! The following is a known "bug" since at least 2010 [1]: import numpy as np X = np.ones((5, 1024), np.float32) print X.mean() >>> 0.32768 I ran into this for the first time today as part of a larger program. I was very surprised by this, and spent over an hour lookin

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-04 Thread Thomas Unterthiner
Hi there! I just tried setting up a new installation using numpy 1.8.1rc1 (+scipy 0.13.3 and matplotlib 1.3.1). I ran into problems when installing matplotlib 1.3.1. The attached logfile shows the full log, but it ends with: src/_png.cpp:329:15: error: 'npy_PyFile_Dup' was not declared in thi

Re: [Numpy-discussion] problems building numpy with ACML blas/lapack

2014-02-27 Thread Thomas Unterthiner
h install of Python-2.7.6. To install numpy, I've followed exactly the instructions previously posted to this list by Thomas Unterthiner. See http://numpy-discussion.10968.n7.nabble.com/numpy-ACML-support-is-kind-of-broken-td35454.html. The only thing I've adjusted is to try to use t

Re: [Numpy-discussion] MKL and OpenBLAS

2014-02-06 Thread Thomas Unterthiner
On 2014-02-06 11:10, Sturla Molden wrote: > BTW: The performance of OpenBLAS is far behind Eigen, MKL and ACML, but > better than ATLAS and Accelerate. Hi there! Sorry for going a bit off-topic, but: do you have any links to the benchmarks? I googled around, but I haven't found anything. FWIW,

Re: [Numpy-discussion] Problems when using ACML with numpy

2012-05-12 Thread Thomas Unterthiner
On 05/12/2012 05:34 PM, Pauli Virtanen wrote: > 12.05.2012 17:30, Thomas Unterthiner kirjoitti: > [clip] >> However it didn't seem to work. The same 5000x5000 matrix-multiply is >> still spinning at 100% CPU usage. I attached to the process after I let >> it ru

Re: [Numpy-discussion] Problems when using ACML with numpy

2012-05-12 Thread Thomas Unterthiner
ed since that message was written in 2006, or I did something wrong (I am absolutely unfamiliar with the build-system used by numpy) or missed something :( Thomas 2012/5/12 Thomas Unterthiner <mailto:thomas_unterthi...@web.de>> On 05/12/2012 03:27 PM, numpy-discussion-r

Re: [Numpy-discussion] Problems when using ACML with numpy

2012-05-12 Thread Thomas Unterthiner
On 05/12/2012 03:27 PM, numpy-discussion-requ...@scipy.org wrote: > 12.05.2012 00:54, Thomas Unterthiner kirjoitti: > [clip] >> > The process will have 100% CPU usage and will not show any activity >> > under strace. A gdb backtrace looks as follows: >&g

[Numpy-discussion] Problems when using ACML with numpy

2012-05-11 Thread Thomas Unterthiner
Hi there! I'm having troubles getting numpy to work with ACML. I'm running Ubuntu 12.04 on an x86-64 system and use acml 5.1.0. On my first try, I installed numpy/scipy from the official ubuntu repository, then just changed the symlink to the blas/lapack libraries of my system to use acml. i.