Interfacing Python & Fortran

Konrad Hinsen hinsen at cnrs-orleans.fr
Tue Mar 25 12:37:29 EST 2003


On Monday 24 March 2003 08:37, Amit Keney wrote:

>         I am interested in interfacing Python & Fortran . Searching the
> net, I came up with Pyfort & F2PY.
> I use a MIPS pro fortran 90 compiler on an IRIX platform. Should I go
> forward with Pyfort or F2PY

That depends on your applications. The two interface generators are optimized 
for different situations. Pyfort does more of the work for you, but can 
silently introduce array copies that might turn out to be a problem for you.

Try both on a simple project and decide then.

Konrad.






More information about the Python-list mailing list