[f2py] mixed f77/f90 code
jaspeR <[email protected]> Tue, 23 Nov 2010 19:44:18 +0000 (UTC)
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
hi everybody! is there a principal problem to wrap a project with mixed f90/f77 code? i have a fortran project that fits functions. the fitting procedures are taken from linpack and are f77/fixed format, while the functions and the driver are written in free format. compiling the project, i end up with errors like error: 'fcn_typedef' undeclared (first use in this function) error: (Each undeclared identifier is reported only once error: for each function it appears in.) error: syntax error before 'fcn_cptr' error: 'fcn_cptr' undeclared (first use in this function) error: 'fcn' undeclared (first use in this function) error: 'fcn_nofargs' undeclared (first use in this function) error: stray '#' in program error: stray '#' in program error: 'maxnofargs' undeclared (first use in this function) error: stray '#' in program error: stray '#' in program error: 'nofoptargs' undeclared (first use in this function) i can compile the project with gfortran fine, just the f2py wrapping doesn't work. any ideas on this one? thanks everybody! jaspeR