[SciPy-Dev] ANN: SciPy 0.11.0 release candidate 2

Samuel John scipy at samueljohn.de
Tue Aug 14 10:53:14 EDT 2012


Great work so far, really looking forward to this release!

FAILED (KNOWNFAIL=12, SKIP=27, failures=66)

On 13.08.2012, at 20:30, Ralf Gommers <ralf.gommers at gmail.com> wrote:
[...]
> release candidate of SciPy 0.11.0.

On OS X 10.8 here with `brew install python` and using gfortran 4.7.0 built from source with gfortran.
I compiled python and numpy with clang using latest Xcode.
Numpy tests all pass.

For scipy, I get quite a lot of these arpack symmetric_modes precision failures:

FAIL: test_arpack.test_symmetric_modes(True, <gen-symmetric>, 'd', 2, 'SA', None, 0.5, <function asarray at 0x10650be60>, None, 'buckling')
----------------------------------------------------------------------
[snip ]
AssertionError: 
Not equal to tolerance rtol=4.44089e-13, atol=4.44089e-13
error for eigsh:general, typ=d, which=SA, sigma=0.5, mattype=asarray, OPpart=None, mode=buckling
(mismatch 100.0%)
x: array([[ 15.86892331,   0.0549568 ],
      [ 14.15864153,   0.31381369],
      [ 10.99691307,   0.37543458],...
y: array([[ 3.19549052,  0.0549568 ],
      [ 2.79856422,  0.31381369],
      [ 1.67526354,  0.37543458],...


Not sure how severe that is.

Note: I had to add '-mno-avx' to numpy's extra_flags because '-march=native' lead gcc to spit out avx assembly code, which is not understood by Apple's assembler.
But that does not seem to be related, to the arpack mismatch issues.

The remaining 3 failues:

======================================================================
FAIL: test_qz_double_sort (test_decomp.TestQZ)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/tests/test_decomp.py", line 1728, in test_qz_double_sort
   [  0.    ,   0.    ,   0.    , -12.8217]]), 4)
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal
   header=('Arrays are not almost equal to %d decimals' % decimal))
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 636, in assert_array_compare
   raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 4 decimals

(mismatch 18.75%)
x: array([[  3.57864105e+01,   8.09060561e+01,  -1.20629018e+01,
        -9.49804357e+00],
      [  0.00000000e+00,   2.76377218e+00,   2.35052177e+00,...
y: array([[  3.57864000e+01,  -8.09061000e+01,  -1.20629000e+01,
        -9.49800000e+00],
      [  0.00000000e+00,   2.76380000e+00,  -2.35050000e+00,...


======================================================================
FAIL: test_stats.test_ttest_ind
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
   self.test(*self.arg)
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/stats/tests/test_stats.py", line 1556, in test_ttest_ind
   assert_array_almost_equal([t,p],(tr,pr))
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal
   header=('Arrays are not almost equal to %d decimals' % decimal))
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 636, in assert_array_compare
   raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 6 decimals

(mismatch 50.0%)
x: array([ 1.09127469,  0.4998416 ])
y: array([ 1.09127469,  0.27647819])

======================================================================
FAIL: test_stats.test_ttest_ind_with_uneq_var
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
   self.test(*self.arg)
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/stats/tests/test_stats.py", line 1596, in test_ttest_ind_with_uneq_var
   assert_array_almost_equal([t,p], [tr, pr])
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal
   header=('Arrays are not almost equal to %d decimals' % decimal))
 File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 636, in assert_array_compare
   raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 6 decimals

(mismatch 50.0%)
x: array([-0.68649513,  0.81407518])
y: array([-0.68649513,  0.53619491])





More information about the SciPy-Dev mailing list