Intel® Fortran Compiler 10.1 for Linux*
Installation Guide

Contents

Introduction

This document explains how to install and configure for use the Intel® Fortran Compiler 10.1 for Linux* product. Installation is a multi-step process. Please read this document in its entirety before beginning and follow the steps in sequence. For information about the product contents, including new and changed features, please refer to the separate Release Notes.

If you have an older version of the Intel Fortran Compiler for Linux installed, you do not need to uninstall it before installing this version. If you choose to uninstall the older version, you may do so before or after installing this version.

System Requirements

Processor Terminology

Intel® compilers support three platforms: general combinations of processor and operating system type. This section explains the terms that Intel uses to describe the platforms in its documentation, installation procedures and support site.

IA-32
IA-32 Architecture refers to systems based on 32-bit processors generally compatible with the Intel Pentium® II processor, (for example, Intel® Pentium® 4 processor or Intel® Xeon® processor), or processors from other manufacturers supporting the same instruction set, running a 32-bit operating system ("Linux x86").
Intel® 64
Intel® 64 Architecture refers to systems based on IA-32 architecture processors which have 64-bit architectural extensions, (for example, Intel® Core™2 processor family), running a 64-bit operating system ("Linux x86_64"). If the system is running a 32-bit version of the Linux operating system, then IA-32 architecture applies instead. Systems based on AMD* processors running a "Linux x86_64" operating system are also supported by Intel compilers for Intel® 64 architecture applications.
IA-64
Refers to systems based on the Intel® Itanium® processor running a 64-bit operating system.

Native and Cross-Platform Development

The term "native" refers to building an application that will run on the same platform that it was built on, for example, building on IA-32 architecture to run on IA-32 architecture. The term "cross-platform" or "cross-compilation" refers to building an application on a platform type different from the one on which it will be run, for example, building on IA-32 architecture to run on IA-64 architecture. Not all combinations of cross-platform development are supported and some combinations may require installation of optional tools and libraries.

The following list describes the supported combinations of compilation host (system on which you build the application) and application target (system on which the application runs).

IA-32 Architecture Host
Supported target: IA-32
Intel® 64 Architecture Host
Supported targets: IA-32 and Intel® 64
IA-64 Architecture Host
Supported target: IA-64

Note: Development for a target different from the host may require optional library components to be installed from your Linux Distribution.

Note: Intel® Cluster OpenMP* has different system requirements from that of the compilers. Please refer to the Intel Cluster OpenMP documentation for further details.

Requirements to develop IA-32 architecture applications

Requirements to Develop Applications for Intel® 64 Architecture Systems or for AMD* 64-bit Processors

Requirements to Develop IA-64 Architecture Applications

Note on gcc Versions

The Intel compilers are tested with a number of different Linux distributions, with different versions of gcc. Some Linux distributions may contain header files different from those we have tested, which may cause problems. The version of glibc you use must be consistent with the version of gcc in use. For best results, use only the gcc versions as supplied with distributions listed above.

Notes:

Obtaining the Compiler and Tools

Before installing the compiler and tools, you should check the Product Downloads section of the Intel® Software Development Products Registration Center to see if a newer version or update is available. The version on CD or as listed in your electronic download license letter may not be the most current. In order to download and install a compiler from Intel® Premier Support, you will first have to register for support as described under Technical Support.

At the Intel® Software Development Products Registration Center, the compiler is provided in several different packages to meet your needs. The filenames and descriptions of the packages are:

l_fc_p_10.1.xxx.tar.gz
Complete product for IA-32 and Intel® 64 architecture application development, including, Intel Fortran Compiler and Intel Debugger. New users developing for IA-32 or Intel® 64 architecture systems should select this.
l_fc_p_10.1.xxx_ia32.tar.gz
Compiler and Debugger for IA-32 architecture application development only. Select this if you are updating an earlier installation of the 10.1 compiler and you are developing for IA-32 architecture systems.
l_fc_p_10.1.xxx_intel64.tar.gz
Compiler and Debugger for Intel® 64 architecture application development only. Select this if you are updating an earlier installation of the 10.1 compiler and you are developing for Intel® 64 architecture systems.
l_fc_p_10.1.xxx_ia64.tar.gz
Compiler and Debugger for IA-64 architecture application development only. Select this if you are developing for IA-64 architecture systems either as a new installation or as an update to an earlier 10.1 compiler.

where "xxx" will vary.

If you have licensed Intel® Fortran Compiler Professional Edition, download and installation of the Intel® Math Kernel Library is separate. Please refer to the Installation Guide and/or Release Notes of that component for details.

Installing the Compiler and Tools

If you encounter difficulty with the initial installation or registration process, please visit https://registrationcenter.intel.com/support to request help from Intel.

The default installation directories, referred to elsewhere in this document as <install-dir> and <idb-install-dir>, are:

Note that the path includes the full version number including update number. This means you can keep multiple versions of the compiler installed on the system. If you do not want to keep multiple versions, you can delete the older directories before or after installing the new version.

If you are installing both the Intel C++ Compiler and the Intel Fortran Compiler, they each provide the Intel Debugger. If the update numbers are different between the C++ and Fortran installations, the Intel Debugger update numbers will also differ. If you are installing compilers for both languages which were released at the same time, we recommend that you choose a Custom Install for the Fortran compiler and don't install the Intel Debugger a second time, as the debuggers will be the same. Installing the debugger from the Intel C++ package provides Eclipse* integration.

Perform the following steps to install the compiler.

  1. Unpack the compiler package in a directory to which you have write access.
    > tar -xvf l_fc_x_10.1.xxx.tar
    or
    > tar -zxvf l_fc_x_10.1.xxx.tar.gz
  2. Run the installation script
    Execute the install script in the directory where the tar file was extracted.
    > cd l_fc_x_10.1.xxx
    > ./install.sh

  3. If you are not logged in as root, you will be asked if you want to install as root, install as root using sudo, or to install without root privileges. Installing as root (using sudo if you have that privilege) is recommended, as that will update the system RPM database. Use the install as current user option if you want to install to a private area.
  4. The install script will display a series of options, allowing you to begin installation or view documentation. Type 1 and press enter to begin the compiler installation.
  5. You will then be prompted to enter your Intel Fortran Compiler for Linux serial number. The serial number was provided to you when you purchased the product, either in an e-mail from the reseller or on a sticker attached to the CD-ROM package. You may also choose to enter a path to an existing license file. Make your selection and then follow the prompts.
  6. The install script then does some prerequisite checking and displays which Intel software development tools are installed, if any, and then offers a choice of a Typical Install or a Custom Install. Selection of a Typical Install is recommended - type 1 and press enter.
  7. Press enter again to display the license agreement. After the license agreement is displayed, you are prompted to accept or reject the license. If you accept the license, type accept and press enter. If you reject the license, type reject and press enter to end the install.
  8. The install will then continue - you may be prompted to accept further license agreements, specify install paths or to press enter to proceed through install steps.
  9. At the end of the installation, if you entered a serial number you may be prompted to register for Intel® Premier Support. Registration gives you full access to Intel® Premier Support for the length of your support term (typically one year for licenses purchased with support), including all updates and new versions. Without registering, you will be unable to install or use product updates. Enter your e-mail address, when prompted, to register. (If you already have an Intel® Premier Support account, enter its registered e-mail address.) You will then receive an e-mail with registration information including an initial password. If you do not wish to register, or if you have already registered, press x and press enter to exit.
  10. After registration, the install script exits.

Installation Warning for RPM 4.0.2 and RPM 4.1

RPM 4.0.2 cannot install to a non-default directory. This has been resolved in RPM 4.0.3. RPM 4.1 cannot install to a non-default directory. This has been resolved in RPM 4.11 to 4.2.

Installing the Intel® License Server

If you have a floating, counted or node-locked license, the license must be installed in conjunction with the FLEXlm* license server for Intel software (Intel® License Server), which is available for many popular platforms. The server may be installed on any supported platform accessible on your local network. The compiler CD contains license servers for several Linux distributions. If you do not have the CD, or need a license server for an additional platform, license managers can be downloaded from the Intel® Software Development Products Registration Center . Please note that the Intel License Server is not available for all platforms on which the compiler itself is supported.

Installing the Intel License Server on SGI* Altix* Systems Running SGI ProPack*

If you will be installing the Intel License Server on an SGI* Altix* system running SGI ProPack*, please follow these alternate instructions to ensure correct operation in the partitioned cluster environment:

Silent Install

It is possible to install the Intel Fortran compiler in an automated fashion, where no typed response to prompts is required. This type of install will display some output, but has no user interaction. The steps to do this are as follows:

  1. Create a local copy of the provided silent install configuration template. This is provided on CD as data/silentInstallConfigFile.ini. If you are using a downloaded copy of the product, un-tar it as described above and you will find the file in the data folder. For example:

    cp /mnt/cdrom/data/SilentInstallConfigFile.ini /home/my_account/my_silent.ini

  2. Edit the local copy of the configuration file to accept license agreements and allow for override of existing installations, as appropriate. Make the appropriate local changes to set preferences for installation target directories, etc. The template file contains explanations for each of the fields which may require changes.

  3. Change to root or a superuser account, if appropriate.

  4. Run the installer as follows:

    /mnt/cdrom/data/install_fc.sh --run --silent /home/my_account/my_silent.ini

    For a downloaded package, use the appropriate path to data/install_fc.sh for the location of the unpacked installer.

If there are errors or omissions in the customized configuration file, simply correct the errors and rerun the install.

The following additional switches to the install script are available:

-v
Display verbose internal progress messages
--arch arch-name
Installs only the files specific to the named architecture. Options are ia32, ia64 and intel64
--default
Chooses all default options during the install
--install-path path
Uses specified path (for example, /opt/intel/fc/10.1.012) for install tree
--help
Display usage information and exit
--imagedir path
Uses the specified path as the location of RPM files used during installation
--license-path full-path-with-file-name
Uses the specified location for the license file
-n
Use a non-RPM install even if the system supports RPM.
--tmp-path path
Use the specified path for temporary file extraction

Setting Up the Compiler Environment

The programs in the Intel Fortran Compiler 10.1 for Linux product rely on the environment variables PATH and LD_LIBRARY_PATH. The installation script (install.sh) creates compiler environment script files (ifortvars.sh/idbvars.sh) that set these variables. It is strongly recommended that you add those script files into your login script (.login file). Once the variables are set in the ".login" file there is no need to run the script files for each session.

source the script to setup the compiler environment:

The installation program also creates compiler configuration files named <install-dir>/bin/ifort.cfg that contain common settings for all compilations. You can edit these files to add additional default options. Note, if you install a compiler update package, you need to save the configuration file, if you have modified it, to another filename so that the installation doesn't overwrite your modified file.

If you have any problems running the compiler, please make sure a valid license file (*.lic) is located in the license directory. By default this is /opt/intel/licenses. The compiler uses the environment variable INTEL_LICENSE_FILE to locate the license file. If you still have problems, please submit an issue to Intel® Premier Support. See the Technical Support section of this document for details.

If you have not already done so, please register for support after you install this product. See Obtaining Technical Support below for registration instructions.

Uninstalling the Compiler and Tools

Please follow the steps below to uninstall the Intel Compiler and Debugger.

  1. If you installed as root, you will need to log in as root
  2. To uninstall the compiler:
    <install-dir>/bin/uninstall.sh
    or if you've installed the compiler to the default directory, use
    /opt/intel/fc/10.1.xxx/bin/uninstall.sh or
    /opt/intel/fce/10.1.xxx/bin/uninstall.sh on Intel® 64 architecture systems
  3. To uninstall the debugger:
    <idb-install-dir>/bin/uninstall.sh
    or if you've installed the debugger to the default directory, use
    /opt/intel/idb/10.1.xxx/bin/uninstall.sh or
    /opt/intel/idbe/10.1.xxx/bin/uninstall.sh on Intel® 64 architecture systems

Obtaining Technical Support

If you did not register your compiler during installation, please do so at the Intel® Software Development Products Registration Center. Registration entitles you to free technical support, product updates and upgrades for the duration of the support term.

For information about how to find Technical Support, Product Updates, Users Forums, FAQs, tips and tricks, and other support information, please visit: http://www.intel.com/software/products/support/flin.

Note: If your distributor provides technical support for this product, please contact them for support rather than Intel.

Disclaimer and Legal Information

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL(R) 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.

Celeron, Centrino, Intel, Intel logo, Intel386, Intel486, Intel Core, Itanium, MMX, Pentium, VTune, and Xeon 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) 2007, Intel Corporation. All Rights Reserved.