Using Intel(R) Compilers for Linux under Fedora

Submit New Article

Last Modified On :   April 3, 2009 1:44 PM PDT
Rate
 


Using Intel Compilers for Linux with Fedora

Introduction:

Using Intel® Compilers under Fedora (7, 8, 9, 10)

In order to use Intel(R) Compilers (C++  or  Fortran) under Fedora 9, you will need the latest 11.0 version of the Intel compiler(s). The upcoming compiler version 11.1 (presently in Beta) works properly with Fedora 10. The 10.1 version should work fine with Fedora 8, Fedora 7, and Fedora 6, while much older versions 9.1 or 9.0 may not.

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

         https://registrationcenter.intel.com

BEFORE YOU INSTALL the Intel(R) C++ Compiler for Linux or the Intel(R) Fortran Compiler for Linux, on your fresh Fedora installation, 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
    command:

    gcc --version

    By default, Fedora 9 uses and ships gcc 4.3. 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 http://fedoraproject.org/wiki/Tools/yum to learn more on yum.

    yum install gcc

    Likewise, go ahead and install g++ (this is not installed by default)

2. Next, you will need to ensure that the 32-bit version of the standard C++ library, libstdc++.so.5 (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 libstdc++.so.5 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:

       http://software.intel.com/en-us/articles/performance-tools-for-software-developers-intel-compiler-10x-
       installation-failure-libstdc-failed-dependencies/


    For Fedora 9, libstdc++.so.5 comes from the RPM package compat-libstdc++-33-3.2.3-63.i386.  Please refer to
    your Linux distributor's installation materials for installation procedure, and details thereof on the specific
    compatibility standard C++ library package that provides the required libstdc++.so.5 library.

3. For building a 32-bit application on 64-bit Fedora system, also ensure that the GNU C library glibc is installed. For
   Fedora 9, glibc-2.8-3.i686 has to be installed. Refer to http://fedoraproject.org/ for more details.

4. Finally, there is an optional package to consider: The 11.0 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. This can be done at anytime after the installation of the compiler.
   However, you will get a warning message about 'missing prerequisite' for the JRE - simply ignore that message and
   proceed with the installation. OR to avoid that message and enable the graphical IDE, get the latest JRE from:

        http://java.com/en/download/manual.jsp

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

Notes:
1. To purchase/evaluate: http://software.intel.com/en-us/intel-compilers/
2. To get older compiler versions: http://software.intel.com/en-us/articles/older-version-product/





This article applies to: Intel® C++ Compiler for Linux* Knowledge Base,   Intel® Compilers,   Intel® Fortran Compiler for Linux* Knowledge Base