[Numpy-discussion] numarray 1.4.1: Infinite loop during test

Todd Miller jmiller at stsci.edu
Sat Oct 29 05:11:07 CDT 2005


Edward C. Jones wrote:

> I have a PC with Debian unstable. I use Python 1.4.2. After installing 
> numarray 1.4.1, I ran the tests:
>
> >>> import numarray.testall as testall
> >>> testall.test()
> Testing numarray 1.4.1 on normal Python (2, 4, 2, 'final', 0) on 
> platform linux2
> numarray.numtest:                        2.89      ((0, 1205), (0, 1205))
> numarray.ieeespecial:                    0.07      (0, 86)
> numarray.records:                        0.05      (0, 48)
> numarray.strings:                        0.17      (0, 189)
> numarray.memmap:                         0.09      (0, 82)
> numarray.objects:                        0.14      (0, 105)
> numarray.memorytest:                     0.01      (0, 16)
> numarray.examples.convolve:              0.09      ((0, 20), (0, 20), 
> (0, 20), (0, 20))
> numarray.convolve:                       0.06      (0, 45)
> numarray.fft:                            0.11      (0, 75)
>
> After the above, nothing happens. "ps ax" show a lot of time being 
> used. Looks like an infinite loop. Process had to be killed.

I don't have access to a Debian system but some things come to mind:

a. The loop looks like it's in numarray.linear_algebra.

b. I changed numarray's setup to make the "config" command automatic for 
1.4.0.  That changes how the builtin lapack_lite module is 
configured/built which affects linear_algebra.

c. My impression is that debian builds numarray against external 
libraries so (b) shouldn't be the problem. 

Does the numarray tarball from source forge:

        
http://prdownloads.sourceforge.net/numpy/numarray-1.4.1.tar.gz?download

install and self-test OK using "python setup.py install"?

Regards,
Todd




More information about the Numpy-discussion mailing list