Using Fortran libraries from Python?
phleum_nospam at chello.se
Fri Jun 18 18:16:26 CEST 2004
> Another solution (not tested) could be to use "-lg2c" instead of
> "-lf2c". As I understand it, the g77 runtime library is derived from
> the f2c runtime library.
This seems to work! How did you know?
> An even better (in my opinion) solution would
> be to use "f2py" from <http://cens.ioc.ee/projects/f2py2e/>, a tool to
> wrap python (and C) code for python.
I will try both "f2py" and all other possible solution suggestions to my
I'm positively overwhelmed by your response. You've saved me a great deal of
trouble and (I don't know how many) hours of tedious trial and error work.
More information about the Python-list