[f2py] F2py in numpy - documentation how to use it
pearu at cens.ioc.ee
pearu at cens.ioc.ee
Mon Nov 27 11:42:11 EET 2006
On Mon, 27 Nov 2006, Robert Kern wrote:
> pearu at cens.ioc.ee wrote:
> >
> > On Sat, 25 Nov 2006, Markus Faust wrote:
> >
> >> I would like to import fortran code to python with the most recent
> >> version of f2py apparently only available in numpy. But I do not know
> >> how to call it correctly, which is rather frustrating ... ? Is there
> >> some documentation available how to get information on the compilers,
> >> etc as this was possible with the old version. The best would be to have
> >> some Python code with all the initializations since it seems the
> >> interface was changed remarkably.
> >
> > Could you post your original code that worked with f2py2e? Then I can help
> > you translate it to numpy.f2py.
>
> I'm pretty sure he's asking about the command-line arguments for the f2py command.
In that case I can say that f2py command line arguments did not
change during the transition f2py2e->numpy.f2py. Executing f2py without
arguments shows information about f2py options. E.g. to get a list of
available compilers, run
f2py -c --help-fcompiler
HTH,
Pearu
More information about the f2py-users
mailing list