| April 18, 2009 11:00 PM PDT | |
Introduction :
Using Intel(R) Compilers under Debian (4.0 and 5.0 tested)
For Ubuntu variants, see THIS ARTICLE.
In order to use Intel(R) Compilers ( Fortran or C++ ) under Debian 4.0 or 5.0 you will need the latest 11.0 or 10.1 version of the Intel compiler(s). Older 10.0 and 9.1 versions of the compilers may not work properly.
If you have active support for your compiler, you can download the latest Intel compiler version from
https://registrationcenter.intel.com
BEFORE YOU INSTALL Intel(R) Fortran for Linux or Intel(R) C++ for Linux on your fresh Debian installation, you will first need to install several packages to prepare the system to serve as a development platform:
Check that gcc is installed. By default. Check this with:
gcc --version
If, for some reason, you do not have gcc installed, use Synaptic Package Manager (under 'System' -> 'Administration' menus) OR use apt-get to install gcc:
apt-get install gcc
Next, install g++. This is not installed by default. Again, use Synaptic Package Manager or apt-get to install package "g++"
apt-get install g++
Next, you need to install the 32bit compatibility library libstdc++.so.5. To do this, use apt-get or Synaptic Package Manager to retrieve and install package "libstdc++5"
apt-get install libstdc++5
This package may require installing another package as a prerequisite,
"gcc-3.3-base"
If so, go ahead and install this older gcc package.
For x86-64 architecture, you will also need package 'ia32-libs' to install the 32bit versions of libstdc++.so.5 in /usr/lib32. To do this:
apt-get install ia32-libs
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 greater. 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 prerequisites is complete, you are ready to start the Intel compiler(s) installation. During the installation, you may get a message "Detected operating system Debian* (generic) is not supported", followed by
"Would you like to perform an unsupported install of this product [yes/no] (no)?"
enter "yes"
This will complete the installation.
Using Intel(R) Compilers under Debian (4.0 and 5.0 tested)
For Ubuntu variants, see THIS ARTICLE.
In order to use Intel(R) Compilers ( Fortran or C++ ) under Debian 4.0 or 5.0 you will need the latest 11.0 or 10.1 version of the Intel compiler(s). Older 10.0 and 9.1 versions of the compilers may not work properly.
If you have active support for your compiler, you can download the latest Intel compiler version from
https://registrationcenter.intel.com
BEFORE YOU INSTALL Intel(R) Fortran for Linux or Intel(R) C++ for Linux on your fresh Debian installation, you will first need to install several packages to prepare the system to serve as a development platform:
Check that gcc is installed. By default. Check this with:
gcc --version
If, for some reason, you do not have gcc installed, use Synaptic Package Manager (under 'System' -> 'Administration' menus) OR use apt-get to install gcc:
apt-get install gcc
Next, install g++. This is not installed by default. Again, use Synaptic Package Manager or apt-get to install package "g++"
apt-get install g++
Next, you need to install the 32bit compatibility library libstdc++.so.5. To do this, use apt-get or Synaptic Package Manager to retrieve and install package "libstdc++5"
apt-get install libstdc++5
This package may require installing another package as a prerequisite,
"gcc-3.3-base"
If so, go ahead and install this older gcc package.
For x86-64 architecture, you will also need package 'ia32-libs' to install the 32bit versions of libstdc++.so.5 in /usr/lib32. To do this:
apt-get install ia32-libs
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 greater. 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 prerequisites is complete, you are ready to start the Intel compiler(s) installation. During the installation, you may get a message "Detected operating system Debian* (generic) is not supported", followed by
"Would you like to perform an unsupported install of this product [yes/no] (no)?"
enter "yes"
This will complete the installation.
Do you need more help?
This article applies to: Intel® C++ Compiler for Linux* Knowledge Base, Intel® Fortran Compiler for Linux* Knowledge Base
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (3) 
| November 18, 2010 10:11 AM PST
oscargrouch |
It didn't work for me with the Professional Edition on AMD64 system with Debian 6.0 (squeeze). The installer went all the way to the "Missing Optional Pre-requisite" message. I chose the "Skip missing optional pre-requisites" option, and then the "Install" option. The install failed on each of the five components that it was trying to install. (IA-31 compiler, intel64 compiler, intel64 debugger, IA-32 Math Kernel Library, and intel64 Math Kernel Library.) Typical message installer follows: Installing Intel(R) Fortran Compiler for applications running on IA-32 component... Intel(R) Fortran Compiler for applications running on IA-32 component installation failed. The last installer message was a little surprising: Step no: 7 of 7 | Installation complete ----------------------------------------------------------------- --------------- Thank you for installing and for using the Intel(R) Fortran Compiler Professional Edition for Linux* version 11.1. The install directory is empty. Any ideas about what went wrong? |
| November 19, 2010 4:51 AM PST
OscarGrouch |
This is a follow-up to my previous comment. The install works without a hitch on my AMD64 system with Debian 6.0 (squeeze) IF ALL of the executable files have their execute bits set. Here is the whole sad story: I tried to install from the DVD, but my DVD drive didn't have "exec" permission. My work around was to copy-and-paste the contents of the DVD to a directory under my home directory. But this unset the execute bit of every file so I used my file browser again, to hunt down every executable and reset its execute bit. The problem was that I missed a couple, and I didn't figure it out until after I'd made yesterday's comment. Next time, I'll use a recursive chmod on the command line. |
Trackbacks (0)
Leave a comment 
To obtain technical support, please go to Software Support.
Author
Ronald W. Green (Intel)
|


perceive
115