I just built Numeric 24.0 and 24.1 against ATLAS on a 64 bit athlon system. I get the following error for both packages. python test.py ........E.................................... ====================================================================== ERROR: Test the diagonal function. ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 584, in testDiagonal assert_eq(Numeric.diagonal(c,1), [[2,7,4], [2,7,4]]) File "test.py", line 28, in assert_eq assert eq(a,b) File "test.py", line 23, in eq raise ValueError("sequences have different shapes:\na%s=%r\nb%s=%r" % ValueError: sequences have different shapes: a(4, 2)=array([[5, 1], [6, 2], [7, 3], [8, 4]]) b(2, 3)=[[2, 7, 4], [2, 7, 4]] I also get the following error when I run newscipy's test(5,10): bench_random (scipy.fftpack.basic.test_basic.test_fft) Fast Fourier Transform ================================================= | real input | complex input ------------------------------------------------- size | scipy | Numeric | scipy | Numeric ------------------------------------------------- 100 | 0.10Segmentation fault Has anyone else had a problem building Numeric-24.x on a 64-bit AMD system? Thanks, Darren
On Saturday 05 November 2005 07:31 pm, Darren Dale wrote:
I just built Numeric 24.0 and 24.1 against ATLAS on a 64 bit athlon system. [...] I also get the following error when I run newscipy's test(5,10):
bench_random (scipy.fftpack.basic.test_basic.test_fft) Fast Fourier Transform =================================================
| real input | complex input
------------------------------------------------- size | scipy | Numeric | scipy | Numeric ------------------------------------------------- 100 | 0.10Segmentation fault
I should have noted that I only get the segfault from Scipy with Numeric 24.1. Darren
Darren Dale wrote:
I just built Numeric 24.0 and 24.1 against ATLAS on a 64 bit athlon system. I get the following error for both packages.
python test.py ........E.................................... ====================================================================== ERROR: Test the diagonal function. ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 584, in testDiagonal assert_eq(Numeric.diagonal(c,1), [[2,7,4], [2,7,4]]) File "test.py", line 28, in assert_eq assert eq(a,b) File "test.py", line 23, in eq raise ValueError("sequences have different shapes:\na%s=%r\nb%s=%r" % ValueError: sequences have different shapes: a(4, 2)=array([[5, 1], [6, 2], [7, 3], [8, 4]]) b(2, 3)=[[2, 7, 4], [2, 7, 4]]
This error is a test problem not worth bothering with. The (>2d) diagonal function was always broken under Numeric. It was changed a while ago. The test is broken, but this doesn't mean anything is wrong with Numeric.
I also get the following error when I run newscipy's test(5,10):
bench_random (scipy.fftpack.basic.test_basic.test_fft) Fast Fourier Transform ================================================= | real input | complex input ------------------------------------------------- size | scipy | Numeric | scipy | Numeric -------------------------------------------------
100 | 0.10Segmentation fault
Curious. Did you rebuild scipy completely? -Travis
On Monday 07 November 2005 12:03 am, Travis Oliphant wrote:
I also get the following error when I run newscipy's test(5,10):
bench_random (scipy.fftpack.basic.test_basic.test_fft) Fast Fourier Transform =================================================
| real input | complex input
------------------------------------------------- size | scipy | Numeric | scipy | Numeric -------------------------------------------------
100 | 0.10Segmentation fault
Curious. Did you rebuild scipy completely?
Yes, in fact it was the first build on a new computer. I just removed my build/, and site-packages/scipy and Numeric/ directories, rebuilt and reinstalled Numeric 24.1 and newcore/newscipy and still observe the segfault. I also tried installing Scipy-0.3.2, which did not have a problem with Numeric-24.1. Darren
participants (2)
-
Darren Dale
-
Travis Oliphant