Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-18 Thread Jonathan Taylor
Right... So I was able to get everything working finally. I am not 100% sure how or why it works though so I am going to outline what I did here for reference. I first tried just using LAPACK 3.1.1 (since it seemed set up for g77 instead of gfortran which I do not have). I compiled this to yield

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Keith Goodman
On Mon, Aug 17, 2009 at 2:27 PM, Jonathan Taylor wrote: > It seems to automatically detect it though.  Specifically > lapack_lite.so always seems to reference libatlas. > > On Mon, Aug 17, 2009 at 5:21 PM, Keith Goodman wrote: >> On Mon, Aug 17, 2009 at 2:13 PM, Jonathan >> Taylor wrote: >>> Is the

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Jonathan Taylor
It seems to automatically detect it though. Specifically lapack_lite.so always seems to reference libatlas. On Mon, Aug 17, 2009 at 5:21 PM, Keith Goodman wrote: > On Mon, Aug 17, 2009 at 2:13 PM, Jonathan > Taylor wrote: >> Is there some alternative to get a working numpy going?  How might I >>

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Keith Goodman
On Mon, Aug 17, 2009 at 2:13 PM, Jonathan Taylor wrote: > Is there some alternative to get a working numpy going?  How might I > go about compiling numpy without ATLAS?  I really got to get at least > something working temporarily. Just build numpy again but skip the ATLAS steps. _

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Jonathan Taylor
Yes... ATLAS type problems like matrix multiplication. Is there some alternative to get a working numpy going? How might I go about compiling numpy without ATLAS? I really got to get at least something working temporarily. Thanks, Jon. On Mon, Aug 17, 2009 at 5:03 PM, Keith Goodman wrote: > On

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Keith Goodman
On Mon, Aug 17, 2009 at 1:50 PM, Jonathan Taylor wrote: > I compiled lapack and atlas from scratch using g77 but now > numpy.test() hangs when I try to use any numpy functionality.  I think > I saw someone else write about this.  Is this a common problem? Yes, it seems common. I know of 4 recent A

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Jonathan Taylor
I compiled lapack and atlas from scratch using g77 but now numpy.test() hangs when I try to use any numpy functionality. I think I saw someone else write about this. Is this a common problem? Thanks, Jonathan. On Mon, Aug 17, 2009 at 4:38 PM, Charles R Harris wrote: > > > On Mon, Aug 17, 2009 a

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Charles R Harris
On Mon, Aug 17, 2009 at 1:43 PM, Jonathan Taylor < jonathan.tay...@utoronto.ca> wrote: > Hi, > > I am using a computer that is administered. It is an intel Ubuntu box > and came with an ATLAS compiled. I thus compiled my own numpy1.3.0 > against that ATLAS. > > I was thinking about recompiling A

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Jonathan Taylor
Hi, I am using a computer that is administered. It is an intel Ubuntu box and came with an ATLAS compiled. I thus compiled my own numpy1.3.0 against that ATLAS. I was thinking about recompiling ATLAS myself. This machine only has g77 and not gfortran on it. Will that still work? Thanks, Jona

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Charles R Harris
On Mon, Aug 17, 2009 at 11:42 AM, Jonathan Taylor < jonathan.tay...@utoronto.ca> wrote: > Hi, > > I am getting a strange crash in numpy.linalg.lstsq. I have put the code > that causes the crash along with two data files on my website at: > > http://www.cs.toronto.edu/~jtaylor/crash/

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Matthew Brett
Hi Jonathan, > http://www.cs.toronto.edu/~jtaylor/crash/ > > I would be interested to know if this bug can be duplicated and/or if anyone > has any suggestions as to why: > > import numpy as np > A = np.load('A.npy') > b = np.load('b.npy') > rc = np.linalg.lstsq(A,b) > > produces: > > *** glibc de

Re: [Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread josef . pktd
On Mon, Aug 17, 2009 at 1:42 PM, Jonathan Taylor wrote: > Hi, > > I am getting a strange crash in numpy.linalg.lstsq.  I have put the code > that causes the crash along with two data files on my website at: > > http://www.cs.toronto.edu/~jtaylor/crash/ > > I would be interested to know if this bug

[Numpy-discussion] Strange crash in numpy.linalg.lstsq.

2009-08-17 Thread Jonathan Taylor
Hi, I am getting a strange crash in numpy.linalg.lstsq. I have put the code that causes the crash along with two data files on my website at: http://www.cs.toronto.edu/~jtaylor/crash/ I would be interested to know if this bug can be duplicated and/or if anyone has any suggestions as to why: im