Getting Started With The Intel (R) Fortran Compiler Professional Edition 11.1 For Linux OS
Getting Started With The Intel (R) Fortran Compiler Professional Edition 11.1 For Linux OS
1 for Linux* OS
This guide shows you how to start the Compiler from the command line, how to use Intel Performance Libraries, and where to find additional user and reference information.
Contents
1 2 3 4 Overview .........................................................................................................1 Starting the Compiler from the Command Line ......................................................2 Using Intel Performance Libraries .....................................................................2 User and Reference Documentation .....................................................................3
Overview
The Intel Fortran Compiler compiles Fortran source files on Linux* operating systems. The compiler is supported on IA-32, Intel 64, and IA-64 architectures. The Intel Fortran Compiler operates only from the command line on Linux* operating systems. The Intel Fortran Compiler Professional Edition 11.1 for Linux* OS includes the following components: Intel Fortran Compiler. Intel Math Kernel Library.
Getting Started with the Intel(R) Fortran Compiler Professional Edition 11.1 for Linux* OS
One way to set the environment variables prior to invoking the compiler is to "source" the compiler environment script, ifortvars.sh (or ifortvars.csh):
ia32: Compilers and libraries for IA-32 architectures only. intel64: Compilers and libraries for Intel(R) 64 architectures only. ia64: Compilers and libraries for IA-64 architectures only.
To compile a Fortran source file (for example, my_source_file.f90), use the following command:
ifort my_source_file.f90
Following successful compilation, an executable named a.out is created in the current directory.
NOTE:
The Release Notes contain information about installing Intel Fortran Compiler.
To find technical support information, to register your product, or to contact Intel, please visit: http://www.intel.com/software/products/support. For additional information, see the Technical Support section of your Release Notes. See the registration web site for licensing and registration guidance: https://registrationcenter.intel.com/.
Getting Started with the Intel(R) Fortran Compiler Professional Edition 11.1 for Linux* OS
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. UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or by visiting Intel's Web Site. Intel processor numbers are not a measure of performance. Processor numbers differentiate features within each processor family, not across different processor families. See http://www.intel.com/products/processor_number for details. BunnyPeople, Celeron, Celeron Inside, Centrino, Centrino Atom, Centrino Atom Inside, Centrino Inside, Centrino logo, Core Inside, FlashFile, i960, InstantIP, Intel, Intel logo, Intel386, Intel486, IntelDX2, IntelDX4, IntelSX2, Intel Atom, Intel Atom Inside, 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, Itanium, Itanium Inside, MCS, MMX, Oplus, OverDrive, PDCharm, Pentium, Pentium Inside, skoool, Sound Mark, The Journey Inside, Viiv Inside, vPro 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 2009, Intel Corporation. All rights reserved. Microsoft product screen shot(s) reprinted with permission from Microsoft Corporation.