Using the Intel Compilers for Linux with Debian

Submit New Article

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.



Do you need more help?


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