[SciPy-user] test failures on os x

Joshua Lippai discerptor@gmail....
Mon Apr 21 11:11:57 CDT 2008


That looks like it was built with MacPorts. You might want to inform
them, since from the looks of the test output, it looks like you're
using an older version of SciPy (that is, not current SVN; you'd be
getting a lot more errors with the current build, unfortunately). I've
never had an error show up relevant to the UMFPACK libraries in any
version of SciPy, so there's a good chance that the single precision
complex test failure might be due to something on the MacPorts side.

Josh

On Mon, Apr 21, 2008 at 6:59 AM, Gideon Simpson <grs2103@columbia.edu> wrote:
> finally got scipy running on os x 10.5.2, with gfortran 4.3, Apple
>  Python 2.5.1, and Apple gcc 4.0.1, but I'm getting the following test
>  errors:
>
>  ======================================================================
>  FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
>  ----------------------------------------------------------------------
>  Traceback (most recent call last):
>    File "/opt/lib/python2.5/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 "/opt/lib/python2.5/site-packages/numpy/testing/utils.py",
>  line 158, in assert_almost_equal
>      assert round(abs(desired - actual),decimal) == 0, msg
>  AssertionError:
>  Items are not equal:
>   ACTUAL: 1.1081566907292542e-37j
>   DESIRED: (-9+2j)
>
>  ======================================================================
>  FAIL: Solve: single precision complex
>  ----------------------------------------------------------------------
>  Traceback (most recent call last):
>    File "/opt/lib/python2.5/site-packages/scipy/linsolve/umfpack/tests/
>  test_umfpack.py", line 32, in check_solve_complex_without_umfpack
>      assert_array_almost_equal(a*x, b)
>    File "/opt/lib/python2.5/site-packages/numpy/testing/utils.py",
>  line 232, in assert_array_almost_equal
>      header='Arrays are not almost equal')
>    File "/opt/lib/python2.5/site-packages/numpy/testing/utils.py",
>  line 217, in assert_array_compare
>      assert cond, msg
>  AssertionError:
>  Arrays are not almost equal
>
>  (mismatch 20.0%)
>   x: array([ 1.00000000+0.j,  1.99999809+0.j,  3.00000000+0.j,
>  4.00000048+0.j,
>          5.00000000+0.j], dtype=complex64)
>   y: array([1, 2, 3, 4, 5])
>
>  ----------------------------------------------------------------------
>  Ran 1725 tests in 4.014s
>
>  FAILED (failures=2)
>  <unittest._TextTestResult run=1725 errors=0 failures=2>
>
>  _______________________________________________
>  SciPy-user mailing list
>  SciPy-user@scipy.org
>  http://projects.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-user mailing list