Using Fortran libraries from Python?
Carl
phleum_nospam at chello.se
Fri Jun 18 12:16:26 EDT 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
problem.
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.
Thank you!
Carl
More information about the Python-list
mailing list