[f2py] Trouble with gfortran build on OS X Tiger (i386)
robert.kern at gmail.com
Wed Jan 31 21:14:32 EET 2007
Vic Kelson wrote:
> Hi Everyone,
> I am having trouble building an extension on Mac OS X Tiger using gfortran.
> It appears that during the link phase, at least one PowerPC library is being
> included(?) in the .so file.
> Here's the voluminous output from f2py, including all the errors and
> warnings, including my attempt to test the extension.
> THANKS for all your help!
> Vic Kelson
> ic-kelsons-computer:~/aurora vic$ f2py --fcompiler=gnu95 -c -m aurora
> aurora_common.f90 well_collection.f90
> /usr/local/bin/gfortran -Wall -undefined dynamic_lookup -bundle
> /tmp/tmpPoryGr/aurora_common.o /tmp/tmpPoryGr/well_collection.o
> o -L/usr/local/lib/gcc/powerpc-apple-darwin8.8.0/4.2.0 -lgfortran -o
Which gfortran did you install? It appears that you installed the PPC version
from http://hpc.sourceforge.net rather than the Intel version.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the f2py-users