[f2py] Fortran project

Ana Viana ana.gomes.viana at gmail.com
Tue Jun 12 21:06:23 EEST 2007


Hi,

I have a Fortran set of files that I would like to wrap into Python, but 
I am not managing to do that with f2py.
I have been searching for info but with no success. So, I wonder if 
someone can help me...

In Fortran things work as follows: I have several fortran files. Once 
compiled, at execution time, there is an input parameter - the name of a 
file with input data.

I have looked at your list and found some info there, that I tried to 
use with no success. These are the steps I have followed:

f2py -m teste -h teste.pyf  *.f

f2py -llapack -lf77blas  -c teste.pyf  *.o


But I think I am not doing things correctly.
Needless to say, I am new in this subject...

Ana





More information about the f2py-users mailing list