[f2py] FW: f90 types as modul variables

Pearu Peterson pearu.peterson at gmail.com
Fri Jan 29 16:31:56 EET 2010



Malte.Mauelshagen at dlr.de wrote:
> Hi,
> Thank you for your answer. :)
> But this is exactly the way i do NOT want to do it! ;-)
> Since i have the problem with the derived types, i have several files that only should be compiled, but not wrapped.

When you provide .pyf file to `f2py -c` then .f90 files will *not* be
scanned by f2py for wrapping,
all .f90 files will be just compiled and their
object codes will be linked to the extension module.
See also http://cens.ioc.ee/~pearu/papers/IJCSE4.4_Paper_8.pdf

> I don't need acces on the derived types, i just wanna have acces on a subroutine or module that USES object files with derived types.
> Is this possible?

I don't see any problems with that.

Pearu



More information about the f2py-users mailing list