Re: [f2py] FW: f90 types as modul variables

Pearu Peterson <[email protected]>
Newsgroups gmane.comp.python.f2py.user
Message-ID <[email protected]>

[email protected] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.