Re: [Numpy-discussion] Caution about using intrisincs, and other 'advanced' optimizations

2013-11-15 Thread David Cournapeau
On Wed, Nov 13, 2013 at 6:16 PM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > On 13.11.2013 18:26, David Cournapeau wrote: > > > > > > Can you narrow it down to a specific intrinsic? they can be enabled > and > > disabled in set ./numpy/core/setup_common.py > > > > > > valgrind

[Numpy-discussion] Silencing NumPy output

2013-11-15 Thread Frédéric Bastien
Hi, NumPy 1.8 removed the private NumPy interface numpy.distutils.__config__. So a Theano user make a PR to make Theano use the official interface: numpy.distutils.system_info.get_info("blas_opt") But this output many stuff to the output. I can silence part of it by silencing warnings, but I'm n

Re: [Numpy-discussion] ANN: NumPy 1.7.2rc1 release

2013-11-15 Thread Derek Homeier
On 13.11.2013, at 3:07AM, Charles R Harris wrote: > Python 2.4 fixes at https://github.com/numpy/numpy/pull/4049. Thanks for the fixes; builds under OS X 10.5 now as well. There are two test errors (or maybe as nose problem?): NumPy version 1.7.2rc1 NumPy is installed in /sw/src/fink.build/r

Re: [Numpy-discussion] ANN: NumPy 1.7.2rc1 release

2013-11-15 Thread Charles R Harris
On Fri, Nov 15, 2013 at 8:16 AM, Derek Homeier < de...@astro.physik.uni-goettingen.de> wrote: > On 13.11.2013, at 3:07AM, Charles R Harris > wrote: > > > Python 2.4 fixes at https://github.com/numpy/numpy/pull/4049. > > Thanks for the fixes; builds under OS X 10.5 now as well. There are two > te

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread Charles R Harris
On Fri, Nov 15, 2013 at 8:12 AM, Frédéric Bastien wrote: > Hi, > > NumPy 1.8 removed the private NumPy interface > numpy.distutils.__config__. So a Theano user make a PR to make Theano > use the official interface: > > numpy.distutils.system_info.get_info("blas_opt") > > But this output many stuf

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread Charles R Harris
On Fri, Nov 15, 2013 at 10:31 AM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > > On Fri, Nov 15, 2013 at 8:12 AM, Frédéric Bastien wrote: > >> Hi, >> >> NumPy 1.8 removed the private NumPy interface >> numpy.distutils.__config__. So a Theano user make a PR to make Theano >> use the

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread Charles R Harris
On Fri, Nov 15, 2013 at 10:40 AM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > > On Fri, Nov 15, 2013 at 10:31 AM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> >> On Fri, Nov 15, 2013 at 8:12 AM, Frédéric Bastien wrote: >> >>> Hi, >>> >>> NumPy 1.8 removed the pr

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread Frédéric Bastien
I found a line like this in the file: numpy/distutils/fcompiler/__init__.py I changed the -2 to 2, but it didn't change anything. In fact, this line wasn't called. The fct set_verbosity() is called only once, with the value of 0. The default value set at import. If I change that to 2 or -2, it d

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread Charles R Harris
On Fri, Nov 15, 2013 at 11:05 AM, Frédéric Bastien wrote: > I found a line like this in the file: > > numpy/distutils/fcompiler/__init__.py > > I changed the -2 to 2, but it didn't change anything. In fact, this > line wasn't called. > > The fct set_verbosity() is called only once, with the value

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread David Cournapeau
On Fri, Nov 15, 2013 at 6:21 PM, Charles R Harris wrote: > > > > On Fri, Nov 15, 2013 at 11:05 AM, Frédéric Bastien wrote: > >> I found a line like this in the file: >> >> numpy/distutils/fcompiler/__init__.py >> >> I changed the -2 to 2, but it didn't change anything. In fact, this >> line wasn'

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread Frédéric Bastien
If it don't change, currently it mean that each process that use Theano and use BLAS will have that printed: Found executable /usr/bin/gfortran ATLAS version 3.8.3 built by mockbuild on Wed Jul 28 02:12:34 UTC 2010: UNAME: Linux x86-15.phx2.fedoraproject.org 2.6.32-44.el6.x86_64 #1 SMP Wed

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread Robert Kern
On Fri, Nov 15, 2013 at 7:28 PM, David Cournapeau wrote: > > On Fri, Nov 15, 2013 at 6:21 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: >> Sure, give it a shot. Looks like subprocess.Popen was intended to replace os.system in any case. > > Except that output is not 'real time' with str

Re: [Numpy-discussion] Caution about using intrisincs, and other 'advanced' optimizations

2013-11-15 Thread Julian Taylor
> > Will do, but the errors I am seeing only appear in the > simc.inc.src-based implementation of BOOL_logical_or (they disappear if > I disable the simd intrinsics manually in the numpy headers). > that is because the simd code always looks at the stride (as it only can run with unit strides) w

Re: [Numpy-discussion] strange runtimes of numpy fft

2013-11-15 Thread Max Linke
On Thu, 2013-11-14 at 17:19 +, David Cournapeau wrote: > On Thu, Nov 14, 2013 at 4:45 PM, Charles Waldman wrote: > > > Can you post the raw data? It seems like there are just a couple of "bad" > > sizes, I'd like to know more precisely what these are. > > > > Indeed. Several of the sizes ge

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread David Cournapeau
On Fri, Nov 15, 2013 at 7:41 PM, Robert Kern wrote: > On Fri, Nov 15, 2013 at 7:28 PM, David Cournapeau > wrote: > > > > On Fri, Nov 15, 2013 at 6:21 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > > >> Sure, give it a shot. Looks like subprocess.Popen was intended to > replace os.s

Re: [Numpy-discussion] Silencing NumPy output

2013-11-15 Thread David Cournapeau
On Fri, Nov 15, 2013 at 7:39 PM, Frédéric Bastien wrote: > If it don't change, currently it mean that each process that use > Theano and use BLAS will have that printed: > > Found executable /usr/bin/gfortran > ATLAS version 3.8.3 built by mockbuild on Wed Jul 28 02:12:34 UTC 2010: >UNAME

Re: [Numpy-discussion] strange runtimes of numpy fft

2013-11-15 Thread David Cournapeau
On Fri, Nov 15, 2013 at 10:47 PM, Max Linke wrote: > On Thu, 2013-11-14 at 17:19 +, David Cournapeau wrote: > > On Thu, Nov 14, 2013 at 4:45 PM, Charles Waldman > wrote: > > > > > Can you post the raw data? It seems like there are just a couple of > "bad" > > > sizes, I'd like to know more