[Scipy-tickets] [SciPy] #1472: Recent Arpack changes segfaulting in test suite

SciPy Trac scipy-tickets@scipy....
Sun Jul 3 09:29:48 CDT 2011


#1472: Recent Arpack changes segfaulting in test suite
---------------------------------+------------------------------------------
 Reporter:  rgommers             |       Owner:  pv    
     Type:  defect               |      Status:  new   
 Priority:  high                 |   Milestone:  0.10.0
Component:  scipy.sparse.linalg  |     Version:  0.9.0 
 Keywords:  arpack               |  
---------------------------------+------------------------------------------

Comment(by rgommers):

 After removing {{{aslinearoperator}}} I don't get a segfault when running
 the {{{scipy.sparse.linalg.eigen}}} tests. I do get one failure in that
 case:
 {{{
 ======================================================================
 FAIL: test_arpack.test_symmetric_modes(True, <gen-symmetric>, 'f', 2,
 'SM', None, 0.5, <class 'scipy.sparse.csr.csr_matrix'>, None, 'normal')
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/nose-1.0.0-py2.6.egg/nose/case.py", line 187, in runTest
     self.test(*self.arg)
   File
 "/Users/rgommers/Code/scipy/scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py",
 line 187, in eval_evec
     err_msg=err)
   File
 "/Users/rgommers/Code/scipy/scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py",
 line 74, in assert_allclose_cc
     assert_allclose(actual, conj(desired), **kw)
   File "/Users/rgommers/Code/numpy/numpy/testing/utils.py", line 1167, in
 assert_allclose
     verbose=verbose, header=header)
   File "/Users/rgommers/Code/numpy/numpy/testing/utils.py", line 635, in
 assert_array_compare
     raise AssertionError(msg)
 AssertionError:
 Not equal to tolerance rtol=0.000238419, atol=0.000238419
 error for eigsh:general, typ=f, which=SM, sigma=0.5, mattype=csr_matrix,
 OPpart=None, mode=normal
 (mismatch 100.0%)
  x: array([ 34.51789093,   5.23087358], dtype='float32')
  y: array([ 34.52712250-0.j,   5.23087454-0.j], dtype='complex64')
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1472#comment:5>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list