On Wed, Sep 5, 2012 at 6:57 PM, 心如烛光 <[email protected]> wrote:
> Hi,every body. > I encounter the error while the scipy is testing . > I wanna know why and how to fix it.(OSX lion 10.7.4) > here is part of the respond: > See http://thread.gmane.org/gmane.comp.python.scientific.devel/15289/focus=15297 Seems hard to fix. Using gfortran 4.4 is a workaround. Ralf > > 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],... > > ====================================================================== > FAIL: test_arpack.test_symmetric_modes(True, <gen-symmetric>, 'd', 2, > 'SA', None, 0.5, <function asarray at 0x10f5c2b90>, None, 'cayley') > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/case.py", line > 197, in runTest > self.test(*self.arg) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py", > line 249, in eval_evec > assert_allclose(LHS, RHS, rtol=rtol, atol=atol, err_msg=err) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", > line 1178, in assert_allclose > verbose=verbose, header=header) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", > line 644, in assert_array_compare > raise AssertionError(msg) > 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=cayley > (mismatch 100.0%) > x: array([[-0.36892684, -0.01935691], > [-0.26850996, -0.11053158], > [-0.40976156, -0.13223572],... > y: array([[-0.43633077, -0.01935691], > [-0.25161386, -0.11053158], > [-0.36756684, -0.13223572],... > > ---------------------------------------------------------------------- > Ran 5501 tests in 56.993s > > FAILED (KNOWNFAIL=13, SKIP=42, failures=76) > <nose.result.TextTestResult run=5501 errors=0 failures=76> > > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
