[Numpy-discussion] Numpy 1.5.1 test failures
Mark Dixon
m.c.dixon@leeds.ac...
Wed Mar 16 11:26:58 CDT 2011
Hi,
Sorry if this is a noob question, but I've been trying to install Numpy
for a while now and I keep having problems getting it to pass the test
suite.
I'm on a RHEL5 system, building against Python 2.6.5 (self-built
with GCC 4.1.2), gfortran 4.1.2 and MKL 10.3 Update 2 (shipped with Intel
compiler 2011.2.137).
I'm failing the following tests (see below for full output):
FAIL: test_complex (test_numeric.TestCorrelate)
FAIL: test_complex (test_numeric.TestCorrelateNew)
The imaginary components for the results of test_numeric.TestCorrelateNew
have the correct magnitude but the wrong sign, and
test_numeric.TestCorrelate is just wrong wrong wrong.
Is this a known issue? searching for test_complex in the mail archive
didn't find anything.
Thanks,
Mark
--
-----------------------------------------------------------------
Mark Dixon Email : m.c.dixon@leeds.ac.uk
HPC/Grid Systems Support Tel (int): 35429
Information Systems Services Tel (ext): +44(0)113 343 5429
University of Leeds, LS2 9JT, UK
-----------------------------------------------------------------
======================================================================
FAIL: test_complex (test_numeric.TestCorrelate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nobackup/issmcd/pybuild2.6.5/lib/python2.6/site-packages/numpy/testing/decorators.py", lin e 257, in _deprecated_imp
f(*args, **kwargs)
File "/nobackup/issmcd/pybuild2.6.5/lib/python2.6/site-packages/numpy/core/tests/test_numeric.py" , line 942, in test_complex
assert_array_almost_equal(z, r_z)
File "/nobackup/issmcd/pybuild2.6.5/lib/python2.6/site-packages/numpy/testing/utils.py", line 774 , in assert_array_almost_equal
header='Arrays are not almost equal')
File "/nobackup/issmcd/pybuild2.6.5/lib/python2.6/site-packages/numpy/testing/utils.py", line 618 , in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
(mismatch 100.0%)
x: array([ 1.14014444e-312 +2.83449967e-316j,
2.80975212e-316 +4.94065646e-324j,
2.81612043e-316 +2.81612082e-316j,...
y: array([ 3.+1.j, 6.+0.j, 8.-1.j, 9.+1.j, -1.-8.j, -4.-1.j])
======================================================================
FAIL: test_complex (test_numeric.TestCorrelateNew)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nobackup/issmcd/pybuild2.6.5/lib/python2.6/site-packages/numpy/core/tests/test_numeric.py" , line 963, in test_complex
assert_array_almost_equal(z, r_z)
File "/nobackup/issmcd/pybuild2.6.5/lib/python2.6/site-packages/numpy/testing/utils.py", line 774 , in assert_array_almost_equal
header='Arrays are not almost equal')
File "/nobackup/issmcd/pybuild2.6.5/lib/python2.6/site-packages/numpy/testing/utils.py", line 618 , in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
(mismatch 83.3333333333%)
x: array([ -4.00000000e+000 -1.00000000e+000j,
-5.00000000e+000 +8.00000000e+000j,
1.10000000e+001 +5.00000000e+000j,...
y: array([ -4.+1.j, -5.-8.j, 11.-5.j, 8.-1.j, 6.-0.j, 3.+1.j])
----------------------------------------------------------------------
Ran 3006 tests in 63.290s
FAILED (KNOWNFAIL=4, failures=2)
More information about the NumPy-Discussion
mailing list