[Numpy-tickets] [NumPy] #673: change the error handling code in lapack_lite to return a python exception
NumPy
numpy-tickets@scipy....
Wed Apr 9 13:20:26 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):
No probelem with renaming.
Here follows a "fix" that should be inserted to linalg/setup.py file:
config.add_library('pyxerbla', sources=['python_xerbla.c'])
lapack_lib['libraries'].append('pyxerbla') # one can also try .insert(0,
'pyxerbla')
I have tested it and it does not work if xerbla is already included in the
lapack library.
With gnu compiler it does have no effect and with MSVC, the linker fails
because
of multiple definitions of the same symbol.
I sincerily hope that you will be more succesful.
Otherwise, the fix of the issue means that lapack libraries need to be
changed.
This is no probelm if users build their own lapack library and then we can
give detailed instructions for how to do it. But the problem will be with
most users
who use system wide lapack libraries.
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/673#comment:4>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list