[Numpy-discussion] Calling routines from a Fortran library using python
Thu Feb 18 11:16:56 CST 2010
Matthieu Brucher wrote:
> If it is not the
> case, you will not be able to compile it as a shared library and thus
> not be able to use it from Python :|
maybe not directly with ctypes, but you should be able to call it from
Cython (or SWIG, or custom C code), and statically link it.
What about f2py?
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the NumPy-Discussion