I am trying to port a program from gfortran to ifort (Intel Fortran Compiler 11). I am stuck in two files that only compile with gfortran:
gfortran -x f77 -c daedrid.ff gfortran -x f77-cpp-input -c daedris.ff
when I try to start the Intel fortran compiler with these files, I get:
ifort -fpp -c daedrid.ff ifort: warning #10147: no action performed for specified file(s) ifort -fpp -c daedris.ff ifort: warning #10147: no action performed for specified file(s)
and no object files are created.
Now, how can I solve this o_O problem?
EDIT: Rename file extensions from ff to fpp
cp daedrid.ff daedrid.fpp cp daedrid.ff daedrid.fpp
helps:
ifort -fpp -c daedrid.fpp daedrid.fpp(1483): (col. 9) remark: LOOP WAS VECTORIZED. daedrid.fpp(1490): (col. 11) remark: LOOP WAS VECTORIZED. daedrid.fpp(1499): (col. 13) remark: LOOP WAS VECTORIZED. ifort -fpp -c daedris.fpp daedris.fpp(1626): (col. 9) remark: LOOP WAS VECTORIZED.
http://www.rcac.purdue.edu/userinfo/resources/black/userguide.cfm#compile_fortran_cpp
UPDATE: Is there a way to get the Intel fortran compiler to work without renaming files?
source share