[Numpy-discussion] Problem with changes to f2py

John Salvatier jsalvati at u.washington.edu
Thu Dec 29 17:16:46 EST 2011

Hi Numpy users!

I maintain the boundary value problem solver package
It's had problems with f2py for a while, and I am not sure where they are
coming from. I made this stackoverflow
time ago, but I didn't get any solutions.

Here are the details:

I am trying to update my package scikits.bvp_solver (source
and I have run into some problems with f2py generated files. The files
'bvp_solverf-f2pywrappers2.f90' and 'bvp_solverfmodule.c' which were
generated in 2009 allow the package to be built in place with "python
setup.py build_ext --inplace" but if I delete them and try to rebuild I get
the error


use guess_3_wrap__user__routines
Fatal Error: Can't open module file 'guess_3_wrap__user__routines.mod' for
reading at (1): No such file or directory

The file bvp_interface.pyf specifies a python
module guess_3_wrap__user__routines, but I do not see this show up in the
f2py generated modules.

The part the adds this use statement does not appear in the old version of
the file. I am having difficulty figuring out how to fix this issue. Can
anyone offer advice? What are the major changes to f2py in the last two

I appreciate all clues on this issue.

Thank you in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20111229/8642a664/attachment.html>

More information about the NumPy-Discussion mailing list