What source file extentions does ifort support? I know that gfortran supports source files with .f, .for, .fpp, .ftn, .F, .FOR, .FPP, and .FTN extensions as well as the .f90, .f95, .f03, .f08, .F90, .F95, .F03 and .F08 extensions. I ask only because it appears that I've run into a compile time error when using, for example, the .f08 extention.
Sepcifically, when I compile using ifort and the .f08 file extention I get the following error(s):
ifort -c -free -implicitnone -O3 -stand f08 hfrak.f08
ifort: warning #10145: no action performed for file 'hfrak.f08'
ifort -free -implicitnone -O3 -stand f08 -o hfrak.x hfrak.o
ifort: error #10236: File not found: 'hfrak.o'
ifort: command line error: no files specified; for help type "ifort -help"
make: *** [hfrak.x] Error 1
Obviously, the error #10236 is, well, obvious. However, the warning #10145 is not, even after a bit of a google search. However, if i simply rename the same exact source code as 'hfrak.f' and use the same compiler options ...
ifort -c -free -implicitnone -O3 -stand f08 hfrak.f
ifort -free -implicitnone -O3 -stand f08 -o hfrak.x hfrak.o
... everything works automagically.
Am I missing something here? It seems like a trival option ifort should support, especially given that it has a -stand f08 compiler option. But I don't know what the logic might be. From what I can find, ifort only seems to support the .f .f90 .F .FOR .for extentions. Any help / explination would be awesome.
Thanks!




