[Numpy-discussion] F2PY and underscore problem

Zdeněk Hurák hurak@fel.cvut...
Thu Apr 5 12:43:25 CDT 2007


Robert Kern wrote:

> Zdeněk Hurák wrote:
[...]
>> I want to create Python modules from some Fortran numerical functions
>> that rely on LAPACK. 
[...]
>> However, when trying to import the module, Python cries that there is and
>> undefined symbol: sb02mw_. 
[...]

> What FORTRAN compiler are you using to build the module? What FORTRAN
> compiler was used to build LAPACK?

Sorry for not giving this important detail. I use gcc-4.1.1 compiler suite,
which means that gfortran is used as a Fortran compiler. The same compiler
was used to build Lapack.

Zdenek Hurak



More information about the Numpy-discussion mailing list