[SciPy-dev] Verify check_dot failure for linux/gfortran

Tom Loredo loredo at astro.cornell.edu
Mon Dec 18 14:32:06 CST 2006


Hi folks,

I'm copying this part of a thread on 0.5.2 failures in OS X.
In that thread Robert Kern asks for verification of a test
failure on linux/gfortran; I thought it would have a better
chance of being noticed in a new thread.

-Tom

OS X failures for scipy-0.5.2 built with OS 10.4.8, Py-2.4.4, 
numpy-1.0.1, gcc-4 and gfortran (from hpc.sourceforge.net):

======================================================================
FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/lib/blas/tests/
test_blas.py", line 76, in check_dot
    assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/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.9988617897033691+5.4938433182077039e-37j)
 DESIRED: (-9+2j)

======================================================================
FAIL: check_dot (scipy.linalg.tests.test_blas.test_fblas1_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linalg/tests/test_blas.py", 
line 75, in check_dot
    assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/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.9988617897033691+5.4938289689114293e-37j)
 DESIRED: (-9+2j)

Robert Kern wrote:

The check_dot failures are more or less known. I think they may stem from
gfortran bugs as I think I recall non-Mac platforms with gfortran also giving
the same errors, but I could be wrong. If someone using Linux and gfortran could
verify (or repudiate), I would appreciate it.



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the Scipy-dev mailing list