[Numpy-tickets] [NumPy] #285: f2py fails on F90 modules
NumPy
numpy-tickets at scipy.net
Tue Sep 19 16:44:07 CDT 2006
#285: f2py fails on F90 modules
------------------------+---------------------------------------------------
Reporter: stefan | Owner: pearu
Type: defect | Status: new
Priority: normal | Milestone: 1.0 Release
Component: numpy.f2py | Version: devel
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Using
{{{
f2py test.f90
}}}
to wrap
{{{
MODULE chirp_transform
SUBROUTINE chrft(x, y, wr, wi, isize, lwork, itype, ifault)
RETURN
END SUBROUTINE chrft
END MODULE chirp_transform
}}}
fails with
{{{
Traceback (most recent call last):
File "/home/stefan/bin/f2py", line 6, in ?
f2py.main()
File "/home/stefan/lib/python2.4/site-packages/numpy/f2py/f2py2e.py",
line 548, in main
run_main(sys.argv[1:])
File "/home/stefan/lib/python2.4/site-packages/numpy/f2py/f2py2e.py",
line 351, in run_main
raise TypeError,'All blocks must be module blocks but got
%s'%(`postlist[i]['block']`)
TypeError: All blocks must be module blocks but got 'module'
}}}
This is f2py r3181.
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/285>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list