I am trying to update my package scikits.bvp_solver (source here) and I have run into some problems with f2py generated files. The files \'bvp_solverf-f2pywrappers2.f90\' and \'bvp_solverfmodule.c\' w
I just wrapped a Fortran 90 subroutine to python using F2PY. The subtlety here is that the Fortran subroutine aslo takes a python call-back function as one of its arguments:
after installing python, numpy and scipy_dist_utils i typed f2py onto the python interpretor the result is as below
In a project I work on we use a Python C module compiled from Fortran with f2py. I\'ve had no issues building it on Windows 7 32bit (using mingw32) and on the servers it\'s built on 32bit Linux.
The following Fortran code fills a 2D array x with value v subroutine fill(x,v,m,n) real*8 x(m,n),v integer m,n,i
I\'ve been starting to use Fortran (95) for some numerical code (generating python modules). Here is a simple example: