[Numpy-discussion] f2py - how to use .pyf files?
Fri Jul 18 18:26:07 CDT 2008
On Fri, Jul 18, 2008 at 18:19, Fernando Perez <firstname.lastname@example.org> wrote:
> On Fri, Jul 18, 2008 at 3:53 PM, Robert Kern <email@example.com> wrote:
>> You still need "-m text2", I believe.
> Right, thanks. But it still doesn't quite work. Consider a makefile with
> lib: seglib.so
> seglib.so: Text2.f90
> f2py -c --fcompiler=gnu95 -m seglib Text2.f90
> pyf: Text2.f90
> f2py -h seglib.pyf -m seglib Text2.f90 --overwrite-signature
> lib2: Text2.f90
> f2py -c --fcompiler=gnu95 seglib.pyf
You still need to have Text2.f90 on the line.
f2py -c --fcompiler=gnu95 seglib.pyf Text2.f90
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion