Using Intel Compilers for Linux with Caos Linux

Using Intel® Compilers under Caos NSA 1.0 Linux

These notes apply to a Caos NSA 1.0 Linux Desktop installation.  Other installation types (server, base, etc) but should be similar but may require the installation of additional packages.

In order to use Intel® Compilers ( Fortran or C++ ) under Caos Linux you will need the latest version of the Intel compiler(s).  Keep in mind that Caos NSA Linux installations are not OFFICIALLY supported by the Intel Compilers.  Please see your ReleaseNotes document with your compiler version for a list of officially supported distributions and versions.

If you have active support for your compiler, you can download the latest Intel compiler version from
https://registrationcenter.intel.com

Follow the directions below after your network connection is configured.  Also, it is recommended that you first update your system to the latest version of Caos.  Open a terminal window as the root user.  Enter the following command to update your Caos installation:

smart update
smart upgrade

BEFORE YOU INSTALL Intel® Fortran for Linux or Intel® C++ for Linux on your fresh Caos NSA Desktop installation, you will first need to install several packages to prepare the system to serve as a development platform:

Check that gcc and g++ are installed. By default. Check this with:

gcc --version
g++ --version

By default you may not have these packages installed.

To prepare the system for the Intel Compilers, add the gcc-c++ and glibc-devel packages.  Open a terminal window as the root user.  Use 'smart' to install the following packages:

smart install gcc-c++
smart install glibc-devel

If you are in a 32bit, also known as "CAOS NSA 1.0 for i386" system, you may proceed with the installation of the Intel compilers (see below).  'uname -m' will return "i686" for this configuration.

For x86-64 architecture, you will also need another package to supply 32bit libraries needed for developing 32bit applications in addition to 64bit applications.  First, determine the version of the 64bit version of glibc-devel that is installed:

smart query glibc-devel

the output should show both the 64bit and 32bit packages and their version.  For example:

glibc-devel-2.8-13.nsa1@i686
glibc-devel-2.8-13.nsa1$x86_64

Note that the versions you see may not match "2.8-13".  You may have a newer or older version available.  Find the 'i686' version and use smart install to fetch and install that package:

smart install glibc-devel-2.8-13.nsa1@i686  

for example.  Use the correct version returned by 'smart query' above, "2.8-13" is just an example to give you the idea.


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 (generic) is not supported", followed by
----------------------------------------------------------------- ---------------
Missing optional pre-requisite
-- operating system type is not supported.
-- system glibc or kernel version not supported or not detectable
-- binutils version not supported or not detectable
----------------------------------------------------------------- ---------------
"Would you like to perform an unsupported install of this product [yes/no] (no)?"

enter "yes"

This will complete the installation.  Keep in mind, you will get this warning from the compiler installer until such time as this particular OS and version are supported. Once installed, you can read the ReadMe notes in ...installdir.../Documentation directory which has a list of the supported Linux distributions and versions.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.