how to reconfigure f2py

Dexter Douglas luomo1138 at yahoo.com
Fri Jan 25 12:04:39 PST 2008


Hello,

I am having troubles using f2py with g95.

I have Macports 1.6.0 on Leopard 10.5.1 PPC:
py-numpy                       @1.0.4         
python/py-numpy
python24                        @2.4.4         
lang/python24
g95                                 @0.90          
lang/g95


When I run f2py, it tries to run g95 with a "-shared"
flag.  g95 does have a
 "-shared" flag.  It uses "-dynamic".

I found the compiler settings in
/opt/local/lib/python2.4/site-packages/numpy/distutils/fcompiler/g95.py

I am now trying to change them, but I do not know how
to reconfigure f2py.
I assume that I must rerun a setup.py script, but I do
not know which one, nor 
which options I should use.

Would someone please tell how to reconfigure f2py?

Thanks,
Jim


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the macports-users mailing list