[Numpy-discussion] Calling routines from a Fortran library using python
Nils Wagner
nwagner at iam.uni-stuttgart.de
Thu Feb 18 05:25:25 EST 2010
On Thu, 18 Feb 2010 10:15:51 +0000 (UTC)
Neil Crighton <neilcrighton at gmail.com> wrote:
> 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
How do I convert the .a library to a .so library ?
Nils
More information about the NumPy-Discussion
mailing list