[f2py] Why this error?
Pearu Peterson
pearu.peterson at gmail.com
Mon Aug 2 22:12:46 EEST 2010
On Mon, Aug 2, 2010 at 8:46 PM, Al Niessner <Al.Niessner at jpl.nasa.gov> wrote:
>
> Here is the bottom of the output from f2py:
>
> Version: 2
> numpy Version: 1.3.0
So the problem could be because you are using rather old numpy version.
f2py version 2_3744
$ f2py -c -m foo kinds.f90 mathsub.f
successfully builds the extension module (even without the
.f2py_f2cmap file when using f90 (or higher) compiler).
Btw, when you create the .f2py_f2cmap file then you can check its functionality
by executing `f2py -v`. For example, it shows to me
$ f2py -v
Reading .f2py_f2cmap ...
Mapping "real(kind=dp)" to "double"
Succesfully applied user defined changes from .f2py_f2cmap
2_3744
The file contains
{'real':{'dp':'double'}}
Pearu
More information about the f2py-users
mailing list