| 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/
| July 7, 2009 3:02 PM PDT
John Babin |
I too ran into the missing libstdc++.so.5 on Fedora 10. Installer couldn't find it. Don't know if it was there to begin with but did: yum groupinstall "Legacy Software Development" Still no luck, however there was libstdc++.so.5 under /usr/lib64, maybe on a 64 bit system Installer and compiler should be able to figure it out. I did a link: ln -s /usr/lib64/libstdc++.so.5 /usr/lib/libstdc++.so.5 Installer is now happily running. Keeping my fingers crossed on compiles succeeding. |
| July 9, 2009 8:12 AM PDT
angelo1903
|
I installed step by step satifactoriamente!, But: How to know if it is improperly installed, the compiler? enter ifort-V and I get a message stating that no such file! What? |
| July 11, 2009 11:09 PM PDT
srini |
I am having fedora 10 x86-64 oS on my desk top. I would like to install the 64 bit version of fortran and C in it. Downloaded l*intel64 compilers from intel and tried. I solved the libstdc++.so.5 by linking with /usr/lib file. now it says g++ environment missing. I tried yum install g++, it says not available. where do i get it and is there any method to go around it?! |
| July 11, 2009 11:12 PM PDT
srini |
Also please note that I an having copiler versions 11.1, and when yum is executed it searches for x86-64 rpm. will g++ for 64 bit and 32-bit makes any difference? thanks in advance! |
| July 13, 2009 5:35 PM PDT
Kittur Ganesh (Intel)
|
Hi, The procedure to get a quick response and resolution for any issue(s) or question(s) on the product, is to visit the Intel Software Network User Forums (links given below), create and submit a forum post. * The links to all the available forums: http://software.intel.com/en-us/forums/ * Link to the Intel (R) C++ Compiler Forum is: http://software.intel.com/en-us/forums/ * Link to the Intel (R) Parallel Studio Forum is: http://software.intel.com/en-us/forums/intel-parallel-studio/ * Link to the Tools Knowledge Base: http://software.intel.com/en-us/articles/tools Note: The tools knowledge base is a good resource to find a lot of articles, BKM, FAQ etc. With that said, here's some useful info: 1. Please refer to the following forum posts that answers the issue involving libstdc++.so.5 related questions: http://software.intel.com/en-us/forums/intel-c-compiler/topic/63007/ http://software.intel.com/en-us/forums/intel-fortran-compile.....pic/62836/ http://software.intel.com/en-us/forums/intel-c-compiler/topic/61283/ 2). To make sure you've successfully installed the compiler, executing the following command should output the compiler version found in the path: Example: % ifort -V Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 10.1 Build 20090615 .... 3) You can install g++ using yum or apt (ex: "% apt-get install g++") Please use the forums if you have any additional questions or issues in the future, appreciate much. -regards. |
| July 17, 2009 7:51 AM PDT
alexandregadelha |
Hi, I'm using fedora 11 and I'm trying to install intel compiler v11.1.038. During installation process, I received some problems with pre-requisites. they are: Step no: 4 of 7 | Installation configuration - Missing Optional Pre-requisite ----------------------------------------------------------------- --------------- There is one or more optional unresolved issues. It is highly recommended to fix it all before you continue the installation. You can fix it without exiting from the installation and re-check. Or you can quit from the installation, fix it and run the installation again. ----------------------------------------------------------------- --------------- Missing optional pre-requisite -- cannot determine operating system type -- system glibc or kernel version not supported or not detectable ----------------------------------------------------------------- --------------- Well I think that the first information, about operating system type, is determined through some routine that extract this information using uname command. So, typing uname -a, the set of my operating system appears as: [WRF@TUFAO 32]$ uname -a Linux TUFAO 2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun 16 23:19:53 EDT 2009 i686 i686 i386 GNU/Linux The next issue is about glibc or kernel. Typing rpm -qa | grep glibc returns: glibc-2.10.1-2.i686 glibc-devel-2.10.1-2.i586 glibc-headers-2.10.1-2.i586 glibc-common-2.10.1-2.i586 and typing rpm -qa | grep kernel, returns: kernel-PAE-2.6.29.5-191.fc11.i686 kerneloops-0.12-5.fc11.i586 kernel-devel-2.6.29.5-191.fc11.i586 kernel-PAE-devel-2.6.29.4-167.fc11.i686 kernel-headers-2.6.29.5-191.fc11.i586 kernel-firmware-2.6.29.5-191.fc11.noarch kernel-PAE-2.6.29.4-167.fc11.i686 kernel-PAE-devel-2.6.29.5-191.fc11.i686 Skipping these problems with optional pre-requisites, I proceeds with installation and at step 6 I receive the following message: Installing Intel(R) Fortran Compiler for applications running on IA-32 component... Intel(R) Fortran Compiler for applications running on IA-32 component installed successfully. ----------------------------------------------------------------- --------------- Installing Intel(R) Debugger for applications running on IA-32 component... Intel(R) Debugger for applications running on IA-32 component installed successfully. ----------------------------------------------------------------- --------------- Installing Intel(R) Math Kernel Library for applications running on IA-32 component... Intel(R) Math Kernel Library for applications running on IA-32 component installed successfully. But when I type ifort, nothing happens!! When I try to type that inside /opt/intel/Compiler/11.1/038/bin/ia32 directory, the system give me the following message: [WRF@TUFAO ia32]$ ifort ifort: error #10310: Failed to enable trusted storage check for licensing: WARNING: Enable Trusted Storage failed (flexnet error code 2). Trusted Storage based license could I would like to know if someone else had these problems too, and if someone could help me! Thanks a lot !!!!! |
| July 23, 2009 12:07 AM PDT
phantomm |
To alexandregadelha, Hi! I also use Fedora 11, i586, with the same compiler version, and I have the same problems with detecting my system, glib, etc. The only difference that I see is that I install it as a normal user, without root access, and I install it in my home directory. After the installation, when I run "sh ~/intel/Compiler/11.1/038/bin/ia32/ifortvars_ia32.sh" everything is ok - no error is submitted, but the paths are not set to use the ifort binaries and libraries. However, when I run the compiler inside the ifort directory, or invoke it by the full path (~/intel/Compiler/11.1/038/bin/ia32/ifort -o sort1.x sort1.f90) everything is ok. Hope being helpful! |
| August 24, 2009 10:16 PM PDT
mwbromley
|
Thanks for the Fedora hint page... for Fedora 11, before installing the compiler 'yum install compat-libstdc++-33.i586' seemed to do the trick for me on an x86_64 system (as opposed to 'yum install compat-libstdc++-33' which installs to /usr/lib64/libstdc++.so.5). |

English | 中文 | Русский | Français
Kittur Ganesh (Intel)
| ||
Feilong H. (Intel)
|
jst123
35
Registered User