I have FORTRAN code that requires the following compilation command
gfortran -c interp.f -ffixed-format -ffix-line-length-none
I compiled the same with f2py module in python
from numpy import f2py f2py.compile(open('interp.f').read(),modulename='interp',extra_flags='-ffixed-format -ffix-line-length-none',verbose=0)
Unable to compile module. It gives an error indicating an invalid file format '' in '-ffized-format'
Please, help
source share