Getting Started with the Intel® Visual Fortran Compiler for Windows*

Document number: 307059-017US

The Intel® Visual Fortran Compiler 10.0 compiles Fortran source files on Windows* systems. The compiler is supported on IA-32, Intel® 64, and IA-64 architectures.

You can run the Intel Visual Fortran Compiler from the command line or within the Microsoft Visual Studio* integrated development environment.

The default installation path for the Intel Visual Fortran Compiler is drive:\Program Files\Intel\Compiler\Fortran\10.0.xxx, where xxx represents a 3-digit build number. The term <install-dir> is used in the documentation to refer to this default installation path.

Locating the Documentation

The compiler documentation is installed under <install-dir>\Docs\. See the Documentation Index (Doc_Index.htm) for a short description of each documentation component.

From the Windows program menu select the following to read the Documentation Index:

Intel(R) Software Development Tools >
Intel(R) Fortran Compiler 10.0.xxx >
Documentation

Using the Compiler on the Command Line

To start the compiler from the Windows command line, use the Windows program menu to select:

Intel(R) Software Development Tools >
Intel(R) Fortran Compiler 10.0.xxx >
Build Environment for...

This method opens a Windows command prompt and sets the environment variables for the Intel compiler. To compile a Fortran source file (for example, my_source_file.f90), use this command:

ifort my_source_file.f90

Following successful compilation, an executable named my_source_file.exe is created in the current directory.

Using the Compiler with Visual Studio

The Intel Visual Fortran Compiler integration (optional installation) is supported with the following versions of the Microsoft Visual Studio integrated development environment:

If you do not have one of these Microsoft products on your system, the Intel Visual Fortran installation procedure installs Microsoft Visual Studio 2005 Premier Partner Edition.  

Use the Start>All Programs list to locate and launch Microsoft Visual Studio.

After launching Visual Studio, do the following to use the Intel Visual Fortran Compiler in Visual Studio:

  1. Open, or create, a Visual Studio project.

  2. Select the project in the Solution Explorer pane.

  3. Proceed as usual to build, debug, and run your project.

See the Building Applications section of the compiler documentation for specific details on using the Intel compiler with the version of Visual Studio installed on your system.


Disclaimer and Legal Information

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. Intel products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications.
Intel may make changes to specifications and product descriptions at any time, without notice.

The software described in this document may contain software defects which may cause the product to deviate from published specifications. Current characterized software defects are available on request.

This document as well as the software described in it is furnished under license and may only be used or copied in accordance with the terms of the license. The information in this manual is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Intel Corporation. Intel Corporation assumes no responsibility or liability for any errors or inaccuracies that may appear in this document or any software that may be provided in association with this document.

Except as permitted by such license, no part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without the express written consent of Intel Corporation.

Developers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Improper use of reserved or undefined features or instructions may cause unpredictable behavior or failure in developer's software code when running on an Intel processor. Intel reserves these features or instructions for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from their unauthorized use.

BunnyPeople, Celeron, Celeron Inside, Centrino, Centrino logo, Core Inside, FlashFile, i960, InstantIP, Intel, Intel logo, Intel386, Intel486, Intel740, IntelDX2, IntelDX4, IntelSX2, Intel Core, Intel Inside, Intel Inside logo, Intel. Leap ahead., Intel. Leap ahead. logo, Intel NetBurst, Intel NetMerge, Intel NetStructure, Intel SingleDriver, Intel SpeedStep, Intel StrataFlash, Intel Viiv, Intel vPro, Intel XScale, IPLink, Itanium, Itanium Inside, MCS, MMX, Oplus, OverDrive, PDCharm, Pentium, Pentium Inside, skoool, Sound Mark, The Journey Inside, VTune, Xeon, and Xeon Inside are trademarks of Intel Corporation in the U.S. and other countries.

* Other names and brands may be claimed as the property of others.

Copyright (C) 1996-2007, Intel Corporation.