[Numpy-discussion] F2PY and underscore problem

Zdeněk Hurák hurak at fel.cvut.cz
Thu Apr 5 13:43:25 EDT 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