Alfasoft is an Authorized Intel Elite Reseller, and we offer Intel Software World Wide!
Interested in buying a license? Please contact us via email (info (at) alfasoft.com), chat (https://www.alfasoft.link/Intelchat) or phone (+46 31 604 380).
The Intel® Fortran Compiler compiles Fortran source files for Intel® 64 and IA-32 architectures.
Start using the compiler from the command line or within Microsoft Visual Studio*.
You must have a version of Microsoft Visual Studio* installed to use the compiler.
The compiler integrates into the following versions of Microsoft Visual Studio*:
- Visual Studio* 2019
- Visual Studio* 2017
- Visual Studio* 2015
For full functionality within Visual Studio, including debugging and development, Visual Studio* Community Edition or higher is required. Visual Studio* Express Edition allows only command-line builds. For all versions, Microsoft C++ support must be selected as part of the Visual Studio install. For Visual Studio* 2015 and later, you must use a custom install to select this option.
You typically do not need to set the environment variables on Windows*, as the compiler command-line window sets these variables for you automatically. But if you need to set the environment variables, run the environment script as described in the edition-specific Get Started documentation.
Using Microsoft Visual Studio
Building a Binary
To use the Intel® compiler:
- Launch Microsoft Visual Studio*.
- Select File > New > Project.
- In the New Project window, select a project type under Intel(R) Visual Fortran.
- Select a template and click OK.
- Select Build > Build Solution.
The results of the compilation are displayed in the Output window.
Setting Compiler Options
- Select Project > Properties. The Property Page for your solution appears.
- Locate Fortran in the list and expand the heading.
- Step through the available properties to select your configuration.
Using the Command Line
Follow these steps to invoke the compiler from the command line:
- Open a command prompt.
- Windows 10
Open the Start menu, and under the Intel Parallel Studio XE 2019 product group, select a compiler command prompt.
- Other versions of Windows*
Open the Start menu and under Intel Parallel Studio XE 2019 > Compiler and Performance Libraries > Command prompt with Intel Compiler, select a build environment.
- Windows 10
- Invoke the compiler as follows:
- ifort [options... ] inputfile(s) [/link link_options]
- Use the command ifort /help to display all available compiler options.