[SciPy-dev] test_blas failures
Jarrod Millman
millman at berkeley.edu
Thu Aug 14 18:06:12 EDT 2008
I am getting test_blas failures on 64bit Linux, but not 32bit Linux.
Is anyone else seeing this? I would like to get these fixed before
releasing the 0.7.0b1.
>>> scipy.test()
Running unit tests for scipy
NumPy version 1.2.0.dev5629
NumPy is installed in /usr/lib64/python2.5/site-packages/numpy
SciPy version 0.7.0.dev4637
SciPy is installed in /usr/lib64/python2.5/site-packages/scipy
Python version 2.5.1 (r251:54863, Jul 10 2008, 17:25:56) [GCC 4.1.2
20070925 (Red Hat 4.1.2-33)]
nose version 0.10.3
<snip>
======================================================================
FAIL: test_asum (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/scipy/lib/blas/tests/test_blas.py",
line 60, in test_asum
assert_almost_equal(f([3,-4,5]),12)
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
ACTUAL: 0.0
DESIRED: 12
======================================================================
FAIL: test_dot (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/scipy/lib/blas/tests/test_blas.py",
line 69, in test_dot
assert_almost_equal(f([3,-4,5],[2,5,1]),-9)
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
ACTUAL: 0.0
DESIRED: -9
======================================================================
FAIL: test_nrm2 (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/scipy/lib/blas/tests/test_blas.py",
line 80, in test_nrm2
assert_almost_equal(f([3,-4,5]),math.sqrt(50))
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
ACTUAL: 0.0
DESIRED: 7.0710678118654755
======================================================================
FAIL: test_lapack.test_all_lapack
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/usr/lib64/python2.5/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 41, in check_syevr
assert_array_almost_equal(w,exact_w)
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 304, in assert_array_almost_equal
header='Arrays are not almost equal')
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 289, in assert_array_compare
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 33.3333333333%)
x: array([-0.66992444, 0.48769462, 9.18222713], dtype=float32)
y: array([-0.66992434, 0.48769389, 9.18223045])
======================================================================
FAIL: test_lapack.test_all_lapack
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/usr/lib64/python2.5/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 66, in check_syevr_irange
assert_array_almost_equal(w,exact_w[rslice])
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 304, in assert_array_almost_equal
header='Arrays are not almost equal')
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 289, in assert_array_compare
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 33.3333333333%)
x: array([-0.66992444, 0.48769462, 9.18222713], dtype=float32)
y: array([-0.66992434, 0.48769389, 9.18223045])
======================================================================
FAIL: test_asum (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/scipy/linalg/tests/test_blas.py",
line 61, in test_asum
assert_almost_equal(f([3,-4,5]),12)
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
ACTUAL: 0.0
DESIRED: 12
======================================================================
FAIL: test_complex_dotc (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/scipy/linalg/tests/test_blas.py",
line 81, in test_complex_dotc
assert_almost_equal(f([3j,-4,3-4j],[2,3j,1]),3-14j)
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
ACTUAL: (-1.7314232451453736e-32+8.8281803252463475e-44j)
DESIRED: (3-14j)
======================================================================
FAIL: test_complex_dotu (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/scipy/linalg/tests/test_blas.py",
line 75, in test_complex_dotu
assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
ACTUAL: (-1.7314232451453736e-32+8.8281803252463475e-44j)
DESIRED: (-9+2j)
======================================================================
FAIL: test_dot (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/scipy/linalg/tests/test_blas.py",
line 70, in test_dot
assert_almost_equal(f([3,-4,5],[2,5,1]),-9)
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
ACTUAL: 0.0
DESIRED: -9
======================================================================
FAIL: test_nrm2 (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/scipy/linalg/tests/test_blas.py",
line 87, in test_nrm2
assert_almost_equal(f([3,-4,5]),math.sqrt(50))
File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
ACTUAL: 0.0
DESIRED: 7.0710678118654755
----------------------------------------------------------------------
More information about the SciPy-Dev
mailing list