Re: [Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread David Cournapeau
Charles R Harris wrote: > > > On Wed, Jan 27, 2010 at 11:39 PM, David Cournapeau > mailto:da...@silveregg.co.jp>> wrote: > > Charles R Harris wrote: > > > > > > On Wed, Jan 27, 2010 at 6:20 PM, David Cournapeau > mailto:da...@silveregg.co.jp> > >

Re: [Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread Charles R Harris
On Wed, Jan 27, 2010 at 11:39 PM, David Cournapeau wrote: > Charles R Harris wrote: > > > > > > On Wed, Jan 27, 2010 at 6:20 PM, David Cournapeau > > wrote: > > > > josef.p...@gmail.com wrote: > > > Can we/someone add a warning

Re: [Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread David Cournapeau
Charles R Harris wrote: > > > On Wed, Jan 27, 2010 at 6:20 PM, David Cournapeau > wrote: > > josef.p...@gmail.com wrote: > > Can we/someone add a warning on the front page http://scipy.org/ > > (maybe under news for numpy

Re: [Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread Charles R Harris
On Wed, Jan 27, 2010 at 6:20 PM, David Cournapeau wrote: > josef.p...@gmail.com wrote: > > Can we/someone add a warning on the front page http://scipy.org/ > > (maybe under news for numpy download) about incompatibility of the > > binaries on sourceforge of scipy <=0.7.1 with numpy 1.4.0 ? > > It

Re: [Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread David Cournapeau
Jankins wrote: > Yes. I am using scipy.sparse.linalg.eigen.arpack. > > The exact output is: > > /usr/local/lib/python2.6/dist-packages/scipy/sparse/linalg/eigen/arpack/_arpack.so I need the output of ldd on this file, actually, i.e the output of "ldd /usr/local/lib/python2.6/dist-packages/scipy

Re: [Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread Jankins
Yes. I am using scipy.sparse.linalg.eigen.arpack. The exact output is: /usr/local/lib/python2.6/dist-packages/scipy/sparse/linalg/eigen/arpack/_arpack.so In fact, the matrix is from a directed graph with about 18,000 nodes and 41,000 edges. Actually, this matrix is the smallest one I used. Now

Re: [Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread josef . pktd
On Wed, Jan 27, 2010 at 8:38 PM, David Cournapeau wrote: > josef.p...@gmail.com wrote: > >> >> If you are also able to provide new scipy binaries, then at least the >> combination would be usable without intermittent import errors and >> crashes. > > The problem is that the new scipy would not be

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread David Cournapeau
Alan G Isaac wrote: > On 1/27/2010 8:56 PM, David Cournapeau wrote: >> one could make the argument that releasing the API would avoid >> having to port numpy "twice" (first to py3k with say numpy 1.5.0, then >> to the new API for numpy 2.0). But I am not sure it is a big change in >> practice ? >

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread Alan G Isaac
On 1/27/2010 8:56 PM, David Cournapeau wrote: > one could make the argument that releasing the API would avoid > having to port numpy "twice" (first to py3k with say numpy 1.5.0, then > to the new API for numpy 2.0). But I am not sure it is a big change in > practice ? OK, I misunderstood: I thoug

Re: [Numpy-discussion] [ANN] New open source project for labeled arrays

2010-01-27 Thread josef . pktd
On Wed, Jan 27, 2010 at 10:13 PM, Pierre GM wrote: > On Jan 27, 2010, at 9:10 PM, Keith Goodman wrote: >> I recently opened sourced one of my packages. It is a labeled array >> that I call larry. >> >> A two-dimensional larry, for example, contains a 2d NumPy array with >> labels on each row and c

Re: [Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread David Cournapeau
Jankins wrote: > I tried on Ubuntu 9.10-32bit, gcc version 4.4.1, . Here is the > information of show_config(): Sorry, I forgot an additional information, the exact atlas you are using. For example, assuming scipy is installed in /usr/local, I would need the output of /usr/local/lib/python2.6/

Re: [Numpy-discussion] [ANN] New open source project for labeled arrays

2010-01-27 Thread Keith Goodman
On Wed, Jan 27, 2010 at 7:13 PM, Pierre GM wrote: > On Jan 27, 2010, at 9:10 PM, Keith Goodman wrote: >> I recently opened sourced one of my packages. It is a labeled array >> that I call larry. >> >> A two-dimensional larry, for example, contains a 2d NumPy array with >> labels on each row and co

Re: [Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread Jankins
I tried on Ubuntu 9.10-32bit, gcc version 4.4.1, . Here is the information of show_config(): In [2]: scipy.show_config() umfpack_info: NOT AVAILABLE atlas_threads_info: NOT AVAILABLE blas_opt_info: libraries = ['f77blas', 'cblas', 'atlas'] library_dirs = ['/usr/lib'] define

Re: [Numpy-discussion] [ANN] New open source project for labeled arrays

2010-01-27 Thread Pierre GM
On Jan 27, 2010, at 9:10 PM, Keith Goodman wrote: > I recently opened sourced one of my packages. It is a labeled array > that I call larry. > > A two-dimensional larry, for example, contains a 2d NumPy array with > labels on each row and column. A larry can have any dimension. > > Alignment by l

Re: [Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread David Cournapeau
Jankins wrote: > Dear all, > > I am using scipy '0.8.0.dev6120'. And the scipy.sparse.eigen function > always produces error message. > > _Description:_ >linalg.eigen(A, k=6, M=None, sigma=None, which='LM', v0=None, > ncv=None, maxiter=None, tol=0, return_eigenvectors=True)_ Could you pr

Re: [Numpy-discussion] [ANN] New open source project for labeled arrays

2010-01-27 Thread Keith Goodman
On Wed, Jan 27, 2010 at 6:33 PM, Wes McKinney wrote: > On Wed, Jan 27, 2010 at 9:10 PM, Keith Goodman wrote: >> I recently opened sourced one of my packages. It is a labeled array >> that I call larry. >> >> A two-dimensional larry, for example, contains a 2d NumPy array with >> labels on each ro

Re: [Numpy-discussion] [ANN] New open source project for labeled arrays

2010-01-27 Thread Wes McKinney
On Wed, Jan 27, 2010 at 9:10 PM, Keith Goodman wrote: > I recently opened sourced one of my packages. It is a labeled array > that I call larry. > > A two-dimensional larry, for example, contains a 2d NumPy array with > labels on each row and column. A larry can have any dimension. > > Alignment b

[Numpy-discussion] [ANN] New open source project for labeled arrays

2010-01-27 Thread Keith Goodman
I recently opened sourced one of my packages. It is a labeled array that I call larry. A two-dimensional larry, for example, contains a 2d NumPy array with labels on each row and column. A larry can have any dimension. Alignment by label is automatic when you add (or subtract, multiply, divide) t

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread David Cournapeau
Alan G Isaac wrote: >>> On 1/27/2010 7:57 PM, David Cournapeau wrote: Guido explicitly asked not to break compatibility while staying under py3k, so we should try to do it once numpy has been ported to py3k (e.g. if numpy 1.5 still is not py3k compatible, do a 1.6 before a 2.0 -

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread Alan G Isaac
>> On 1/27/2010 7:57 PM, David Cournapeau wrote: >>> Guido explicitly asked not to break compatibility while staying under >>> py3k, so we should try to do it once numpy has been ported to py3k (e.g. >>> if numpy 1.5 still is not py3k compatible, do a 1.6 before a 2.0 - >>> iterate if necessary:)

[Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread Jankins
Dear all, I am using scipy '0.8.0.dev6120'. And the scipy.sparse.eigen function always produces error message. _Description:_ linalg.eigen(A, k=6, M=None, sigma=None, which='LM', v0=None, ncv=None, maxiter=None, tol=0, return_eigenvectors=True)_ Error messages:_ When I use this functi

Re: [Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread David Cournapeau
josef.p...@gmail.com wrote: > > If you are also able to provide new scipy binaries, then at least the > combination would be usable without intermittent import errors and > crashes. The problem is that the new scipy would not be usable with older numpy. That's why breaking the ABI is so painful

Re: [Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread josef . pktd
On Wed, Jan 27, 2010 at 8:20 PM, David Cournapeau wrote: > josef.p...@gmail.com wrote: >> Can we/someone add a warning on the front page http://scipy.org/ >> (maybe under news for numpy download) about incompatibility of the >> binaries on sourceforge of scipy <=0.7.1 with numpy 1.4.0 ? > > It see

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread David Cournapeau
Alan G Isaac wrote: > On 1/27/2010 7:57 PM, David Cournapeau wrote: >> Guido explicitly asked not to break compatibility while staying under >> py3k, so we should try to do it once numpy has been ported to py3k (e.g. >> if numpy 1.5 still is not py3k compatible, do a 1.6 before a 2.0 - >> iterate i

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread Alan G Isaac
On 1/27/2010 7:57 PM, David Cournapeau wrote: > Guido explicitly asked not to break compatibility while staying under > py3k, so we should try to do it once numpy has been ported to py3k (e.g. > if numpy 1.5 still is not py3k compatible, do a 1.6 before a 2.0 - > iterate if necessary:) ). This s

Re: [Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread David Cournapeau
josef.p...@gmail.com wrote: > Can we/someone add a warning on the front page http://scipy.org/ > (maybe under news for numpy download) about incompatibility of the > binaries on sourceforge of scipy <=0.7.1 with numpy 1.4.0 ? It seems that it will be quite difficult to fix the issue without remov

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread David Cournapeau
Bruce Southey wrote: > On Tue, Jan 26, 2010 at 11:02 PM, David Cournapeau > wrote: >> Charles R Harris wrote: >> >>> Whatever we do, it would be good to figure out some way to avoid this >>> problem in the future. We could hide access to the array, for instance. >>> But again, that would require a

Re: [Numpy-discussion] [IPython-dev] glumpy, fast opengl visualization

2010-01-27 Thread Rohit Garg
Looks like the license change is done. http://code.google.com/p/glumpy/source/detail?r=79a5429ef1d5c57c5f97276bb39340ed1b808f9e On Tue, Jan 26, 2010 at 5:41 AM, Fernando Perez wrote: > Hi Nicolas, > > On Mon, Jan 25, 2010 at 2:46 AM, Nicolas Rougier > wrote: >> >> >> Hello, >> >> This is an upd

[Numpy-discussion] np.ma.apply_along_axis mask propagation

2010-01-27 Thread Angus McMorland
Hi all, I'm having an issue with np.ma.apply_along_axis not propagating a mask correctly. This code-snippet should hopefully show what's happening: import numpy as np xy = np.random.random(size=(5,2)) mask = np.tile(np.array([True] * 3 + [False] * 2)[:,None], (1,2)) xyma = np

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread Bruce Southey
On Tue, Jan 26, 2010 at 11:02 PM, David Cournapeau wrote: > Charles R Harris wrote: > >> >> Whatever we do, it would be good to figure out some way to avoid this >> problem in the future. We could hide access to the array, for instance. >> But again, that would require a lot of other code mods. Hm

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread Charles R Harris
On Wed, Jan 27, 2010 at 1:48 AM, Dag Sverre Seljebotn < da...@student.matnat.uio.no> wrote: > Charles R Harris wrote: > > > > > > On Tue, Jan 26, 2010 at 10:02 PM, David Cournapeau > > mailto:da...@silveregg.co.jp>> wrote: > > > > Charles R Harris wrote: > > > > > > > > Whatever we do,

[Numpy-discussion] Warning on http://scipy.org/ about binary incompatibility ?

2010-01-27 Thread josef . pktd
Can we/someone add a warning on the front page http://scipy.org/ (maybe under news for numpy download) about incompatibility of the binaries on sourceforge of scipy <=0.7.1 with numpy 1.4.0 ? It would avoid that users have to find it out for themselves and reduce questions on the mailing list. An

Re: [Numpy-discussion] glumpy, fast opengl visualization

2010-01-27 Thread Gregor Thalhammer
2010/1/25 Nicolas Rougier : > > > Hello, > > This is an update about glumpy, a fast-OpenGL based numpy visualization. > I modified the code such that the only dependencies are PyOpenGL and > IPython (for interactive sessions). You will also need matplotlib and > scipy for some demos. > > Sources: h

Re: [Numpy-discussion] Fixing numpy 1.4.0 ABI breakage, and a plea for self-contained, small commits

2010-01-27 Thread Dag Sverre Seljebotn
Charles R Harris wrote: > > > On Tue, Jan 26, 2010 at 10:02 PM, David Cournapeau > mailto:da...@silveregg.co.jp>> wrote: > > Charles R Harris wrote: > > > > > Whatever we do, it would be good to figure out some way to avoid > this > > problem in the future. We could hide access