Hi,
I've been attempting to wrapper a fortran mpi code with f2py, but I've been running into a few issues. I want to call the fortran code in a parallel way from an effectively serial python code. The fortran code is doing an expensive calculation that needs to be parallelised in some way. If there is a way to create parallel fortran modules that can be called from a serial python code this would be the best case for me. Problem is I don't know a way of doing this.
Any suggestions are appreciated,
Tom