Re: [Numpy-discussion] numpy + MKL problems

2012-03-16 Thread Glen Jenness
None of that-this is why it has been so frustrating! Only thing I did was remove the folders in the ./build directory in order to get a cleaner slate, and just changed a couple libraries in site.cfg, and got the error, and it persisted even when I went back to the libraries I had given it when I g

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-16 Thread Matthew Brett
Hi, On Fri, Mar 16, 2012 at 5:36 AM, wrote: > On Fri, Mar 16, 2012 at 2:10 AM, Ilan Schnell wrote: >> I just did a quick test across all supported EPD platforms: >> win-64: float96 No, float128 No >> win-32: float96 No, float128 No >> osx-64: float96 No, float128 Yes >> osx-32: float96 No, floa

Re: [Numpy-discussion] numpy + MKL problems

2012-03-16 Thread Francesc Alted
On Mar 16, 2012, at 8:28 PM, Glen Jenness wrote: > Fransesc, > I don't think that's the problem-I'm working with a version of numpy I had > downloaded back in Dec/Jan and have not updated it since. > > However, doing a "LD_PRELOAD" seems to have fixed the problem, but now > whenever I'm running

Re: [Numpy-discussion] numpy + MKL problems

2012-03-16 Thread Glen Jenness
Fransesc, I don't think that's the problem-I'm working with a version of numpy I had downloaded back in Dec/Jan and have not updated it since. However, doing a "LD_PRELOAD" seems to have fixed the problem, but now whenever I'm running a script I get: python 2.4.3 GCC 4.1.2 20070626 (Red Hat 4.1.

Re: [Numpy-discussion] numpy + MKL problems

2012-03-16 Thread Francesc Alted
On Mar 16, 2012, at 8:00 PM, Glen Jenness wrote: > Dear users, > I was playing around with my numpy configuration, and it is now no longer > working. Whenever I try to run anything with it, I get: > > ...MKL FATAL ERROR: /opt/intel/mkl/10.0.3.020/lib/em64t/: cannot read file > data: Is a direc

[Numpy-discussion] numpy + MKL problems

2012-03-16 Thread Glen Jenness
Dear users, I was playing around with my numpy configuration, and it is now no longer working. Whenever I try to run anything with it, I get: ...MKL FATAL ERROR: /opt/intel/mkl/10.0.3.020/lib/em64t/: cannot read file data: Is a directory My site.cfg file is (in case it helps!): [DEFAULT] library

Re: [Numpy-discussion] unique along axis?

2012-03-16 Thread Ralf Gommers
On Mon, Mar 12, 2012 at 8:04 PM, Neal Becker wrote: > I see unique does not take an axis arg. > > Suggested way to apply unique to each column of a 2d array? > A for-loop? I'm guessing that there isn't an axis keyword because the number of unique elements per column may not be the same, so you

Re: [Numpy-discussion] remove redundant dimension in a ndarray?

2012-03-16 Thread Derek Homeier
Dear Chao, > Do we have a function in numpy that can automatically "shrink" a ndarray with > redundant dimension? > > like I have a ndarray with shape of (13,1,1,160,1), now I have written a > small function to change the array to dimension of (13,160) [reduce the extra > dimension with length

[Numpy-discussion] remove redundant dimension in a ndarray?

2012-03-16 Thread Chao YUE
Dear all, Do we have a function in numpy that can automatically "shrink" a ndarray with redundant dimension? like I have a ndarray with shape of (13,1,1,160,1), now I have written a small function to change the array to dimension of (13,160) [reduce the extra dimension with length as 1]. but I ju

Re: [Numpy-discussion] draft enum NEP

2012-03-16 Thread Bryan Van de Ven
Hi all, I have spent some time thinking about things, and discussing them with folks nearby. I actually got to wondering whether we really need new dtypes for this. It seems like enumerated values or factor levels could be cast as an annotation or metadata that could be attached to any existin

Re: [Numpy-discussion] draft enum NEP

2012-03-16 Thread Nathaniel Smith
On Mar 16, 2012 1:02 AM, "Stéfan van der Walt" @ sun.ac.za > wrote: > > On Thu, Mar 15, 2012 at 4:02 PM, Nathaniel Smith @ pobox.com > wrote: > > I'm not sure what it would even mean to treat this kind of data as > > "flags", since you can't take the bitwise-or of two strings... > > This makes a m

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-16 Thread josef . pktd
On Fri, Mar 16, 2012 at 2:10 AM, Ilan Schnell wrote: > I just did a quick test across all supported EPD platforms: > win-64: float96 No, float128 No > win-32: float96 No, float128 No > osx-64: float96 No, float128 Yes > osx-32: float96 No, float128 Yes > rh3-64: float96 No, float128 Yes > rh3-32:

Re: [Numpy-discussion] Commit PR 229 breaks build

2012-03-16 Thread Charles R Harris
On Fri, Mar 16, 2012 at 1:44 AM, Ralf Gommers wrote: > > > On Fri, Mar 16, 2012 at 12:45 AM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> On my machines anyway. >> >> Running from numpy source directory. >> non-existing path in 'numpy/distutils': 'site.cfg' >> F2PY Version 2 >> nump

[Numpy-discussion] Minus zero

2012-03-16 Thread Mads Ipsen
Here's an array a = [[ -2.66453526e-15, 4.49564793e-02, 1.14401980e+00], [ 2.02475000e+00, 2.06970648e+00, 1.14401980e+00], [ 2.02475000e+00, 4.49564793e-02, 3.16876980e+00], [ -2.66453526e-15, 2.06970648e+00, 3.16876980e+00], [ -2.66453526e-15, 4.49564793e

Re: [Numpy-discussion] Commit PR 229 breaks build

2012-03-16 Thread Ralf Gommers
On Fri, Mar 16, 2012 at 12:45 AM, Charles R Harris < charlesr.har...@gmail.com> wrote: > On my machines anyway. > > Running from numpy source directory. > non-existing path in 'numpy/distutils': 'site.cfg' > F2PY Version 2 > numpy/core/setup_common.py:86: MismatchCAPIWarning: API mismatch detected