Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Specify Fortran File Extensions

You can specify additional Fortran free format and fixed format file extensions to be recognized as valid file extensions within the IDE. The IDE treats these additional extensions as compilable Fortran source files. You can also remove or modify existing extensions.

When you add a new extension, the IDE checks the registry to determine whether the extension is already associated with a language, tool, or file format. If there is such an association, a message informs you of this and you will not be allowed to add the extension.

Specify Fortran File Extensions

To specify the Fortran file extensions:

  1. Open Tools > Options.

  2. In the left pane, go to Intel Compilers and Libraries > IFORT Intel Fortran Classic > General for ifort or Intel Compilers and Libraries > IFX Intel Fortran > General for ifx.

  3. Specify one or more Fortran File Extensions, each beginning with a period and separated by semi-colons. You can specify extensions for both Free Format Extensions and Fixed Format Extensions. Click OK.

These new settings take effect the next time you start Microsoft Visual Studio*.