Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

F77 and F90

Cetin_H_
Beginner
185 Views

Hello.

Is their a possibility to handle F77 fixed format FORTRAN-files and F90 free format FORTRAN-files with an option automatically or have I insert manually the -free option?

Thanks in Advance.

Regards
Cetin

0 Kudos
1 Reply
Kevin_D_Intel
Employee
185 Views

Sure, the format of the file can be implied via the file extension. The compiler assumes:

  • Files with an extension of .f90, .F90, or .i90 are free-format source files.
  • Files with an extension of .f, .for, .FOR, .ftn, or .i are fixed-format files.

Refer to the Fortran User's Guide topic Understanding File Extensions for more details.

0 Kudos
Reply