[Numpy-discussion] f2py and Fortran90 gfortran_filename error
Wed Feb 28 11:37:42 CST 2007
> Well, I removed the f2py2e directory and reinstalled numpy as you
> suggested. Now, I still use the -lgfortran option and the --f90exec
> option, but am no longer getting the "NUMERIC" version.
> Thank you for the help. You have been more than patient with me :-)
> Now all I have to do is get my laptop to also behave the same way.
> f2py creates the .pyf file fine, but balks at the following command.
> thayes@seneca$ f2py -c --f90exec=/usr/bin/gfortran matsolve2.pyf
> -lgfortran matsolve.f90
You should use
f2py -c --fcompiler=gnu95 matsolve2.pyf matsolve.f90
no need to specify --f90exec or -lgfortran if you specify the gnu95 compiler.
More information about the Numpy-discussion