Re: [Numpy-discussion] Anyone with Core i7 and Ubuntu 10.04?

2010-11-09 Thread Ian Goodfellow
Yes, that's pretty much the situation. I'm mostly looking for someone who has satisfactory performance with their Core i7 so I can get some comparison information and figure out if I need to disable hyperthreading or compile atlas with different flags or what. Are the Ubuntu 10.10 atlas packages

[Numpy-discussion] Anyone with Core i7 and Ubuntu 10.04?

2010-11-08 Thread Ian Goodfellow
I'm wondering if anyone here has successfully built numpy with ATLAS and a Core i7 CPU on Ubuntu 10.04. If so, I could really use your help. I've been trying since August (see my earlier messages to this list) to get numpy running at full speed on my machine with no luck. The Ubuntu packages don't

Re: [Numpy-discussion] Atlas build issues

2010-10-20 Thread Ian Goodfellow
--with-netlib-lapack is indeed no longer valid. INSTALL.txt includes a warning that INSTALL.txt is out of date, you should refer to doc/atlas_install.pdf instead. The new option is --with-netlib-lapack-tarfile I successfully built 3.9.25 with this option a while ago, but haven't been able to get

Re: [Numpy-discussion] Atlas build issues

2010-10-20 Thread Ian Goodfellow
, Ian Goodfellow wrote: --with-netlib-lapack is indeed no longer valid. INSTALL.txt includes a warning that INSTALL.txt is out of date, you should refer to doc/atlas_install.pdf instead. Ah, I read too quickly and missed that. Thanks. The new option is --with-netlib-lapack

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Ian Goodfellow
To do a standard installation, run sudo python setup.py install from inside the numpy directory Then your import should work elsewhere. By the way, import * can cause difficulties when you're working with several different files. For example, if you have a function called 'save' somewhere that

Re: [Numpy-discussion] equality of empty arrays

2010-10-11 Thread Ian Goodfellow
The reasoning behind this is that == returns an array that specifies whether each element of the two arrays is equal. It's only defined if the arrays are the same shape (or maybe if they can be broadcasted to the same shape). The correct way to check if an array is empty is to inspect its

Re: [Numpy-discussion] equality of empty arrays

2010-10-11 Thread Ian Goodfellow
If the arrays are the same size or can be broadcasted to the same size, it returns true or false on an elementwise basis. If the arrays are not the same size and can't be broadcasted to the same size, it returns False, which was a surprise to me too. import numpy as N

Re: [Numpy-discussion] Help building numpy

2010-10-08 Thread Ian Goodfellow
: 0.0131 On Fri, Oct 8, 2010 at 12:35 PM, Bruce Southey bsout...@gmail.com wrote: On 10/08/2010 10:58 AM, Ian Goodfellow wrote: Here's the output on my atlas library: file -L /usr/local/atlas/lib/libatlas.so /usr/local/atlas/lib/libatlas.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV