[Numpy-discussion] F2PY and underscore problem

Tyler J Hayes hayes.tyler@gmail....
Fri Apr 6 15:26:03 CDT 2007


Zdeněk Hurák <hurak <at> fel.cvut.cz> writes:
> 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.

I'm not sure if this will help, but have you tried to specify the gfortran
compiler via the option:

--fcompiler=gnu95 

when calling f2py in the second line after the ".pyf" file has been created?
Perhaps that will work.

Unfortunately, that's all I can offer as I'm somewhat new to Python and f2py
myself.

Let me know if it works.

Cheers,

Tyler 



More information about the Numpy-discussion mailing list