[SciPy-dev] Absoft & Scipy

Stephen Walton stephen.walton at csun.edu
Wed Feb 2 18:31:48 CST 2005


Stephen Walton wrote:

> In [1]: linalg.eigvals(rand(5,5))
> exceptions.ImportError: 
> /usr/lib/python2.3/site-packages/scipy/linalg/_flinalg.so: undefined 
> symbol: ddet_c_

Found a clue, but not the cause:  when specifying the Absoft compiler, 
f2py is building _flinalgmodule.c in such a way that the external symbol 
ends in only one underscore (ddet_c_ instead of ddet_c__).  The history 
here is that, in a dumb design decision, g77 puts *two* underscores at 
the end of external names which have an embedded underscore, and recent 
versions of Absoft, with the appropriate compiler switch, emulate this 
behavior;  older versions did not.  I have F2PY version 2.45.241_1926 
installed if that's important.






More information about the Scipy-dev mailing list