Re: [Numpy-discussion] core library structure

2011-02-04 Thread Darren Dale
On Fri, Feb 4, 2011 at 2:23 PM, Lluís wrote: > Darren Dale writes: > >> With generic functions, you wouldn't have to remember to use the ufunc >> provided by masked array for one type, or the default numpy for >> another type. > > Sorry, but I don't see how generic functions should be a better app

Re: [Numpy-discussion] core library structure

2011-02-04 Thread Lluís
Darren Dale writes: > With generic functions, you wouldn't have to remember to use the ufunc > provided by masked array for one type, or the default numpy for > another type. Sorry, but I don't see how generic functions should be a better approach compared to redefining methods on masked_array [1

Re: [Numpy-discussion] Complex matrix seg fault

2011-02-04 Thread Dag Sverre Seljebotn
On 02/04/2011 03:13 PM, Jonathan Tu wrote: > Hi, > > When I run the following code, I get a seg fault on certain cluster nodes, > but not others: > Is it a homogenous cluster or not? Try to look for differences in /proc/cpuinfo between crashing and non-crashing nodes, in particular in the f

[Numpy-discussion] Complex matrix seg fault

2011-02-04 Thread Jonathan Tu
Hi, When I run the following code, I get a seg fault on certain cluster nodes, but not others: >>> import numpy as N >>> A = N.random.rand(262144,10)+1j*N.random.rand(262144,10) >>> x = N.random.rand(262144,) >>> d, res, rank, s = N.linalg.lstsq( A, x ) My numpy is configured as such: lapack_o