[f2py] Has ANYBODY gotten f2py working with Python 2.6 on Mac OS 10.6?

"Raymond P." <[email protected]>
Newsgroups gmane.comp.python.f2py.user
Message-ID <[email protected]>
As far as I can tell, in its present state f2py  fails almost  
completely with any fortran
compiler I've heard of when used with Python 2.6 on OS 10.6.  This is  
an important
tool that seems to have been completely broken by some combination of
Apple and Python, and I can't believe that Rodrigo and I are the only  
ones
who have noticed this.

If anybody has gotten even the basic f2py -c hello.f to build with any  
combination
of Python 2.6 and Fortran compiler on OS 10.6 please let me know how it
was done.  Right now, I can't even get it to work with gfortran and  
Python 2.6 on
an OS 10.5 machine with the most current gcc compiler in Developer  
Tools.
The problem has to do with the -arch flag, which is not accepted by
gfortran.   I have heard that there are versions of gfortran that are  
"apple compliant"
and accept the -arch flag, but those evidently do not accept other  
standard
fortran flags of importance to those of us doing scientific programming.
(and why else would you hold your nose and use Fortran anyway?)

--Ray Pierrehumbert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.