Visible to Intel only — GUID: GUID-5C971257-3893-46E6-8BA5-0C2C003CA5E5
Visible to Intel only — GUID: GUID-5C971257-3893-46E6-8BA5-0C2C003CA5E5
Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
This document is for version 2021.11 of Intel® Fortran Compiler Classic (ifort) and version 2024.0 of Intel® Fortran Compiler (ifx).
Intel® Fortran Compiler Classic (ifort) is now deprecated and will be discontinued in October 2024. Intel recommends that customers transition now to using the LLVM-based Intel® Fortran Compiler (ifx) for continued Windows* and Linux* support, new language support, new language features, and optimizations.
For the latest information on transitioning from ifort to ifx, see the Porting Guide for ifort Users to ifx.
This developer guide provides information about Intel® Fortran Compiler Classic (ifort) and its runtime environment, and about Intel® Fortran Compiler (ifx), which is a new compiler based on the Intel Fortran Compiler Classic (ifort) frontend and runtime libraries, using LLVM backend technology.
Refer to the Intel® Fortran Compiler product page and the Release Notes for more information about features, specifications, and downloads.
Use this guide to learn about:
- Compiler Setup: How to invoke the compiler on the command line or from within an IDE.
- Compiler Options: Information about options you can use to affect optimization, code generation, and more.
- Language Reference: Information on language syntax and semantics, on adherence to various Fortran standards, and on extensions to those standards.
- OpenMP* Support: Details about compiler support for OpenMP 5.0 Version TR4 features and some OpenMP Version 5.1 features.
- Fortran Language Extensions: Information on using additional implementation features, including creating a Component Object Model server, generating listing and map files, and more.
- Mixed-Language Programming: Information about Fortran and C interoperable procedures and data types, as well as various specifics of mixed-language programming.
- Runtime Error Messages: Information about the errors processed by the Intel® Fortran runtime library (RTL).
For more information, refer to Introducing the Intel® Fortran Compiler Classic and Intel® Fortran Compiler.
Notices and Important Information
In this document, you may see features labeled as experimental. An experimental feature is one that requires further testing and possible refinement. Depending on testing results, such features may be fully defined and implemented or they may be removed in a future release.
Support for 32-bit targets is deprecated in ifort and may be removed in a future release. ifx does not support 32-bit targets.
macOS is no longer supported for Intel® Fortran Compiler Classic (ifort).
Starting with the 2024.0 release, macOS is no longer supported in Intel® oneAPI Toolkits and components.
Using the Compiler Documentation
- Context Sensitive/F1 Help: To use the Context Sensitive/F1 Help feature, visit the Download Documentation: Intel® Compiler (Current and Previous) page and follow the provided instructions.
- Download Previous Versions of the Developer Guide and Reference :Visit the Download Documentation: Intel® Compiler (Current and Previous) page to download PDF or FAR HTML versions of previous compiler documentation.
For the best search experience, use a Google Chrome* browser to view your downloaded copy of the Intel Fortran Compiler Developer Guide and Reference.
If you use Mozilla Firefox*, you may encounter an issue where the Search tab does not work. As a workaround, you can use the Contents and Index tabs or a third-party search tool to find your content.