Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread David Cournapeau
David Cournapeau wrote: > > I am really sorry for all this trouble. The last solution you could try, > with a bit old packages is my own repository, with Centos packages: > > http://download.opensuse.org/repositories/home:/ashigabou/CentOS_5/ I could update numpy to a recent one (1.1.1), but unfort

Re: [Numpy-discussion] Help speeding up element-wise operations for video processing

2008-09-16 Thread David Cournapeau
Brendan Simons wrote: > Why would I need the GPU to do parallel operations? I thought most > modern processors have vector units. I just don't know if there's a > way to have my code use them. Yes, modern CPU have vector units, but to use them efficiently, you have to use assembly or specially w

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread David Cournapeau
Jarrod Millman wrote: > By the way, does anyone know what version of gcc we require? Where is > that documented? The only occurrence of a recommended gcc version is > here: http://scipy.org/Installing_SciPy/BuildingGeneral > > And it states "gcc 3.x compilers are recommended." > Those instru

Re: [Numpy-discussion] profiling line by line

2008-09-16 Thread Robert Kern
On Mon, Sep 15, 2008 at 11:13, Arnar Flatberg <[EMAIL PROTECTED]> wrote: > That would make me an extremely happy user, I've been looking for this for > years! > I can't imagine I'm the only one who profiles some hundred lines of code and > ends up with 90% of total time in the dot-function For the

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread David Cournapeau
Francis wrote: > > To be frank, I am bit of noob, but not completely. I use the gfortran > make.inc to build lapack. The make.inc file to build and install atlas > is using gfortran. I used the --fcompiler=gfortran flag. I don't > think there is much else I can do. Yes there is :) You should use

Re: [Numpy-discussion] Help speeding up element-wise operations for video processing

2008-09-16 Thread Brendan Simons
On 16-Sep-08, at 4:50 AM, Stéfan van der Walt wrote: > Hi Brendan > > 2008/9/16 brendan simons <[EMAIL PROTECTED]>: >> #interpolate the green pixels from the bayer filter image ain >> g = greenMask * ain >> gi = g[:-2, 1:-1].astype('uint16') >> gi += g[2:, 1:-1] >> gi += g[1:-1, :-2] >> gi += g[1

Re: [Numpy-discussion] Help speeding up element-wise operations for video processing

2008-09-16 Thread Brendan Simons
Why would I need the GPU to do parallel operations? I thought most modern processors have vector units. I just don't know if there's a way to have my code use them. I tried a quick test with pyopengl (as quick as can be done in that crazy api), but I found adding two textures of the same

[Numpy-discussion] distutils chooses wrong arch flags

2008-09-16 Thread Nathan Bell
Could someone with a better knowledge of distutils look over the following SciPy ticket: http://scipy.org/scipy/scipy/ticket/738 Short version: distutils compiles with -march=pentium-m on a machine that can't execute SS2 instructions. -- Nathan Bell [EMAIL PROTECTED] http://graphics.cs.uiuc.edu/

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Jarrod Millman
On Tue, Sep 16, 2008 at 12:18 PM, Charles Doutriaux <[EMAIL PROTECTED]> wrote: > Thanks Jarrod it's coming back now. > > I thought they had updated the system... but no luck... > > Ok that's the issue i'm using: > gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8) Glad to hear it is a "known" issue. By t

Re: [Numpy-discussion] ValueError: setting an array element with a sequence.

2008-09-16 Thread Alan G Isaac
On 9/16/2008 2:58 PM Lisa Delgado apparently wrote: > This is my own program for computing Nash equilibria. It sounds like you are working on stuff that might interest others. Please consider contributing to econpy, at least your Nash soln procedure. What exactly are you working on? Thanks, Ala

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Charles Doutriaux
Thanks Jarrod it's coming back now. I thought they had updated the system... but no luck... Ok that's the issue i'm using: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8) Thanks again, C. Jarrod Millman wrote: > Which version of gcc are you using? Do I remember correctly that you > had the same fa

Re: [Numpy-discussion] ValueError: setting an array eleme nt with a sequence.

2008-09-16 Thread Lisa Delgado
Charles R Harris gmail.com> writes: > > > On Tue, Sep 16, 2008 at 9:05 AM, Lisa Delgado gmail.com> wrote: > Hi, > I had previously run a program successfully when using numpy 1.1.0. I just > downloaded the Enthought Python Distribution, which has numpy 1.0.4 and am now > having problems runnin

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Jarrod Millman
Which version of gcc are you using? Do I remember correctly that you had the same failure with numpy 1.1.1 when using gcc 3.3 and that the problem went away when you used gcc 4.1. If you are using 3.3, could you try with 4.1 and let us know if you run into the same problem? Thanks, -- Jarrod M

Re: [Numpy-discussion] ValueError: setting an array eleme nt with a sequence.

2008-09-16 Thread Lisa Delgado
Charles R Harris gmail.com> writes: > > > On Tue, Sep 16, 2008 at 9:05 AM, Lisa Delgado gmail.com> wrote: > Hi, > I had previously run a program successfully when using numpy 1.1.0. I just > downloaded the Enthought Python Distribution, which has numpy 1.0.4 and am now > having problems runnin

Re: [Numpy-discussion] math directive, rest files and sphinx

2008-09-16 Thread Pauli Virtanen
Tue, 16 Sep 2008 23:09:18 +0900, David Cournapeau wrote: > Stéfan van der Walt wrote: [clip] >> While I like the mathml approach, it does not render perfectly on all >> browsers and, as you've discovered, doesn't support all the constructs. >> It may be easier to switch to the math module now in S

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Charles Doutriaux
thunder0 ~/svn >more /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 5) I guess it's kind of old... And unfortunately, the lab won't let us add this machine to anything C. Charles R Harris wrote: > > > On Tue, Sep 16, 2008 at 10:16 AM, Charles Doutriaux > <[EMAIL

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Charles R Harris
On Tue, Sep 16, 2008 at 10:16 AM, Charles Doutriaux <[EMAIL PROTECTED]>wrote: > On this system, both 1.2rc1 and rc2 hang on mtrand.c > > Linux thunder0 2.6.9-74chaos #1 SMP Wed Oct 24 08:41:12 PDT 2007 ia64 ia64 > ia64 GNU/Linux > > attached is the log. > > Interesting. What distribution are you r

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread Francis
On 16 Sep, 16:13, David Cournapeau <[EMAIL PROTECTED]> wrote: > Francis wrote: > > You are right. I have recompiled everything with gfortran, but now I > > get the following error when I try to import numpy: undefined symbol: > > _gfortran_concat_string. > > This means something at some point was n

Re: [Numpy-discussion] numpy.linalg.eig

2008-09-16 Thread Tommy Carstensen
Dear Robert Kern, Thanks for your interest in helping me. Previously I used LinearAlgebra.Heigenvectors. I should have switched to numpy.linalg.eigh instead of numpy.linalg.eig, since I work with Hermitian (non-complex and symmetric) matrices. Kind regards, Tommy -Original Message- From

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Charles Doutriaux
On this system, both 1.2rc1 and rc2 hang on mtrand.c Linux thunder0 2.6.9-74chaos #1 SMP Wed Oct 24 08:41:12 PDT 2007 ia64 ia64 ia64 GNU/Linux attached is the log. numpy.LOG.bz2 Description: application/bzip ___ Numpy-discussion mailing list Nump

Re: [Numpy-discussion] ValueError: setting an array element with a sequence.

2008-09-16 Thread Charles R Harris
On Tue, Sep 16, 2008 at 9:05 AM, Lisa Delgado <[EMAIL PROTECTED]>wrote: > Hi, > > I had previously run a program successfully when using numpy 1.1.0. I just > downloaded the Enthought Python Distribution, which has numpy 1.0.4 and am > now > having problems running my program. I get the following

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread Steve Lianoglou
Hi, On Sep 16, 2008, at 11:13 AM, David Cournapeau wrote: > Yes, I think they package everything by themselves. I am starting to > think that we should do the same for blas/lapack, that's also how R > does > it by default, and I am so tired of seeing the same errors coming > again > and again

Re: [Numpy-discussion] ValueError: setting an array element with sequence.

2008-09-16 Thread Alan G Isaac
On 9/16/2008 11:05 AM Lisa Delgado apparently wrote: > I had previously run a program successfully when using numpy 1.1.0. I just > downloaded the Enthought Python Distribution, which has numpy 1.0.4 and am now > having problems running my program. I get the following error. > > Traceback (most re

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread David Cournapeau
Francis wrote: > You are right. I have recompiled everything with gfortran, but now I > get the following error when I try to import numpy: undefined symbol: > _gfortran_concat_string. This means something at some point was not built with gfortran, or that you did not use gfortran to build numpy.

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread Francis
You are right. I have recompiled everything with gfortran, but now I get the following error when I try to import numpy: undefined symbol: _gfortran_concat_string. I have build a while ago sage-math (where everything is build locally), but I delete it since it was over 1GB and I am only interested

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Andrew Dalke
On Sep 14, 2008, at 1:00 AM, Jarrod Millman wrote: > Please test this release ASAP and let us know if there are any > problems. If there are no show stoppers, this will become the > 1.2.0 release. Running on OS X 10.4 , testing with 'import numpy; numpy.test()' Ran 1726 tests in 7.544s OK (KNOW

[Numpy-discussion] ValueError: setting an array element with a sequence.

2008-09-16 Thread Lisa Delgado
Hi, I had previously run a program successfully when using numpy 1.1.0. I just downloaded the Enthought Python Distribution, which has numpy 1.0.4 and am now having problems running my program. I get the following error. Traceback (most recent call last): File "/Users/Lisa/Documents/Dissertatio

Re: [Numpy-discussion] math directive, rest files and sphinx

2008-09-16 Thread Stéfan van der Walt
2008/9/16 David Cournapeau <[EMAIL PROTECTED]>: >> I expanded the mathml module in the reference guide source to handle >> constructs as they came up. I never did try to do matrices, though, >> so it's quite likely that it hasn't been implemented. > > Does that mean you have to implement latex par

Re: [Numpy-discussion] math directive, rest files and sphinx

2008-09-16 Thread David Cournapeau
Hi Stéfan Stéfan van der Walt wrote: > > I expanded the mathml module in the reference guide source to handle > constructs as they came up. I never did try to do matrices, though, > so it's quite likely that it hasn't been implemented. > Does that mean you have to implement latex parsing by your

Re: [Numpy-discussion] Help speeding up element-wise operations for video processing

2008-09-16 Thread David Huard
Brendan, Not sure if I understand correctly what you want, but ... Numpy vector operations are performed in C, so there will be an iteration over the array elements. For parallel operations over all pixels, you'd need a package that talks to your GPU, such as pyGPU. I've never tried it and if yo

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Francesc Alted
A Tuesday 16 September 2008, Charles R Harris escrigué: > On Tue, Sep 16, 2008 at 6:54 AM, Francesc Alted <[EMAIL PROTECTED]> wrote: > > A Sunday 14 September 2008, Jarrod Millman escrigué: > > > Hello, > > > > > > The 1.2.0rc2 is now available: > > > http://svn.scipy.org/svn/numpy/tags/1.2.0rc2 >

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Charles R Harris
On Tue, Sep 16, 2008 at 6:54 AM, Francesc Alted <[EMAIL PROTECTED]> wrote: > A Sunday 14 September 2008, Jarrod Millman escrigué: > > Hello, > > > > The 1.2.0rc2 is now available: > > http://svn.scipy.org/svn/numpy/tags/1.2.0rc2 > > > > The source tarball is here: > > https://cirl.berkeley.edu/num

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-16 Thread Francesc Alted
A Sunday 14 September 2008, Jarrod Millman escrigué: > Hello, > > The 1.2.0rc2 is now available: > http://svn.scipy.org/svn/numpy/tags/1.2.0rc2 > > The source tarball is here: > https://cirl.berkeley.edu/numpy/numpy-1.2.0rc2.tar.gz > > Here is the universal Mac binary: > https://cirl.berkeley.edu/n

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread David Cournapeau
Francis wrote: > > > ATLAS version 3.8.2 built by francisd on Mon Sep 15 15:20:08 BST 2008: >UNAME: Linux red-67 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 > EDT 2008 x86_64 x86_64 x86_64 GNU/Linux >INSTFLG : -1 0 -a 1 >ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_PIII -DATL_CPUMHZ=2500 - >

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread Francis
On 16 Sep, 10:18, David Cournapeau <[EMAIL PROTECTED]> wrote: > Francis wrote: > > > I don't really need Python2.5. Python2.4 is actually available on the > > network but I think I will run into problems using the network one and > > try using local libraries. > > No, it is perfectly supported (I d

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread David Cournapeau
Francis wrote: > > I don't really need Python2.5. Python2.4 is actually available on the > network but I think I will run into problems using the network one and > try using local libraries. No, it is perfectly supported (I do it all the time, even on my own machines where I have root rights). You

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread Francis
> Do you really need python 2.5 ? By building your own python, you are > forcing yourself to build every package you will need for python, > including the dependencies. For matplotlib, it will be painful. Python > 2.4 is enough (incidentally, I have to use Centos 5 at some place, on > the same arch

Re: [Numpy-discussion] Help speeding up element-wise operations for video processing

2008-09-16 Thread Stéfan van der Walt
Hi Brendan 2008/9/16 brendan simons <[EMAIL PROTECTED]>: > #interpolate the green pixels from the bayer filter image ain > g = greenMask * ain > gi = g[:-2, 1:-1].astype('uint16') > gi += g[2:, 1:-1] > gi += g[1:-1, :-2] > gi += g[1:-1, 2:] > gi /= 4 > gi += g[1:-1, 1:-1] > return gi I may be com

Re: [Numpy-discussion] math directive, rest files and sphinx

2008-09-16 Thread Stéfan van der Walt
Hi David 2008/9/16 David Cournapeau <[EMAIL PROTECTED]>: > I managed to get further, but I don't get what I want. A minimal latex > code which has the problem is the following > > .. math:: \begin{matrix}x \\ y \end{array} > > This shows correctly with latex, but not with html (which shows xy > in

Re: [Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-16 Thread David Cournapeau
Francis Drossaert wrote: > Hi everybody, > > I am trying to install python2.5/scipy/numpy/sympy/matplotlib locally, > because of various reasons. I am not root. Do you really need python 2.5 ? By building your own python, you are forcing yourself to build every package you will need for python, in