/Intel(R) C++ Compiler 10.1 for Linux* Installation Guide / Contents * Introduction * System Requirements * Obtaining the Compiler and Tools * Installing the Compiler and Tools * Setting Up the Compiler Environment * Uninstalling the Compiler and Tools * Obtaining Technical Support * Disclaimer and Legal Information Introduction This document explains how to install and configure for use the Intel(R) C++ 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 C++ 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(R) 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(R) II processor, (for example, Intel(R) Pentium(R) 4 processor or Intel(R) Xeon(R) processor), or processors from other manufacturers supporting the same instruction set, running a 32-bit operating system ("Linux x86"). *Intel(R) 64 * Intel(R) 64 Architecture refers to systems based on IA-32 architecture processors which have 64-bit architectural extensions, (for example, Intel(R) Core(TM)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(R) 64 architecture applications. *IA-64* Refers to systems based on the Intel(R) Itanium(R) 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(R) 64 Architecture Host Supported targets: IA-32 and Intel(R) 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(R) 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 * A system based on an IA-32 architecture processor (minimum 450 MHz Intel Pentium(R) II processor or greater - Intel(R) Core(TM)2 processor family recommended), Intel(R) 64 architecture processor, or a system based on a compatible AMD* processor * 512 MB of RAM (1GB recommended). * 100 MB of disk space, plus an additional 200 MB during installation for the download and temporary files. * One of the following Linux distributions (this is the list of distributions tested by Intel; other distributions may or may not work and are not recommended - please contact Intel(R) Premier Support if you have questions): o Asianux* 3.0 o Debian* 4.0 o Fedora* 7, 8 o Red Hat Enterprise Linux* 3, 4, 5 o SUSE LINUX Enterprise Server* 9, 10 o TurboLinux* 11 o Ubuntu* 7.04, 7.10 * Linux Developer tools component installed, including gcc, g++ and related tools * Linux component |compat-libstdc++| providing |libstdc++.so.5 | Requirements to Develop Applications for Intel(R) 64 Architecture Systems or for AMD* 64-bit Processors * A system based on an IA-32 or Intel(R) 64 architecture processor (Intel(R) Core(TM)2 processor family or Intel(R) Xeon(R) processor recommended), or based on an AMD 64-bit processor * 512 MB of RAM (1GB recommended) * 300 MB free hard disk space, plus an additional 300 MB during installation for download and temporary files. * 100 MB of hard disk space for the virtual memory paging file. Be sure to use at least the minimum amount of virtual memory recommended for the installed distribution of Linux * One of the following Linux distributions (this is the list of distributions tested by Intel; other distributions may or may not work and are not recommended - please contact Intel(R) Premier Support if you have questions): o Asianux* 3.0 o Debian* 4.0 o Fedora* 7, 8 o Red Hat Enterprise Linux* 3, 4, 5 o SGI ProPack* 5 o SUSE LINUX Enterprise Server* 9, 10 o TurboLinux* 11 o Ubuntu* 7.04, 7.10 * Linux Developer tools component installed, including gcc, g++ and related tools * Linux component |compat-libstdc++| providing |libstdc++.so.5| * Linux component containing 32-bit libraries (may be called |ia32-libs|) Requirements to Develop IA-64 Architecture Applications * A system based on an Intel(R) Itanium(R) processor. * 512 MB of RAM (1 GB recommended). * 150 MB of disk space, plus an additional 200 MB during installation for the download and temporary files. * One of the following Linux distributions (this is the list of distributions tested by Intel; other distributions may or may not work and are not recommended - please contact Intel(R) Premier Support if you have questions): o Asianux* 3.0 o Debian* 4.0 o Red Hat Enterprise Linux* 3, 4, 5 o SUSE LINUX Enterprise Server* 9, 10 o TurboLinux* 11 * Linux Developer tools component installed, including gcc, g++ and related tools * Linux component |compat-libstdc++| providing |libstdc++.so.5 | 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:* * Compiling very large source files (several thousands of lines) using advanced optimizations such as |-O3, -ipo| and |-openmp|, may require substantially larger amounts of RAM. * The above lists of processor model names are not exhaustive - other processor models correctly supporting the same instruction set as those listed are expected to work. Please contact Intel(R) Premier Support if you have questions regarding a specific processor model * Some optimization options have restrictions regarding the processor type on which the application is run. Please see the documentation of these options for more information. Additional System Requirements for Eclipse* * Use of the Eclipse* Integrated Development Environment on Red Hat Enterprise Linux AS 2.1 has the following additional requirements: o Red Hat AS 2.1 Update 6 o Mozilla* 1.4 Xft or higher or Firefox* 1.0 o For users of the GTK* window system: version 2.2.1 of the GTK+ widget toolkit and associated libraries (GLib, Pango) should be installed. * On Turbo Linux 10 and Red Hat 9.0 systems, the BEA* JRockit* JRE that is provided with the Intel support for Eclipse may not function properly, aborting unexpectedly. Another standard JRE can be substituted for use on these systems. * On SuSE Linux Enterprise Server 8 for IA-32 architecture systems, the Eclipse Integrated Development Environment support will not function properly if used with the GTK* window system. The Eclipse support requires a later version of GTK , version 2.2.1, than what is installed by default with this operating system. Note that upgrading the system to GTK version 2.2.1 is non-trivial. * Complete, fully functioning browser support in the Eclipse Integrated Development environment requires the installation of one of these browsers: o Mozilla 1.4 Xft or higher or Firefox 1.0 On systems where these browsers are not installed by default or available otherwise, such as on a SGI Propack 4 system, an alternate browser, e.g. Konqueror, can be used in the Eclipse Integrated Development environment. Within Eclipse, set it as the browser to be used by selecting Windows->Preferences->General->Web Browser and entering it as the external Web Browser. Note that such a browser cannot be designated as the internal Web Browser within Eclipse, and thus there will be no support available for internal web browsing with this configuration. Obtaining the Compiler and Tools Before installing the compiler and tools, you should check the /Product Downloads/ section of the Intel(R) 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(R) Premier Support, you will first have to register for support as described under Technical Support At the Intel(R) 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_cc_p_10.1.xxx.tar.gz Complete product for IA-32 and Intel(R) 64 architecture application development, including, Intel C++ Compiler, Intel Debugger, Intel C++ Integrations into Eclipse*. New users developing for IA-32 or Intel(R) 64 architecture systems should select this. l_cc_p_10.1.xxx_ia32.tar.gz Compiler, Debugger and Eclipse* Integrations 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_cc_p_10.1.xxx_intel64.tar.gz Compiler and Debugger for Intel(R) 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(R) 64 architecture systems. l_cc_p_10.1.xxx_ia64.tar.gz Compiler, Debugger and Eclipse* Integrations 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(R) C++ Compiler Professional Edition, download and installation of the Intel(R) Integrated Performance Primitives, Intel(R) Math Kernel Library and Intel(R) Threading Building Blocks is separate. Please refer to the Installation Guide and/or Release Notes of those components 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 || and ||, are: * |/opt/intel/cc/10.1.xxx| (for IA-32 and IA-64) * |/opt/intel/cce/10.1.xxx| (for Intel(R) 64) * |/opt/intel/idb/10.1.xxx | (for IA-32 and IA-64) * |/opt/intel/idbe/10.1.xxx| (for Intel(R) 64) 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_cc_x_10.1.xxx.tar| or |> tar -zxvf l_cc_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_cc_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 C++ 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. If you choose the license file option, you must give the complete path to the license file, including the file name and type. 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(R) Premier Support. Registration gives you full access to Intel(R) 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(R) 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. Eclipse* Installation and Configuration Notes The 10.1 versions of the Intel C++ Compiler for the IA-32 and IA-64 architectures installs an Eclipse feature and associated plugins (the Intel C++ Eclipse Product Extension) which provide support for the Intel C++ compiler when added as an Eclipse product extension site to an existing instance of the Eclipse* Integrated Development Environment (IDE). With this feature, you will be able to use the Intel C++ compiler from within the Eclipse integrated development environment to develop your applications. The Intel provided Eclipse product extension resides in |/eclipse_support/{cdt3.1 | cdt4.0}/eclipse| in your compiler installation directory area. Note that beginning with the first 10.1 update, there are actually two Eclipse integrations provided for the Intel C++ compiler. Choose the appropriate Intel integration for the version of Eclipse you are running. The Intel feature provided in the directory |/eclipse_support/cdt3.1/eclipse| supports and requires Eclipse Platform version 3.2.x, Eclipse C/C++ Development Tools (CDT) version 3.1.x and a functional Java Runtime Environment (JRE). The Intel feature provided in the directory |/eclipse_support/cdt4.0/eclipse| supports and requires Eclipse Platform version 3.3.x, Eclipse C/C++ Development Tools (CDT) version 4.0.2 or later and a functional Java Runtime Environment (JRE). If you already have the proper versions of Eclipse, CDT and a functional JRE installed and configured in your environment, then you can install the Intel C++ Eclipse Product Extension in your Eclipse Platform, as described in the section, below, entitled "How to Install the Intel C++ Eclipse Product Extension in Your Eclipse Platform." Otherwise, you will first need to obtain and install Eclipse, CDT and a JRE, as described in the section, below, entitled "How To Obtain and Install Eclipse, CDT and a JRE" and then install the Intel C++ Eclipse Product Extension. How to Install the Intel C++ Eclipse Product Extension in Your Eclipse Platform To add the Intel C++ product extension to your existing Eclipse configuration, follow these steps, from within Eclipse. Open the "Product Configuration" page by selecting: Help > Software Updates > Manage Configuration Under "Available Tasks," select "Add An Extension Location." A directory browser will open. Browse to select the eclipse directory in your Intel C++ compiler installation. For example, if you installed the compiler as root to the default directory, and you wish to add the Intel C++ compiler support to the latest Eclipse platform release, Eclipse 3.3.2, you would browse to| /opt/intel/cc/10.1.xxx/eclipse_support/cdt4.0/eclipse|. If you wanted to add the Intel C++ compiler support to an instance of the earlier Eclipse platform release, Eclipse 3.2.1, you would browse to |/opt/intel/cc/10.1.xxx/eclipse_support/cdt3.1/eclipse|. In either case, when asked to restart Eclipse, select "Yes." When Eclipse restarts, you will be able to create and work with CDT projects that use the Intel C++ compiler. See the Intel C++ Compiler documentation for more information. If you also installed the Intel idb debugger product along with the idb Eclipse product extension, and would like to use idb within Eclipse, you should add the idb product extension site to your Eclipse configuration in the same way. For example, if you installed the idb kit as root to the default directory, you would find the idb Eclipse product extension site at |/opt/intel/idb/10.1.xxx/eclipse_support/cdt4.0/eclipse |or |/opt/intel/idb/10.1.xxx/eclipse_support/cdt3.1/eclipse|. How To Obtain and Install Eclipse, CDT and a JRE If you do not have Eclipse and CDT already, you can download the required components from the eclipse.org website. You will also need a Java Runtime Environment (JRE) if you do not already have one. If you are a first time Eclipse user on IA-32, you should work with the latest release which is Eclipse platform version 3.3.2 and CDT version 4.0.2. This version of Eclipse is also known as the Eclipse Europa release. Since obtaining the Eclipse Europa release bundled with CDT 4.0.1 is straightforward, it is simplest to download the 4.0.1 bundle and then update to 4.0.2.. Note, Eclipse Europa has not been released for the IA-64 platform. If you are working on IA-64, you will have to use the earlier Eclipse release, version 3.2.1. How To Obtain Eclipse Platform 3.3.2 and CDT 4.0.2 To obtain the Eclipse platform and CDT 4.0.1 components, please visit the www.eclipse.org website. Click on the "Download Eclipse" button. This will take you to the "Eclipse Downloads" page. Look down the list of available downloads to find "Eclipse IDE For C/C++ Developers". Select the "Linux" link for this download package. This will take you to the "Eclipse Downloads ? mirror selection" page. You will be downloading a package currently named |eclipse-cpp-europa-fall2-linux-gtk.tar.gz|. The name may change over time as further maintenance releases are posted on eclipse.org. Click on a mirror site close to you and save the tar file to your machine. To obtain the CDT 4.0.2 components, please visit http://download.eclipse.org/tools/cdt/releases/europa/ . Click on the "4.0.2 (Nov 30, 2007)" link. The date may change over time. This will take you to the "Eclipse downloads - mirror selection" page. Click on a mirror site close to you and save the zip file to your machine. How To Obtain Eclipse Platform 3.2.1 and CDT 3.1.1: First, you will need to download the Eclipse "Platform Runtime Binary" for each architecture (IA-32 ("x86") and/or IA-64) that you want to run Eclipse on. The current released version for 3.2.x is 3.2.1. From within your web browser, visit: http://archive.eclipse.org/eclipse/downloads/ Select an Eclipse distribution. Scroll down to the section on that page titled "Platform Runtime Binary." In the list of available downloads, you will see a download for the x86 platform, "Linux (x86/GTK 2)," with file eclipse-platform-3.2.1-linux-gtk.tar.gz. Download this file if you want to use Eclipse on the x86 platform. In the same list, you will see a download for the IA-64 architecture, "Linux (ia64/gtk)", with file |eclipse-platform-3.2.1-linux-gtk-ia64.tar.gz|. Download this file if you want to use Eclipse on the IA-64 architecture. Next, you will need to download the latest release of the Eclipse C/C++ Development Tools (CDT), CDT Runtime Feature, version 3.1.x. The most recent release of CDT 3.1.x is version 3.1.1. In your browser, visit: http://download.eclipse.org/tools/cdt/releases/callisto/dist/3.1.1/ In the list of available "CDT Runtime Feature" downloads, you will see a download for the IA-32 architecture, "Linux/x86", with file |org.eclipse.cdt-3.1.1-linux.x86.tar.gz|. Download this file if you want to use Eclipse on the IA-32 architecture. In the same list, you will see a download for the IA-64 architecture, "Linux/ia64," with file |org.eclipse.cdt-3.1.1-linux.ia64.tar.gz|. Download this file if you want to use Eclipse on the IA-64 architecture. Finally, Eclipse is a Java application and therefore requires a Java Runtime Environment (JRE) to execute. Both the 3.3.2 and the 3.2.x versions of the Eclipse platform will run with a version 1.4.2 or later JRE. Intel recommends the JRockit 5.0 JRE from BEA Systems Inc., although other comparable JREs should work as well. Both the IA-32 and IA-64 architecture versions of the JRockit 5.0 JRE are available at: http://commerce.bea.com/products/weblogicjrockit/5.0/jr_50.jsp Once you have downloaded the appropriate files for Eclipse, CDT, and a JRE, you can install them as follows: 1. Create a directory where you would like to install Eclipse and cd to this directory. This directory will be referred to as ||. For Eclipse platform version 3.3.2 and CDT version 4.0.2, follow steps 2a, 3a and 3b (skip steps 2a and 3a if you already have Eclipse platform and CDT version 4.0.1 installed): 2a. Copy the appropriate Eclipse Europa tar file to the || directory. 3a. Expand the Eclipse Europa tar file. For example: |tar -zxvf eclipse-cpp-europa-fall2-linux-gtk.tar.gz| 3b. (Perform after 4.) Start Eclipse and select Help->Software Updates->Find and Install. Select "Search for new features to install" and click "Next." Click on "New Archived Site," select the file you downloaded, and click "OK." Click "OK" again. "cdt-master-4.0.2.zip" will be added to the "Sites to include in search:." Click "Finish." This will lead to "Updates" window. Expand "cdt-master-4.0.2.zip and select "Eclipse C/C++ Development Tools." Click Next and accept the license terms. Click "Finish" and then "Install." Restart Eclipse as prompted. For Eclipse platform version 3.2.1 and CDT version 3.1.1, follow steps 2b and 3c: 2b. Copy the appropriate Eclipse and CDT tar files to the || directory for the architecture you are working on (IA-32 ("x86") or IA-64). 3c. Expand the Eclipse Platform Runtime Binary tar file first. Then expand the CDT file. For example, on the IA-32 architecture you would: |tar -zxvf eclipse-platform-3.2.1-linux-gtk.tar.gz tar -zxvf org.eclipse.cdt-3.1.1-linux.x86.tar.gz| 4. Install your chosen JRE according to the JRE provider's instructions. You are now ready to launch Eclipse. After you start Eclipse, you can add the Intel C++ product extension to your Eclipse configuration as described in the section, "How to Install the Intel C++ Eclipse Product Extension in Your Eclipse Platform." If you need help with launching Eclipse for the first time, please read the next section. Launching Eclipse for Development with the Intel C++ Compiler If you have not already set your LANG environment variable, you will need to do so. For example, |setenv LANG en_US| Setup Intel C++ compiler related environment variables by executing the iccvars.sh (or .csh) script prior to starting Eclipse: |source /opt/intel/cc/10.1.xxx/bin/iccvars.sh| (where "xxx" is the version number) If you installed the Intel idb debugger integration into Eclipse, and would like to use idb within Eclipse, you should setup the Intel idb environment variables, in a similar fashion, by invoking the idbvars.sh (or .csh) script. Since Eclipse requires a JRE to execute, you must ensure that an appropriate JRE is available to Eclipse prior to its invocation. You can set the PATH environment variable to the full path of the folder of the java file from the JRE installed on your system or reference the full path of the java executable from the JRE installed on your system in the -vm parameter of the Eclipse command, e.g.: |eclipse -vm /JRE folder/bin/java| Invoke the Eclipse executable directly from the directory where it has been installed. For example: |/eclipse/eclipse| Installing on Fedora Core Systems If the Intel C++ Compiler for Linux is installed on an IA-32 architecture Fedora Core system as a "local" installation, i.e. not installed as root, the installation may fail to properly execute the Eclipse graphical user interfaces to the compiler or debugger. The failure mechanism will typically be displayed as a |JVM Terminated| error. The error condition can also occur if the software is installed from the root account at the system level, but executed by less privileged user accounts. The cause for this failure is that a more granular level of security has been implemented on Fedora Core 4, but this new security capability can adversely affect access to system resources, such as dynamic libraries. This new /SELinux/ security capability may require adjustment by your system administrator in order for the compiler installation to work for regular users. Note that this issue affects IA32 architecture systems only, as Fedora Core is not available on IA-64 architecture systems and the Intel C/C++ Compiler integration into Eclipse is not currently supported on Intel(R) 64 architecture systems. Installing the Intel(R) 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(R) 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(R) 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: * Obtain the appropriate license server from Intel(R) Software Development Products Registration Center . The file to use is |flexlm.Linux.ia64.EL3_SGIAltix.tar.Z.| * Install the license server following the instructions in the |flexlm_ug.pdf| documentation file in the compiler package. * To determine the host ID, required to retrieve the license file, log in to the partition from which the license server is to be run, set default (|cd|) to the directory where the Intel License Server is installed (default is |/opt/intel/flexlm|) and perform the following command: | ./lmhostid| * If you do not already have your license, go to the Intel(R) Software Development Products Registration Center and register your product as described in the section above. If you already have a license with an incorrect host ID, submit an issue to Intel(R) Premier Support , providing the serial number of the license file, the results of running lmhostid, an indicator of whether this is a floating license or a node-locked license, and a request that a new license be generated for the new host ID. Be sure to specify that this is for an Altix system by selecting *SGI* Altix* ProPack* * in the Linux* Operating System dropdown list. The Intel customer support team will generate a new license for you with the corrected host ID. Silent Install It is possible to install the Intel C++ 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_cc.sh --run --silent /home/my_account/my_silent.ini| For a downloaded package, use the appropriate path to |data/install_cc.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/cc/10.1.012|) for install tree |--help| Display usage information and exit |--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 C++ 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 |(iccvars.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: * |> source /bin/iccvars.sh(.csh) | to use icc * |> source /bin/idbvars.sh(.csh) | to use idb The installation program also creates compiler configuration files named |/bin/icc.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(R) 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. 1. If you installed as |root|, you will need to log in as |root| 2. To uninstall the compiler: |/bin/uninstall.sh | or if you've installed the compiler to the default directory, use |/opt/intel/cc/10.1.xxx/bin/uninstall.sh| or |/opt/intel/cce/10.1.xxx/bin/uninstall.sh| on Intel(R) 64-based systems 3. To uninstall the debugger: |/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(R) 64-based systems Obtaining Technical Support If you did not register your compiler during installation, please do so at the Intel(R) 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/clin . *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) 2008, Intel Corporation. All Rights Reserved.