how to reconfigure f2py

Dexter Douglas luomo1138 at yahoo.com
Sat Jan 26 14:22:26 PST 2008


Hello,

> On Jan 25, 2008 5:39 PM, Ryan Schmidt
> <ryandesign at macports.org> wrote:
> 
> > I don't use this software, but I'm curious: if it
> compiles with the
> > fortran compiler in gcc42, why expend any effort
> trying to make it
> > work with a different fortran compiler? Why not
> just say "it requires
> > gcc42" and be done with it?


f2py is used to create interfaces that allow Python
code to call Fortran code.  It supports many different
Fortran compilers like Absoft, Lahey, IBM, gfortran,
and g95.

The support file for g95 is included with the f2py
(numpy) package.  The support file lists compiler and
linker flags for g95.  Some of the flags are wrong.  I
know how to update the g95.py file, but I do not
remember how to reconfigure the f2y/numpy package so
that it will recognize my fixes.  I am pretty sure it
is a matter of rerunning one of the setup.py files.  I
just do not know which one or how.

It really is a quick fix -- except for setup.py.  I
have tried running several of the setup.py scripts,
but I am either running the wrong ones, or I am not
using the right options.

If anyone knows which setup.py file I am supposed to
run and the correct way to run it, please let me know.

Thanks,
Jim




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



More information about the macports-users mailing list