[f2py] Draft: F2PY Users Guide and Reference Manual
Fri, 6 Dec 2002 14:50:13 +0200 (EET)
On Fri, 6 Dec 2002, Roman Bertle wrote:
> Very nice draft!
> Two short comments:
> 1.) In the draft, f2py is always used either with the -h or with the -c
> switch. Is there any sense using f2py without any option,
> i.e "f2py foo.pyf foo.f"?
Yes, there is. Without -c and -h switch f2py just generates the
source file <modulename>module.c to the current directory.
> 2.) I think its also possible to compile the fortran files yourself and
> let only the linking be done by f2py:
> % f2py -m foo -h foo.pyf foo.f
> % f77 -c -your_fancy_options foo.f
> % f2py -c foo.pyf foo.o
> Maybe this should be mentioned somewhere in the users guide...
Yes, you are right. I'll add that to the "Using F2PY" section.
In addition, there are lots of little but useful details yet to be
documented, especially that concern wrapping C functions.
It takes some time to get them into the manual..
Thanks for the feedback,