[Numpy-discussion] Calling routines from a Fortran library using python
Thu Feb 18 04:56:25 CST 2010
If header files are provided, the work done by f2py is almost done.
But you don't know the real Fortran interface, so you still have to
use ctypes over f2py.
2010/2/18 George Nurser <email@example.com>:
> Hi Nils,
> I've not tried it, but you might be able to interface with f2py your
> own fortran subroutine that calls the library.
> Then issue the f2py command with extra arguments -l<libname>
> -L<directory with lib>.
> See section 5 of
> On 18 February 2010 09:18, Nils Wagner <firstname.lastname@example.org> wrote:
>> Hi all,
>> I have a static library (*.a) compiled by gfortran but no
>> source files.
>> How can I call routines from that library using python ?
>> Any pointer would be appreciated.
>> Thanks in advance.
>> NumPy-Discussion mailing list
> NumPy-Discussion mailing list
Information System Engineer, Ph.D.
More information about the NumPy-Discussion