Intel® Fortran Compiler - effect of file extensions on source form

The Intel® Fortran Compiler assumes that files with an extension of .f90 are free-form source files and
that files with a .f, .for, or .ftn are fixed-form source.

There is a discussion of file extensions in the compiler documentation under:
Building Applications > Input and Output Files > Understanding Input File Extensions

.f90 specifies Fortran free-form source and .f, .ftn, or .for specify Fortran fixed-form source.

The details of the source forms is in the compiler documentation under:
Language Reference > Program Structure, Characters, and Source Forms > Source Forms

You can use the /fixed (Windows) -fixed (Linux, Mac) compiler option to have all files treated as fixed-form source
or /free (Windows) -free (Linux, Mac) for free-form source.

You can also write your programs to be compatible with both source forms by following the recommendations
in the compiler documentation under:
Language Reference > Program Structure, Characters, and Source Forms > Source Forms > Source Code Useable for All Source Forms

 

Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.