[SciPy-dev] Testfailures on AMD 64 bit, pathscale and ACML

Yves Frederix yves.frederix at gmail.com
Sun Feb 18 04:41:07 EST 2007


Hi,

I have compiled numpy/scipy on a 64bit AMD Opteron system using
pathscale and the ACML library. The numpy tests runs fine, but the scipy
test suite returns 20 failures. In attachment you can find the error
messages for scipy.test(1,10).

	0 u0050015 at lo-03-01 .../package $ python -c "import numpy; print 'numpy:',numpy.__version__; import scipy; print 'scipy:', scipy.__version__"
	numpy: 1.0.2.dev3546
	scipy: 0.5.3.dev2708


Cheers,
YVES
-------------- next part --------------
<snip>
check_definition (scipy.fftpack.tests.test_helper.test_fftshift) ... ok
check_inverse (scipy.fftpack.tests.test_helper.test_fftshift) ... ok
check_definition (scipy.fftpack.tests.test_helper.test_rfftfreq) ... ok
test_init (scipy.io.tests.test_npfile.test_npfile) ... ok
test_parse_endian (scipy.io.tests.test_npfile.test_npfile) ... ok
test_read_write_array (scipy.io.tests.test_npfile.test_npfile) ... ok
test_read_write_raw (scipy.io.tests.test_npfile.test_npfile) ... ok
test_remaining_bytes (scipy.io.tests.test_npfile.test_npfile) ... ok

======================================================================
FAIL: check_h1vp (scipy.special.tests.test_basic.test_h1vp)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1125, in check_h1vp
    assert_almost_equal(h1,h1real,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: (nan+nanj)
 DESIRED: (0.498126301704+63.0552722957j)

======================================================================
FAIL: check_h2vp (scipy.special.tests.test_basic.test_h2vp)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1132, in check_h2vp
    assert_almost_equal(h2,h2real,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: (nan+nanj)
 DESIRED: (0.498126301704-63.0552722957j)

======================================================================
FAIL: check_hankel1 (scipy.special.tests.test_basic.test_hankel1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1026, in check_hankel1
    assert_almost_equal(hank1,hankrl,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: (7.60802597223e-317+2.31778632931e-310j)
 DESIRED: (0.0499375260362-6.4589510947j)

======================================================================
FAIL: check_hankel2 (scipy.special.tests.test_basic.test_hankel2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1044, in check_hankel2
    assert_almost_equal(hank2,hankrl2,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: (7.60802597223e-317+2.31778632931e-310j)
 DESIRED: (0.0499375260362+6.4589510947j)

======================================================================
FAIL: check_i0e (scipy.special.tests.test_basic.test_i0e)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1217, in check_i0e
    assert_almost_equal(oize,oizer,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 0.907100925782
 DESIRED: 0.0

======================================================================
FAIL: check_i1e (scipy.special.tests.test_basic.test_i1e)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1239, in check_i1e
    assert_almost_equal(oi1e,oi1er,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 0.0452984468088
 DESIRED: 1.20947270102e-320

======================================================================
FAIL: check_ive (scipy.special.tests.test_basic.test_ive)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1280, in check_ive
    assert_almost_equal(ive1,iv1,10)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 0.0
 DESIRED: 0.907100925782

======================================================================
FAIL: check_jve (scipy.special.tests.test_basic.test_jve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1353, in check_jve
    assert_almost_equal(jvexp,0.099500832639235995,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 1.20947270102e-320
 DESIRED: 0.099500832639235995

======================================================================
FAIL: check_k0 (scipy.special.tests.test_basic.test_k0)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1431, in check_k0
    assert_almost_equal(ozk,ozkr,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 2.4270690247
 DESIRED: nan

======================================================================
FAIL: check_k0e (scipy.special.tests.test_basic.test_k0e)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1438, in check_k0e
    assert_almost_equal(ozke,ozker,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 2.68232610226
 DESIRED: nan

======================================================================
FAIL: check_k1 (scipy.special.tests.test_basic.test_k1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1445, in check_k1
    assert_almost_equal(o1k,o1kr,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 9.85384478087
 DESIRED: 1.20947270102e-320

======================================================================
FAIL: check_k1e (scipy.special.tests.test_basic.test_k1e)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1452, in check_k1e
    assert_almost_equal(o1ke,o1ker,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 10.890182683
 DESIRED: 1.20947270102e-320

======================================================================
FAIL: check_kv0 (scipy.special.tests.test_basic.test_kv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1590, in check_kv0
    assert_almost_equal(kv0, 1.7527038555281462, 10)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: nan
 DESIRED: 1.7527038555281462

======================================================================
FAIL: check_kv1 (scipy.special.tests.test_basic.test_kv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1593, in check_kv1
    assert_almost_equal(kv1, 4.775972543220472, 10)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 1.20947270102e-320
 DESIRED: 4.7759725432204716

======================================================================
FAIL: check_kv2 (scipy.special.tests.test_basic.test_kv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1596, in check_kv2
    assert_almost_equal(kv2, 49.51242928773287, 10)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 1.20947270102e-320
 DESIRED: 49.512429287732871

======================================================================
FAIL: check_kve (scipy.special.tests.test_basic.test_kve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1606, in check_kve
    assert_almost_equal(kve1,kv1,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: nan
 DESIRED: nan

======================================================================
FAIL: check_y0_zeros (scipy.special.tests.test_basic.test_y0_zeros)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 2139, in check_y0_zeros
    assert_array_almost_equal(abs(yv(1,all)-allval),0.0,11)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare
    assert cond, msg
AssertionError: 
Arrays are not almost equal

(mismatch 100.0%)
 x: array([ 0.8794208 ,  0.40254267,  0.88770329,  0.58789742])
 y: array(0.0)

======================================================================
FAIL: check_yve (scipy.special.tests.test_basic.test_yve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 2186, in check_yve
    assert_almost_equal(yve2,-3.3238249881118471,8)
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: 1.20947270102e-320
 DESIRED: -3.3238249881118471

======================================================================
FAIL: test_explicit (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/odr/tests/test_odr.py", line 49, in test_explicit
    np.array([  1.2646548050648876e+03,  -5.4018409956678255e+01,
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, 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_multi (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/scipy/odr/tests/test_odr.py", line 190, in test_multi
    np.array([ 4.3799880305938963,  2.4333057577497703,  8.0028845899503978,
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/apps/prod/python/modules/svn/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare
    assert cond, msg
AssertionError: 
Arrays are not almost equal

(mismatch 100.0%)
 x: array([ 4.31272063,  2.44289312,  7.76215871,  0.55995622,  0.46423343])
 y: array([ 4.37998803,  2.43330576,  8.00288459,  0.51011472,  0.51739023])

----------------------------------------------------------------------
Ran 1616 tests in 3.658s

FAILED (failures=20)


More information about the SciPy-Dev mailing list