[Numpy-discussion] f2py produces so.so

George Nurser gnurser at googlemail.com
Mon Jun 19 07:42:22 EDT 2006


I have run into a strange problem with the current numpy/f2py (f2py
2_2631, numpy 2631).
I have a file [Wright.f] which contains 5 different fortran
subroutines. Arguments have been specified as input or output by
adding cf2py    intent (in), (out) etc.

Doing
f2py -c Wright.f -m Wright.so

does not produce Wright.so
Instead it produces a *directory* Wright containing a library so.so

This actually works fine once it is put onto the python path. But if
it is renamed it cannot be successfully imported, so this will cause
problems if it happens to a second file.

George.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wright.f
Type: application/octet-stream
Size: 11459 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20060619/1b405569/attachment.obj>


More information about the NumPy-Discussion mailing list