[Numpy-discussion] f2py and Fortran90 gfortran_filename error
Wed Feb 28 09:00:13 CST 2007
Thanks for helping out Pearu,
But it won't even create the .so file using that command. Using what
you suggested, seems to work as it goes through many of the processes
but then f2py stops at:
error: don't know how to compile Fortran code on platform 'posix' with
'gnu95' compiler. Supported compilers are:
Even more weird is on my laptop the situation is even worse. Check out
this error which I seem to get regardless of whether I use the gnu95
line like you suggested on the --f90exec option.
thayes@seneca:~/fortran90/am562b/misc_finite$ f2py -c
--fcompiler=gnu95 matsolve2.pyf matsolve.f90
Unknown vendor: "gnu95"
define_macros = [('NUMERIC_VERSION', '"\\"24.2\\""')]
include_dirs = ['/usr/include/python2.4']
Traceback (most recent call last):
File "/usr/bin/f2py", line 4, in ?
File "/usr/lib/python2.4/site-packages/f2py2e/f2py2e.py", line 677, in main
File "/usr/lib/python2.4/site-packages/f2py2e/f2py2e.py", line 650,
ext = Extension(**ext_args)
line 45, in __init__
File "/usr/lib/python2.4/distutils/extension.py", line 106, in __init__
assert type(name) is StringType, "'name' must be a string"
AssertionError: 'name' must be a string
Thanks for the help anyways.
Tyler Joseph Hayes
GPG Key ID# 0x3AE05130
More information about the Numpy-discussion