[SciPy-user] Call for testing

Nils Wagner nwagner at iam.uni-stuttgart.de
Wed Aug 2 12:34:58 CDT 2006


On Wed, 2 Aug 2006 07:20:30 -0400
  Steve Lianoglou <lists.steve at arachnedesign.net> wrote:
> Hi Nils et. al,
> 
>> is someone able to confirm the output (32bit.png) of 
>>test_det.py on a
>> 32-bit machine ?
>> The script is available via
>>
>> http://projects.scipy.org/scipy/scipy/ticket/223
> 
> I just ran it on the newest scipy and almost newest 
>numpy from svn  and my output is the correct one (the 
>64bit.png) and I'm running on a  32bit machine (Intel 
>Core Duo (MacBook Pro)).
> 
> 
> No atlas as such, tho I was under the impression I did 
>install  atlas ...  there's even a libatlas.a in my 
>/usr/local/lib ... hmm ..
> 
> Anyway, scipy/numpy info is pasted below.
> 
> -steve
> 
> 
> In [5]: scipy.__version__
> Out[5]: '0.5.0.2142'
> 
> In [6]: scipy.show_config()
> umfpack_info:
>   NOT AVAILABLE
> 
> dfftw_info:
>     libraries = ['drfftw', 'dfftw']
>     library_dirs = ['/opt/local/lib']
>     define_macros = [('SCIPY_DFFTW_H', None)]
>     include_dirs = ['/opt/local/include']
> 
> fft_opt_info:
>     libraries = ['drfftw', 'dfftw']
>     library_dirs = ['/opt/local/lib']
>     define_macros = [('SCIPY_DFFTW_H', None)]
>     include_dirs = ['/opt/local/include']
> 
> djbfft_info:
>   NOT AVAILABLE
> 
> lapack_opt_info:
>     extra_link_args = ['-Wl,-framework', 
>'-Wl,Accelerate']
>     extra_compile_args = ['-msse3']
>     define_macros = [('NO_ATLAS_INFO', 3)]
> 
> fftw2_info:
>   NOT AVAILABLE
> 
> fftw3_info:
>   NOT AVAILABLE
> 
> blas_opt_info:
>     extra_link_args = ['-Wl,-framework', 
>'-Wl,Accelerate']
>     extra_compile_args = ['-msse3', 
>'-I/System/Library/Frameworks/ 
> vecLib.framework/Headers']
>     define_macros = [('NO_ATLAS_INFO', 3)]
> 
> =============================
> 
> 
> In [9]: numpy.__version__
> Out[9]: '1.0b2.dev2940'
> 
> In [10]: numpy.show_config()
> lapack_opt_info:
>     extra_link_args = ['-Wl,-framework', 
>'-Wl,Accelerate']
>     extra_compile_args = ['-msse3']
>     define_macros = [('NO_ATLAS_INFO', 3)]
> 
> blas_opt_info:
>     extra_link_args = ['-Wl,-framework', 
>'-Wl,Accelerate']
>     extra_compile_args = ['-msse3', 
>'-I/System/Library/Frameworks/ 
> vecLib.framework/Headers']
>     define_macros = [('NO_ATLAS_INFO', 3)]
> 

Thank you all for running the test !

Finally I have disabled ATLAS by
export ATLAS=None

Good news is that I get the correct result.
So I guess it's definitely an ATLAS issue.

Bad news is that
scipy.test(1) results in

FAILED (failures=17, errors=4)
More details below.

Can someone reproduce these failures (No ATLAS) ?

>>> numpy.__version__
'1.0b2.dev2943'
>>> scipy.__version__
'0.5.0.2142'
>>>                        

======================================================================
ERROR: Compare eigenvalues of eigvals_banded with those of 
linalg.eig.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py", 
line 270, in check_eigvals_banded
     select='i', select_range=(ind1, ind2) )
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/decomp.py", 
line 381, in eigvals_banded
     select_range=select_range)
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/decomp.py", 
line 362, in eig_banded
     if info>0: raise LinAlgError,"eig algorithm did not 
converge"
LinAlgError: eig algorithm did not converge

======================================================================
ERROR: check_zero 
(scipy.linalg.tests.test_matfuncs.test_expm)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py", 
line 105, in check_zero
     assert_array_almost_equal(expm2(a),[[1,0],[0,1]])
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/matfuncs.py", 
line 71, in expm2
     vri = inv(vr)
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/basic.py", 
line 180, in inv
     a1 = asarray_chkfinite(a)
   File 
"/usr/lib/python2.4/site-packages/numpy/lib/function_base.py", 
line 181, in asarray_chkfinite
     raise ValueError, "array must not contain infs or 
NaNs"
ValueError: array must not contain infs or NaNs

======================================================================
ERROR: check_defective1 
(scipy.linalg.tests.test_matfuncs.test_signm)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py", 
line 46, in check_defective1
     r = signm(a)
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/matfuncs.py", 
line 274, in signm
     iS0 = inv(S0)
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/basic.py", 
line 180, in inv
     a1 = asarray_chkfinite(a)
   File 
"/usr/lib/python2.4/site-packages/numpy/lib/function_base.py", 
line 181, in asarray_chkfinite
     raise ValueError, "array must not contain infs or 
NaNs"
ValueError: array must not contain infs or NaNs

======================================================================
ERROR: check_defective3 
(scipy.linalg.tests.test_matfuncs.test_signm)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py", 
line 67, in check_defective3
     r = signm(a)
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/matfuncs.py", 
line 274, in signm
     iS0 = inv(S0)
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/basic.py", 
line 180, in inv
     a1 = asarray_chkfinite(a)
   File 
"/usr/lib/python2.4/site-packages/numpy/lib/function_base.py", 
line 181, in asarray_chkfinite
     raise ValueError, "array must not contain infs or 
NaNs"
ValueError: array must not contain infs or NaNs

======================================================================
FAIL: Compare eigenvalues and eigenvectors of eig_banded
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py", 
line 314, in check_eig_banded
     self.w_sym_lin[ind1:ind2+1])
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 199, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(shapes (0,), (5,) mismatch)
  x: array([], dtype=float64)
  y: array([-0.52994106, -0.43023792,  0.86217766, 
 1.66090423,  2.84350424])

======================================================================
FAIL: check_simple 
(scipy.linalg.tests.test_decomp.test_svdvals)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py", 
line 508, in check_simple
     assert s[0]>=s[1]>=s[2]
AssertionError

======================================================================
FAIL: check_simple_complex 
(scipy.linalg.tests.test_decomp.test_svdvals)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py", 
line 526, in check_simple_complex
     assert s[0]>=s[1]>=s[2]
AssertionError

======================================================================
FAIL: check_syevr_irange_high 
(scipy.lib.tests.test_lapack.test_flapack_double)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 74, in check_syevr_irange_high
     def check_syevr_irange_high(self): 
self.check_syevr_irange(irange=[1,2])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 66, in check_syevr_irange
     assert_array_almost_equal(w,exact_w[rslice])
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.,  0.])
  y: array([ 0.48769389,  9.18223045])

======================================================================
FAIL: check_syevr_irange_low 
(scipy.lib.tests.test_lapack.test_flapack_double)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 70, in check_syevr_irange_low
     def check_syevr_irange_low(self): 
self.check_syevr_irange(irange=[0,1])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 66, in check_syevr_irange
     assert_array_almost_equal(w,exact_w[rslice])
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.,  0.])
  y: array([-0.66992434,  0.48769389])

======================================================================
FAIL: check_syevr_irange_mid 
(scipy.lib.tests.test_lapack.test_flapack_double)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 72, in check_syevr_irange_mid
     def check_syevr_irange_mid(self): 
self.check_syevr_irange(irange=[1,1])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 66, in check_syevr_irange
     assert_array_almost_equal(w,exact_w[rslice])
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.])
  y: array([ 0.48769389])

======================================================================
FAIL: check_syevr_vrange 
(scipy.lib.tests.test_lapack.test_flapack_double)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 91, in check_syevr_vrange
     assert_array_almost_equal(w,ew)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 4.5,  4.5,  4.5])
  y: array([-0.66992434,  0.48769389,  9.18223045])

======================================================================
FAIL: check_syevr_vrange_high 
(scipy.lib.tests.test_lapack.test_flapack_double)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 100, in check_syevr_vrange_high
     def check_syevr_vrange_high(self): 
self.check_syevr_vrange(vrange=[1,10])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 91, in check_syevr_vrange
     assert_array_almost_equal(w,ew)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 5.5])
  y: array([ 9.18223045])

======================================================================
FAIL: check_syevr_vrange_low 
(scipy.lib.tests.test_lapack.test_flapack_double)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 96, in check_syevr_vrange_low
     def check_syevr_vrange_low(self): 
self.check_syevr_vrange(vrange=[-1,1])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 91, in check_syevr_vrange
     assert_array_almost_equal(w,ew)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.,  0.])
  y: array([-0.66992434,  0.48769389])

======================================================================
FAIL: check_syevr_vrange_mid 
(scipy.lib.tests.test_lapack.test_flapack_double)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 98, in check_syevr_vrange_mid
     def check_syevr_vrange_mid(self): 
self.check_syevr_vrange(vrange=[0,1])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 91, in check_syevr_vrange
     assert_array_almost_equal(w,ew)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.5])
  y: array([ 0.48769389])

======================================================================
FAIL: check_syevr_irange_high 
(scipy.lib.tests.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 74, in check_syevr_irange_high
     def check_syevr_irange_high(self): 
self.check_syevr_irange(irange=[1,2])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 66, in check_syevr_irange
     assert_array_almost_equal(w,exact_w[rslice])
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.,  0.], dtype=float32)
  y: array([ 0.48769389,  9.18223045])

======================================================================
FAIL: check_syevr_irange_low 
(scipy.lib.tests.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 70, in check_syevr_irange_low
     def check_syevr_irange_low(self): 
self.check_syevr_irange(irange=[0,1])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 66, in check_syevr_irange
     assert_array_almost_equal(w,exact_w[rslice])
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.,  0.], dtype=float32)
  y: array([-0.66992434,  0.48769389])

======================================================================
FAIL: check_syevr_irange_mid 
(scipy.lib.tests.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 72, in check_syevr_irange_mid
     def check_syevr_irange_mid(self): 
self.check_syevr_irange(irange=[1,1])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 66, in check_syevr_irange
     assert_array_almost_equal(w,exact_w[rslice])
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.], dtype=float32)
  y: array([ 0.48769389])

======================================================================
FAIL: check_syevr_vrange 
(scipy.lib.tests.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 91, in check_syevr_vrange
     assert_array_almost_equal(w,ew)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 4.5,  4.5,  4.5], dtype=float32)
  y: array([-0.66992434,  0.48769389,  9.18223045])

======================================================================
FAIL: check_syevr_vrange_high 
(scipy.lib.tests.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 100, in check_syevr_vrange_high
     def check_syevr_vrange_high(self): 
self.check_syevr_vrange(vrange=[1,10])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 91, in check_syevr_vrange
     assert_array_almost_equal(w,ew)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 5.5], dtype=float32)
  y: array([ 9.18223045])

======================================================================
FAIL: check_syevr_vrange_low 
(scipy.lib.tests.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 96, in check_syevr_vrange_low
     def check_syevr_vrange_low(self): 
self.check_syevr_vrange(vrange=[-1,1])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 91, in check_syevr_vrange
     assert_array_almost_equal(w,ew)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.,  0.], dtype=float32)
  y: array([-0.66992434,  0.48769389])

======================================================================
FAIL: check_syevr_vrange_mid 
(scipy.lib.tests.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 98, in check_syevr_vrange_mid
     def check_syevr_vrange_mid(self): 
self.check_syevr_vrange(vrange=[0,1])
   File 
"/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 91, in check_syevr_vrange
     assert_array_almost_equal(w,ew)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 215, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([ 0.5], dtype=float32)
  y: array([ 0.48769389])

----------------------------------------------------------------------
Ran 1552 tests in 3.979s



More information about the SciPy-user mailing list