[Numpy-discussion] f2py and Fortran90 gfortran_filename error
pearu at cens.ioc.ee
pearu at cens.ioc.ee
Wed Feb 28 12:37:42 EST 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 at 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.
Pearu
More information about the NumPy-Discussion
mailing list