[SciPy-user] test failures on os x

Warren Weckesser warren.weckesser@gmail....
Mon Apr 21 10:29:34 CDT 2008


I recently ran into the "check_dot" failure in Mac OSX 10.4.  The bug was
fixed after 0.6.0 was
released, so the "solution" was to get the source code from subversion.  (It
was also recommended
to get the latest numpy to with it, but I was able to get what I needed
working with the stable numpy
release.)

Scipy devs:  Do you do stable point releases, e.g. 0.6.1?

On Mon, Apr 21, 2008 at 9: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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080421/f817360b/attachment-0001.html 


More information about the SciPy-user mailing list