[Numpy-discussion] F2PY clarification of "so" file

Robert Kern robert.kern at gmail.com
Mon Mar 5 23:22:22 EST 2007


Tyler Hayes wrote:
> Hello All:
> 
> Well, I recently managed to get some small FEM code to work using
> NumPy and some .so modules I created from Fortran90 routines via f2py.
> 
> Anyways, my Prof was impressed with f2py but had a simple question
> that I'm afriad I didn't precisely know the answer to.
> 
> The question is this:
> 
> Is the .so file a Fortran90 executed code (or C) that runs at their
> speeds?

Yes.

> Or is it a Python code that is translated from Fortran90?

No.

-- 
Robert Kern

"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 NumPy-Discussion mailing list