Using Intel® Compilers for Linux* Under Red Hat Enterprise Linux* or CentOS

Using Intel Composer XE 2011 (Compiler XE 12.0) and Compiler Pro 11.1 for Linux with RHEL 6



Linux and Mac OS X Compilers Installation Help Center: /en-us/articles/intel-compilers-linux-installation-help



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 distribution NOT in the ReleaseNotes document are NOT tested nor supported. 

Using Intel® Compilers under RHEL 6 by Ron W. Green.  For older RHEL distributions, skip below to information on those older distros.

COMPATIBLE Linux Versions: Beta and recently released versions of RHEL 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 RHEL, you will need the latest version of the Intel compiler(s).   Do NOT try to install older Intel Compilers such as 12.x, 11.0, 10.x, 9.x or 8.x under Fedora Core 16 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):


Also, 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 named package.  Not only does this save download time, this will eliminate your need to install 32bit libraries on the development system.

If you have active support for your compiler, you can download the latest Intel compiler version from the Intel Registration Center at:

BEFORE YOU INSTALL the Intel® Compiler for Linux on your RHEL 6 installation you will need to disable SELinux OR set SELinux to "Permissive".  As root, edit /etc/sysconfig/selinux and either disable SELinux or set it "Permissive" - then reboot.

PREREQUISITE RPM PACKAGES: Hopefully, during the installation of the OS you selected a profile for a "Software Development" configuration.  This installs the proper gcc/g++/binutils and other necessary development packages.  If not, set it up as a development platform.  You will first need to install several packages that are prerequisites to preparing the system to serve as a development platform:

1. Check that GNU gcc and g++ are installed on the system. By default you can simply check by executing the

gcc --version

If for some reason, you do not have gcc installed, then go ahead
and install gcc and g++ on your system. You can use the software package manager “yum” to do the install. Refer
to to learn more on yum.

As root user, in a terminal window:
yum install gcc
yum install gcc-c++

STATIC LIBRARIES:  Do you intend to link statically OR do you intend to use compiler option -fast which includes -static?  Read this article NOW
error "ld: cannot find -lm"

Keep in mind that static linking is being discouraged by the larger linux community.  You may, of course, use -static-intel to statically link the Intel libraries.  However, if you want to also statically link the system libraries in glibc you will need the static versions of glibc.

yum install glibc-static.x86_64

IA32 (only if you want to install the 32bit compiler):
yum install glibc-static.i686

(if yum cannot find the static 32bit versions of glibc-static you will need to find an rpm source.  Use rpmfind or some other web search to find an appropriate 32bit version of glibc-static that matches the 64bit version you installed above with yum).

4. Finally, there is an optional package to consider: The 11.x version of the Intel Compiler for Linux has a graphical
debugger, a new graphical interface for the IDB debugger. If you want to use this debugger, please make sure to
install the JAVA JRE version 1.5 or higher.

check that java JRE is installed:
java -version
java --version

(note: compilers older than 11.1.064 had issues finding installed java JREs.  Please upgrade to new compiler OR ignore the 'missing java' prerequisite check)

If java is missing, you may get the latest JRE from:


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
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

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
./ and follow the instructions.

OLDER COMPILERS and RHEL:  For Intel Compiler Professional Edition v11.1 ONLY:

In addition to the above, if you have an older v11.1 version of the Intel Compilers for Linux, you need to do the following:

You will need to ensure that the 32-bit version of the standard C++ library, (typically found
in /usr/lib/ directory) is installed on the system. The Intel® C++ and Fortran compilers for Linux installation require
the linkage to the 32-bit version of library on all Linux distributions. Failure to do so will result in 
installation failure on library dependencies not met. For more details, refer to the article at:

as root user, in a terminal window, install the compatibilty library for 32bit AND the 32bit glibc-devel libraries
yum install compat-libstdc++-33.i686      (note: name in older RHEL, compat-libstdc++-33.i586)
yum install glibc-devel.i686                     (note: name in older RHEL, glibc-devel.i586)

if you have a 64bit x86_64 RHEL system, you also need to install the 64 bit version of compat-libstdc++
yum install compat-libstdc++-33.x86_64

Once installation of above prerequisites is complete, you are ready to start the Intel compiler(s) installation!

If you have problem even after following this guide, DO NOT leave comments - instead, go to our User Forum and submit a problem report:  For Fortran, and for C++, /en-us/forums/intel-c-compiler/ .

For more complete information about compiler optimizations, see our Optimization Notice.


poonam s.'s picture

i'm geeting this after using" yum install gcc-c++" what to do now
[root@localhost User]# yum install gcc-c++
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package gcc-c++ available.

poonam s.'s picture

yum install gcc-c++  is not working in my red hat. do i need to have subscription???

please provide me asap


saravanan R.'s picture

Recently i have started learning red hat course and doing best .,, monitoring entire system on intel compilers...

may this was useful resource you can find...sysacad,in

Ronald W Green (Intel)'s picture

Having problems that this article doesn't cover?

Don't post a comment here with your problem, it might not get read in a timely manner.

Issues should be discussed in our User Forum:


anonymous's picture

error in the fortran compiler installation in linux 64bit i3 2nd gen machine

ghimire's picture

I have tried to install the intel composer xe 2011.5.220 as well as its mkl in 32 bit i5 HP laptop and desktop to work on Centos 6 platform. I could not install the compiler as it shows missing glibcc, ldso. etc.
could anyone help me to install this compiler or suggest me for some better version of the compiler which is compatible for my system.
I will be very grateful for this help.
M. P. Ghimire

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.