[Numpy-tickets] [NumPy] #673: change the error handling code in lapack_lite to return a python exception

NumPy numpy-tickets@scipy....
Wed Apr 9 09:46:28 CDT 2008


#673: change the error handling code in lapack_lite to return a python exception
---------------------------+------------------------------------------------
 Reporter:  Zbyszek_Szmek  |        Owner:  somebody
     Type:  defect         |       Status:  new     
 Priority:  normal         |    Milestone:  1.0.5   
Component:  numpy.linalg   |      Version:  none    
 Severity:  normal         |   Resolution:          
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by pearu):

 Applied modified patch in r4997.

 The error handling code is effective when using unoptimized lite lapack
 shipped with numpy -- tested.

 The code should be effective also when system/user provided lapack library
 does not define xerbla_ symbol -- untested. (if it does not work then (a
 fix follows!)
 one needs to build pythonxerbla.c to a library and force it to appear
 after the lapack libraries in the linking command).

 Theoretically, it would be possible to unpack system/user provided lapack
 library and recreate it locally without xerbla.o. Then the pythonxerbla
 should be always effective. However, this approach requires more work
 (within numpy.distutils) so that I recommend postponing the issue to 1.1.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/673#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list