[Numpy-discussion] f2py problems
pearu at scipy.org
Tue Jan 24 08:18:02 CST 2006
On Tue, 24 Jan 2006, George Nurser wrote:
> I'm not sure whether this is the right list for f2py questions, but anyway.
> Tried it (v 2_1967) out today. It worked beautifully for a simple function.
> But for a more complicated (f77) *.F file with preprocessor directives and a
> lot of data statements I have been having problems.
> Firstly, it just seemed to ignore all of the lines with preprocessor
f2py does not do preprocessing.
> Secondly, after I used a preprocessor to create the .f file separately, and
> then ran the .f file through f2py, I got the following error trace.
> Anybody have any ideas?
> line 2007, in analyzevars
> for k in implicitrules[ln0].keys():
> KeyError: '('
Could you send me the file that caused this error? The error may be due to
a f2py bug or a non-standard Fortran code.
More information about the Numpy-discussion