[Scipy-tickets] [SciPy] #533: BLAS-1 test failures on Ubuntu Gutsy AMD64

SciPy scipy-tickets@scipy....
Mon Nov 5 17:51:12 CST 2007


#533: BLAS-1 test failures on Ubuntu Gutsy AMD64
--------------------------+-------------------------------------------------
 Reporter:  rkern         |       Owner:  rkern
     Type:  defect        |      Status:  new  
 Priority:  normal        |   Milestone:  0.7  
Component:  scipy.linalg  |     Version:       
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 With numpy 1.0.4_rc1, scipy r3497, and the atlas3-base Ubuntu package:

 {{{

 >>> scipy.test()

 ...

 ======================================================================
 ERROR: check_complex_dotc (scipy.linalg.tests.test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/scipy-0.7.0.dev3497-py2.5-linux-x86_64.egg/scipy/linalg/tests/test_blas.py",
 line 83, in check_complex_dotc
     assert_almost_equal(f([3j,-4,3-4j],[2,3j,1]),3-14j)
 SystemError: NULL result without error in PyObject_Call

 ======================================================================
 ERROR: check_complex_dotu (scipy.linalg.tests.test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/scipy-0.7.0.dev3497-py2.5-linux-x86_64.egg/scipy/linalg/tests/test_blas.py",
 line 77, in check_complex_dotu
     assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
 SystemError: NULL result without error in PyObject_Call

 ======================================================================
 FAIL: check_asum (scipy.lib.tests.test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/scipy-0.7.0.dev3497-py2.5-linux-x86_64.egg/scipy/lib/blas/tests/test_blas.py",
 line 63, in check_asum
     assert_almost_equal(f([3,-4,5]),12)
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/numpy-1.0.4_rc1.dev4396-py2.5-linux-x86_64.egg/numpy/testing/utils.py",
 line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
 AssertionError:
 Items are not equal:
  ACTUAL: 0.0
  DESIRED: 12

 ======================================================================
 FAIL: check_dot (scipy.lib.tests.test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/scipy-0.7.0.dev3497-py2.5-linux-x86_64.egg/scipy/lib/blas/tests/test_blas.py",
 line 72, in check_dot
     assert_almost_equal(f([3,-4,5],[2,5,1]),-9)
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/numpy-1.0.4_rc1.dev4396-py2.5-linux-x86_64.egg/numpy/testing/utils.py",
 line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
 AssertionError:
 Items are not equal:
  ACTUAL: 0.0
  DESIRED: -9

 ======================================================================
 FAIL: check_nrm2 (scipy.lib.tests.test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/scipy-0.7.0.dev3497-py2.5-linux-x86_64.egg/scipy/lib/blas/tests/test_blas.py",
 line 83, in check_nrm2
     assert_almost_equal(f([3,-4,5]),math.sqrt(50))
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/numpy-1.0.4_rc1.dev4396-py2.5-linux-x86_64.egg/numpy/testing/utils.py",
 line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
 AssertionError:
 Items are not equal:
  ACTUAL: 0.0
  DESIRED: 7.0710678118654755

 ======================================================================
 FAIL: check_asum (scipy.linalg.tests.test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/scipy-0.7.0.dev3497-py2.5-linux-x86_64.egg/scipy/linalg/tests/test_blas.py",
 line 63, in check_asum
     assert_almost_equal(f([3,-4,5]),12)
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/numpy-1.0.4_rc1.dev4396-py2.5-linux-x86_64.egg/numpy/testing/utils.py",
 line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
 AssertionError:
 Items are not equal:
  ACTUAL: 0.0
  DESIRED: 12

 ======================================================================
 FAIL: check_dot (scipy.linalg.tests.test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/scipy-0.7.0.dev3497-py2.5-linux-x86_64.egg/scipy/linalg/tests/test_blas.py",
 line 72, in check_dot
     assert_almost_equal(f([3,-4,5],[2,5,1]),-9)
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/numpy-1.0.4_rc1.dev4396-py2.5-linux-x86_64.egg/numpy/testing/utils.py",
 line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
 AssertionError:
 Items are not equal:
  ACTUAL: 0.0
  DESIRED: -9

 ======================================================================
 FAIL: check_nrm2 (scipy.linalg.tests.test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/scipy-0.7.0.dev3497-py2.5-linux-x86_64.egg/scipy/linalg/tests/test_blas.py",
 line 89, in check_nrm2
     assert_almost_equal(f([3,-4,5]),math.sqrt(50))
   File "/opt/virtualenvs/sloth/lib/python2.5/site-
 packages/numpy-1.0.4_rc1.dev4396-py2.5-linux-x86_64.egg/numpy/testing/utils.py",
 line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
 AssertionError:
 Items are not equal:
  ACTUAL: 0.0
  DESIRED: 7.0710678118654755

 ----------------------------------------------------------------------
 Ran 1794 tests in 3.907s

 FAILED (failures=6, errors=2)
 <unittest._TextTestResult run=1794 errors=2 failures=6>
 }}}


 All of the ATLAS tests from the package atlas3-test pass.

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/533>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list