[SciPy-user] Different failures in scipy.test()
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Wed Oct 1 11:47:35 EDT 2003
Pearu Peterson schrieb:
>
> On Wed, 1 Oct 2003, Nils Wagner wrote:
>
> > Dear experts,
> >
> > I have observed different failures in scipy.test() on different
> > installations (python2.2, python2.3) with different versions of ATLAS.
> > What is the reason for that ?
>
> Could you include also the nature of these failures?
Yes.
>> scipy.__version__
'0.2.0__220.4275'
>>> Numeric.__version__
'23.0'
Python 2.2.2 (#1, Mar 17 2003, 15:17:58)
[GCC 3.3 20030226 (prerelease) (SuSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
BTW, Is it possible to dtermine the version of ATLAS in a similar way ?
======================================================================
FAIL: check_pro_ang1_cv (test_basic.test_cephes)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.2/site-packages/scipy/special/tests/test_basic.py",
line 357, in check_pro_ang1_cv
assert_equal(cephes.pro_ang1_cv(1,1,1,1,0),(1.0,0.0))
File "/usr/lib/python2.2/site-packages/scipy_test/testing.py", line
332, in assert_equal
assert desired == actual, msg
AssertionError:
Items are not equal:
DESIRED: (1.0, 0.0)
ACTUAL: (0.99999999999999989, 0.0)
----------------------------------------------------------------------
Ran 967 tests in 3.857s
FAILED (failures=1)
<unittest.TextTestRunner instance at 0x826c2ac>
#################################################################################################################
The same cvs version of scipy
but
>>> Numeric.__version__
'23.1'
======================================================================
FAIL: check_pro_ang1_cv (test_basic.test_cephes)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.2/site-packages/scipy/special/tests/test_basic.py",
line 357, in check_pro_ang1_cv
assert_equal(cephes.pro_ang1_cv(1,1,1,1,0),(1.0,0.0))
File "/usr/lib/python2.2/site-packages/scipy_test/testing.py", line
332, in assert_equal
assert desired == actual, msg
AssertionError:
Items are not equal:
DESIRED: (1.0, 0.0)
ACTUAL: (0.99999999999999989, 0.0)
======================================================================
FAIL: check_sh_chebyt (test_basic.test_sh_chebyt)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.2/site-packages/scipy/special/tests/test_basic.py",
line 1818, in check_sh_chebyt
assert_array_almost_equal(Ts5.c,tse5.c,12)
File "/usr/lib/python2.2/site-packages/scipy_test/testing.py", line
405, in assert_array_almost_equal
assert alltrue(ravel(reduced)),\
AssertionError:
Arrays are not almost equal:
======================================================================
FAIL: check_random_complex (test_decomp.test_cholesky)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.2/site-packages/scipy/linalg/tests/test_decomp.py",
line 280, in check_random_complex
assert_array_almost_equal(cholesky(a),c)
File "/usr/lib/python2.2/site-packages/scipy_test/testing.py", line
405, in assert_array_almost_equal
assert alltrue(ravel(reduced)),\
AssertionError:
Arrays are not almost equal:
======================================================================
FAIL: check_simple_complex (test_decomp.test_cholesky)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.2/site-packages/scipy/linalg/tests/test_decomp.py",
line 254, in check_simple_complex
assert_array_almost_equal(cholesky(a),c)
File "/usr/lib/python2.2/site-packages/scipy_test/testing.py", line
405, in assert_array_almost_equal
assert alltrue(ravel(reduced)),\
AssertionError:
Arrays are not almost equal:
----------------------------------------------------------------------
Ran 967 tests in 3.177s
FAILED (failures=4)
<unittest.TextTestRunner instance at 0x82704ec>
Nils
> It is rather difficult to comment with the given (lack of) information.
>
> > Which versions of ATLAS and python are recommended ?
>
> See INSTALL.txt.
>
> In practice, less trouble are with versions that scipy developers
> use;-)
>
> I usually test scipy with the boundary versions of software as given in
> INSTALL.txt.
>
> Pearu
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
More information about the SciPy-User
mailing list