[SciPy-user] FAIL: check_dot (scipy.linalg.tests.test_blas.test_fblas1_simple)

Andrew Jaffe a.h.jaffe at gmail.com
Thu Nov 16 04:38:00 CST 2006


Hi All,

I still get these (related) errors. My setup is


Python 2.5
OS X 10.4.8 PPC
Numpy 1.0.1.dev3436
Scipy 0.5.2.dev2316
Latest xcode compilers with gcc_select 4.0.1
gnu fortran gfortran 4.2.0 20061007

on this platform, LAPACK/BLAS come from the altivec and accelerate framework

Does anyone else see this?

Andrew


Andrew Jaffe wrote:
> Hi All-
> 
> I get the following error with
> 
> scipy.__version__ = '0.5.0.2121'
> 
> on PPC OSX 2.4.3 Universal Build with numpy 1.0.2889 (note that the 
> latter has a known longdouble problem, but I don't think that's 
> related). Indeed the fblas complex [c,z]dot[c,u] functions do seem to 
> fail. (In fact, zdotc([1,-4,3],[2,3,1]) hangs the interpreter...)
> 
> Andrew
> 
> 
> ======================================================================
> 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-0.5.0.2121-py2.4-macosx-10.3-fat.egg/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-1.0.2889-py2.4-macosx-10.3-fat.egg/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.9980511665344238+2.1130658899732593e-36j)
>   DESIRED: (-9+2j)
> 
> ======================================================================
> 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-0.5.0.2121-py2.4-macosx-10.3-fat.egg/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-1.0.2889-py2.4-macosx-10.3-fat.egg/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.9980511665344238+2.1996782422872647e-36j)
>   DESIRED: (-9+2j)



More information about the SciPy-user mailing list