Published:05/14/2014 Last Updated:05/14/2014
First, determine your needs. Most linux users are on 64bit systems with x86_64 versions of linux installed. Do you need to create 32bit applications? In most cases all you care about are 64bit applications and binaries. If you don't need to create 32bit binaries and applications this will eliminate your need to install 32bit libraries on the development system.
Ubuntu 14.04 and above
Ubuntu has deprecated the 32bit libraries. Packages for 32bit development are nearly impossible to find. YOU MUST INSTALL the Intel Compilers for 64bit Intel 64 ONLY.
Run the installer for the Intel compiler package (if you have a Studio package, see below for more info)
At Step 5 of 7, select custom installation:
Step 5 of 7 | Options > Pre-install Summary
--------------------------------------------------------------------------------
Install location:
/home/foo/intel/composer_xe_2013_sp1.3.174
Component(s) selected:
Intel(R) C++ Compiler XE 14.0 Update 3 531MB
Intel C++ Compiler XE
Intel(R) Debugger 13.0 477MB
Intel Debugger
Intel(R) Math Kernel Library 11.1 Update 3 1.9GB
Intel MKL core libraries
Intel(R) Xeon Phi(TM) coprocessor support
Fortran 95 interfaces for BLAS and LAPACK
GNU* Compiler Collection support
Intel(R) Integrated Performance Primitives 8.1 Update 1 2.8GB
Intel IPP single-threaded libraries
Intel(R) Threading Building Blocks 4.2 Update 4 77MB
Intel TBB
GNU* GDB 7.5 119MB
GNU* GDB 7.5 on Intel(R) 64 (Provided under GNU General Public License
v3)
GDB Eclipse* Integration on Intel(R) 64 (Provided under Eclipse Public
License v.1.0)
Install Space Required: 5.6GB
1. Start installation Now [default]
2. Customize installation
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]: 2
Then, at
Step 5 of 7 | Options > Architecture selection
Target Architecture(s) of your applications:
--------------------------------------------------------------------------------
1. [x] IA-32
2. [x] Intel(R) 64
3. Finish architecture selection [default]
Note: This system is an Intel(R) 64 architecture system.
Your application may be built to run on either IA-32 or Intel(R) 64
architectures.
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [3]: 1
By selection "1" you DE-SELECT IA-32 packages and support. Do this, de-select "IA-32" and continue with the installation.
INTEL STUDIO XE users: you must download all component packages individually and install individually. The Studio XE installer does not allow you to de-select 32bit packages.
For users of v13.0 (Composer 2013) and OLDER compilers: First, determine your needs and get the right installation tarball. Most linux users are on 64bit systems with x86_64 versions of linux installed. Do you need to create older 32bit applications? If not, download the Intel 64 ONLY tarball, the *_intel64.tgz package. Not only does this save download time, this will eliminate your need to install 32bit libraries on the development system.
rev history:
November 2012: Ubuntu 12.xx and Intel 13.0.0.079 (Composer XE 2013 initial release) URGENT, Installation will fail without a manual change
Ubu 12.0x changed the link for /bin/sh from /bin/bash to /bin/dash. Intel installation scripts for 13.0.0.079 reference /bin/sh BUT assume/require this is bourne or bash (sh or bash) but are NOT compatible with dash. To get around this problem, do the following before trying to install the Intel compiler:
As root user:
mv /bin/sh /bin/sh.orig
ln -s /bin/bash /bin/sh
Read the following information to continue to configure your system BEFORE you attempt an installation.
Following installation you are free to revert back to linking /bin/sh to /bin/dash if you so desire.
COMPATIBLE Linux Versions: Beta and recently released versions of Ubuntu may NOT be officially supported by Intel Compilers. Please see your ReleaseNotes document with your compiler to find the supported Linux distributions and versions. These instructions are merely to help install the compiler, keep in mind that versions of this linux distribution NOT in the ReleaseNotes document for your compiler version are NOT tested nor supported.
COMPATIBLE Intel Compiler Versions: In order to use Intel® Compilers (C++ or Fortran) under the lastest release of Ubuntu, you will need newer versions of the Intel compiler(s). Do NOT try to install older Intel Compilers such as 12.0, 11.x, 10.x, 9.x or 8.x under Ubuntu 12.xx or newer: they will not install easily and probably will not work - and they are NOT supported. If you need an older Intel Compiler version, please read their ReleaseNotes and obtain an older, supported distribution (read this): http://software.intel.com/en-us/articles/older-version-product
Ubuntu 11.04 through Ubuntu 12.10 :
Composer XE (aka version compiler versions 12.x and 13.x) prerequisites for Ubuntu Desktop, assuming that gcc and g++ are installed already:
apt-get install build-essential
apt-get install gcc-multilib
apt-get install rpm
apt-get install ia32-libs (only needed if you install the 32bit compiler)
apt-get install openjdk-6-jre-headless
UMASK before you install: If you will install as root or use sudo for the installation, check the umask setting for your root user:
# umask
or
sudo bash ; umask
the value should be 0022. If not, set it to 0022 so that the files you install are readable by non-root users:
umask 0022
INSTALLATION:
untar the package tarball in a scratch directory such as /tmp. tar -zxvf l_fcompxe_2013.x.yyy[_intel64 | _ia32].tgz
cd into the extracted directory
./install.sh and follow the instructions.
during the install, you can ignore any warnings about the missing Java prerequisite - it may not recognize openjdk-6-jre-headless.
And like below, IF you are installing OLDER compilers versions 11.1 or older, you will need to install libstdc++.so.5 libs (see below).
08 February 2011: Ubuntu 10.10 and Compiler 12.x aka "Composer XE" notes:
The Intel compiler 12.0 aka Intel Fortran Composer XE 2011 no longer requires libstdc++-5. It now uses libstdc++-6 which is present in newer Ubuntu distributions. Please ignore the notes below for the step to install libstdc++5 UNLESS you have an earlier 11.1 or older compiler.
Read all the instructions below to install gcc, g++, build-essential, rpm etc.
IF you have to install Intel Fortran 11.1 or older, on Ubu 10.10
sudo apt-get install libstdc++5
ELSE
skip libstdc++5, your 12.x compiler uses libstdc++6
END IF
rev history:
29 April 2010: This guide also applies to Ubuntu 10.04.
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.
Notice revision #20110804