Re: [f2py] Why this error?
Pearu Peterson <[email protected]> Mon, 2 Aug 2010 22:12:46 +0300
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 2, 2010 at 8:46 PM, Al Niessner <[email protected]> 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