Input Files and Filename Extensions

The Intel Fortran Compiler interprets the type of each input file by its filename extension, such as .a, .f, .for, .o, and so on:

Filename

Interpretation

Action

filename.a

Object library

Passed to ld.

filename.f
filename
.ftn
filename
.for
filename
.i

Fortran fixed-form source

Compiled by the Intel® Fortran compiler.

filename.fpp
filename
.F 

filename
.FOR
filename
.FTN
filename
.FPP

Fortran fixed-form source

Must be preprocessed by the Intel Fortran preprocessor fpp before being compiled by the Intel Fortran compiler.

filename.F90

Fortran free-form source

Must be preprocessed by the Intel Fortran preprocessor fpp before being compiled by the Intel Fortran compiler.

filename.f90
filename
.i90

Fortran free-form source

Compiled by the Intel Fortran compiler.

filename.s

Assembly file

Passed to the assembler.

filename.o

Compiled object file

Passed to ld.

You can use the compiler configuration file to specify default directories for input libraries.