[Numpy-discussion] Calling routines from a Fortran library using python

Neil Crighton neilcrighton@gmail....
Thu Feb 18 04:15:51 CST 2010


Nils Wagner <nwagner <at> iam.uni-stuttgart.de> writes:

> Hi David,
> 
> you are right. It's a proprietary library.
> I found a header file (*.h) including prototype 
> declarations of externally callable procedures.
> 
> How can I proceed ?

Apparently you can use ctypes to access fortran libraries. See the first
paragraph of:

http://www.sagemath.org/doc/numerical_sage/ctypes.html

You may have to convert the .a library to a .so library.


Neil



More information about the NumPy-Discussion mailing list