[Numpy-discussion] F2PY error with G95 on Mac OS 10.5
Samir Unni
srunni at gmail.com
Wed Jun 10 13:44:28 EDT 2009
Hi,
I'm trying to use F2PY on Mac OS 10.5 with G95, but I'm getting the
error "g95: unrecognized option '-shared'". I tried modifying the
NumPy code to use the correct "-dynamic" flag, rather than the
"-shared" flag. While that does allow for F2PY to successfully
execute, I get the error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Users/srunni/src/pdb2pqr/pdb2pqr/tinker/src/tinker/source/ese.so,
2): no suitable image found. Did find:
/Users/srunni/src/pdb2pqr/pdb2pqr/tinker/src/tinker/source/ese.so:
unknown file type, first eight bytes: 0x80 0xC0 0x4F 0x00 0xEB 0x57
0xE0 0x8F
when I attempt to import the generated module. Any ideas on how to fix this?
Thanks,
Samir Unni
More information about the NumPy-Discussion
mailing list