[SciPy-user] SciPy with gcc4 and gfortran on OS X

Zachary Pincus zpincus at stanford.edu
Mon Apr 10 18:13:14 EDT 2006


Hi folks,

I just built the latest scipy svn version on a G5 with gfortran to  
see how things went.
Everything build OK, and the tests don't segfault, but all the  
problems I reported on my G4 persist. Specifically, some tests fail  
all the time and some fail sporadically (see below). Also, I still  
get the 'WARNING: clapack module is empty' message, which Robert  
informed me shouldn't be happening on OS X.

Oh well. Anything I can do to help sort out these issues?

Zach

TESTS WHICH FAIL ALL THE TIME
======================================================================
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 148, in  
assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
DESIRED: (-9+2j)
ACTUAL: (-1.9984917640686035-1.9984936714172363j)

======================================================================
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 148, in  
assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
DESIRED: (-9+2j)
ACTUAL: (-1.9984917640686035-1.9984936714172363j)


SPORADIC FAILURES
======================================================================
FAIL: check_expon (scipy.stats.tests.test_morestats.test_anderson)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy/stats/tests/test_morestats.py", line  
57, in check_expon
     assert_array_less(A, crit[-2:])
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy/testing/utils.py", line 255, in  
assert_array_less
     assert cond,\
AssertionError:
Arrays are not less-ordered (mismatch 100.0%):
         Array 1: 2.1501866413808912
         Array 2: [ 1.587               1.9339999999999999]


======================================================================
FAIL: check_normal (scipy.stats.tests.test_morestats.test_anderson)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy/stats/tests/test_morestats.py", line  
45, in check_normal
     assert_array_less(crit[:-1], A)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy/testing/utils.py", line 255, in  
assert_array_less
     assert cond,\
AssertionError:
Arrays are not less-ordered (mismatch 100.0%):
         Array 1: [ 0.538  0.613  0.736  0.858]
         Array 2: nan





More information about the SciPy-User mailing list