[SciPy-user] issue with scipytest on Mac OS X core 2 duo

Srinath Vadlamani srinath at txcorp.com
Sun Jan 21 15:53:41 CST 2007


I don't know the best way to reply when I have the announcements in 
digest form.  So I will recap my scipy test issues:
1) Machine: MacBook Pro Core 2 Duo 2.16GHz
2)GCC: 4.0.1 (darwin build)
3)python: MacPython2.4 (tried 2.5 but then read that 2.4 is a more 
complete build)
4)Numpy: svn co
5)gfortran:4.3
6)g77:GNU Fortran (GCC) 3.4.0 (from hcp)
7)fftw: 3.1.3
8)scipy: svn co

So numpy now builds after reinstalling gcc from xcode.  And fftw built 
and installed.
Privious errors as before:
========================
======================================================================
ERROR: check_simple_todense (scipy.io.tests.test_mmio.test_mmio_coordinate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/io/tests/test_mmio.py", 
line 151, in check_simple_todense
    b = mmread(fn).todense()
AttributeError: 'numpy.ndarray' object has no attribute 'todense'

======================================================================
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: 3.4021356382745012e-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: 3.4046969876595327e-37j
 DESIRED: (-9+2j)

----------------------------------------------------------------------
Ran 1470 tests in 2.116s

FAILED (failures=2, errors=1)
<unittest.TextTestRunner object at 0x3009df0>
========================================
Thanks for any help.

Srinath V.

-- 
==========================================================
Srinath Vadlamani			srinath at txcorp.com
Tech-X Corp.				o:303-996-2034
5621 Arapahoe Ave. Suite A		f:303-448-7756
Boulder, CO 80303			
==========================================================



More information about the SciPy-user mailing list