Intel® Fortran Compiler 10.1 for Mac OS* X
Installation Guide

Contents

Introduction

This document explains how to install and configure Intel® Fortran Compiler 10.1 for Mac OS* X. 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.

System Requirements

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.

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.

Pre-Installation Instructions

To install the Intel® Fortran Compiler, you need to obtain an account with administrative (root) privilege. Any normal account with "User" privilege can use the Intel® Fortran Compiler through the Xcode IDE or the command line.

Note: The installation master directory referred to as <install-dir> in this document, is

where xxx represents the compiler package revision number (e.g. 10.1.005).

The Intel® Debugger installation master directory is referred to as <idb-install-dir> and is /opt/intel/idb/10.1.xxx (32-bit) or /opt/intel/idbe/10.1.xxx (64-bit).

The recommended installation order is as follows:

  1. Xcode
  2. Install Intel® Fortran Compiler 10.1 for Mac OS* X

Installation Instructions

  1. If you received the compiler product on CD-ROM, insert the CD. Locate the disk image file (e.g. m_fc_x_10.1.005.dmg) on the CD and double-click. If you received the compiler product as a download, double-click the downloaded file, which will have a name of the form m_fc_x_10.1.xxx.dmg.
  2. Open the disk image file. Locate and click Install.
  3. The Intel® Fortran Compiler Installer will appear. (The installer provides links to several important documents.) Click Continue.
  4. Select a license option. Follow the instructions on screen. When ready click Continue.
  5. A new screen appears. Click Install. (If the compiler is already installed, the option is Upgrade.)
  6. Information about using the Intel Compiler and finding the documentation will appear. Read the information, and click Continue.
  7. The Software License Agreement appears. Read the license agreement, and click Continue. (You are prompted to accept or reject the license agreement.)
  8. Select the Volume for the installation destination folder. Click Continue.
  9. A new screen appears. Click Install or Customize. (If the compiler is already installed, the options are Upgrade or Customize). To deselect items to install, click Customize. If you want all components, click Install or Upgrade.

    If you clicked Customize, you can deselect the components to install by removing the check from the component name. (A Standard Install option is available; use this to install all components.) Click Install.
  10. The installer installs the selected components on your system. Click Close.
  11. Click Continue.
  12. Click Finish on the final screen to exit the installer.
  13. Reboot the system to make the Xcode support for the Intel compiler

Note: After completing the installation, you will be asked to register your product.

Note: If you install a new version of Xcode at any time, you must uninstall and reinstall the Intel Fortran Compiler.

Silent Install

It is possible to install the product in a manner that does not require user interaction. Note that this installation mode is not truly "silent" in that there is information displayed on the screen showing the installation progress.

To install the compiler in the "silent" mode:

  1. Mount the product dmg file with required content using Finder, for example, by double-clicking on the dmg file.

  2. Start a Terminal program from the Utilities group.

  3. Using Terminal do the following:

    1. Copy the contents of the mounted image to a local folder, for example

      cp -pR /Volumes/m_fc_p_10.1.00x /Users/m_fc_p_10.1.00x

    2. Change directory to the local instman folder inside the folder you copied in (a), for example:

      cd /Users/m_fc_p_10.1.00x/instman

    3. Export DYLD_LIBRARY_PATH=<instman folder>, for example:

      export DYLD_LIBRARY_PATH=/Users/m_fc_p_10.1.00x/instman:$DYLD_LIBRARY_PATH

    4. (optional) Make changes to si_issa.xml configuration file to change the default settings, see details below.

    5. Run ./si_sicore with options as described below.

si_sicore options

Use one of the following options on the command line when running si_sicore. These options override any settings in the si_issa.xml file:

-n ABCD-1234567
Install using the specified serial number
-l full-path-to-license-file
Install using the specified license file. The full path including file name and extension must be specified
-c path-to-configuration-file
Install using the parameters specified in the configuration file (see si_issa.xml below)
si_issa.xml file

The default configuration file si_issa.xml is available in the instman folder. You can use the script file pre_sinstall.sh available in the instman folder to generate a silent install configuration file. Here is an example of the format of this configuration file

<Product sinstall="yes">
     <Package pkg_id="1" sinstall="yes">../setup/dist_10.1.009.mpkg/Contents/Packages/ifort_10.1.009.pkg</Package>
     <Package pkg_id="2" sinstall="no">../setup/dist_10.1.009.mpkg/Contents/Packages/iforte_10.1.009.pkg</Package>
     <Package pkg_id="3" sinstall="no">../setup/dist_10.1.009.mpkg/Contents/Packages/idb_10.1.009.pkg</Package>
     <Package pkg_id="4" sinstall="no">../setup/dist_10.1.009.mpkg/Contents/Packages/idbe_10.1.009.pkg</Package>

   <SerialNumber>ABCD-1234567</SerialNumber>
   <LicenseFile>path-to-license-file</LicenseFile>

   <Registration register="no">
        <fname>Bob</fname>
        <lname>Smith</lname>
        <email>Bob.Smith@example.com</email>
        <country>US</country>
        <company>Example Corporation</company>
   </Registration>

   <Proxy>
       <port>nnnn</port>
       <host>xxxxx</host>
   </Proxy>

</Product>

Note: the pkg_id attribute under <Package pkg_id="1"> will set the order in which the tools will be installed. You can change the install order based on dependencies between installed packages. Include the <Proxy> section only if a web proxy server is required to reach the Intel® Software Development Products Registration Center web server.

Setting Up the Compiler Environment

The programs in the Intel Fortran Compiler product rely on the environment variables PATH, DYLD_LIBRARY_PATH, and LD_LIBRARY_PATH. The compiler installation program 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.

You can gain a quick understanding of compiler operation by executing the procedures in the Getting Started with the Intel(R) Fortran Compiler 10.1 for Mac OS* X document. You can view the getting started information by locating and opening the file alias in the <install-dir> folder; the file alias is Getting Started with the Intel(R) Fortran Compiler. (The alias target file is <install-dir>/doc/Getting_Started.html.)

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 /Users/Shared/Library/Application\ Support/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 the topic Obtaining Technical Support below for registration instructions.

Uninstalling the Compiler and Tools

Please follow the steps below to uninstall the Intel Compiler and Debugger. These steps must be done by a user with root privileges. (See su or sudo for additional information on gaining root privileges.)

  1. Open Terminal.
  2. Change to the root directory.
  3. To uninstall the compiler, enter a command similar to the following:

    <install-dir>/bin/uninstall.sh
  4. To uninstall the debugger, enter a command similar to the following:

    <idb-install-dir>/bin/uninstall.sh

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/fmac.

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) 2009, Intel Corporation. All Rights Reserved.