[SciPy-user] 4 test failures in test_odr for scipy svn 3371

George Nurser gnurser@googlemail....
Thu Sep 27 17:00:01 CDT 2007


I compiled latest svn version, using gcc 3.4.4 on RH Linux Opteron
64-bit, and intel fortran v9.1:
python setup.py config  --fcompiler=intelem build_clib
--fcompiler=intelem build_ext  --fcompiler=intelem install >& inst.log
&

I had modified numpy/distutils/intel.py so as to include -xW flag for
ifort, as recomended by Intel for the Opteron.

scipy.test(level=1) gave four failures, in:
test_explicit (scipy.tests.test_odr.test_odr,
test_lorentz (scipy.tests.test_odr.test_odr)
test_multi (scipy.tests.test_odr.test_odr)
test_pearson (scipy.tests.test_odr.test_odr)

--George Nurser.


======================================================================
FAIL: test_explicit (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/scipy/odr/tests/test_odr.py",
line 50, in test_explicit
    -8.7849712165253724e-02]),
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/numpy/testing/utils.py",
line 232, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/numpy/testing/utils.py",
line 217, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([  1.26462971e+03,  -5.42545890e+01,  -8.64250389e-02])
 y: array([  1.26465481e+03,  -5.40184100e+01,  -8.78497122e-02])

======================================================================
FAIL: test_lorentz (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/scipy/odr/tests/test_odr.py",
line 295, in test_lorentz
    3.7798193600109009e+00]),
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/numpy/testing/utils.py",
line 232, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/numpy/testing/utils.py",
line 217, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([  1.00000000e+03,   1.00000000e-01,   3.80000000e+00])
 y: array([  1.43067808e+03,   1.33905090e-01,   3.77981936e+00])

======================================================================
FAIL: test_multi (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/scipy/odr/tests/test_odr.py",
line 191, in test_multi
    0.5101147161764654,  0.5173902330489161]),
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/numpy/testing/utils.py",
line 232, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/numpy/testing/utils.py",
line 217, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([ 4. ,  2. ,  7. ,  0.4,  0.5])
 y: array([ 4.37998803,  2.43330576,  8.00288459,  0.51011472,  0.51739023])

======================================================================
FAIL: test_pearson (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/scipy/odr/tests/test_odr.py",
line 238, in test_pearson
    np.array([ 5.4767400299231674, -0.4796082367610305]),
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/numpy/testing/utils.py",
line 232, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/noc/users/agn/ext/AMD64/lib/python2.5/site-packages/numpy/testing/utils.py",
line 217, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([ 1.,  1.])
 y: array([ 5.47674003, -0.47960824])

----------------------------------------------------------------------
Ran 1771 tests in 4.373s

FAILED (failures=4)
<unittest._TextTestResult run=1771 errors=0 failures=4>


More information about the SciPy-user mailing list