Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

F77 and F90

Cetin_H_
Beginner
84 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
84 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.

Reply