Intel Compilers

Description

"Intel Parallel Studio is a software development product developed by Intel that facilitates native code development on Windows and Linux in C++/C and Fortran for parallel computing."

Source: Wikipedia

Installed Versions

You can list the version available with:

module avail intel

Output: (edited for clarity)

-------------- /usr/local/share/modulefiles/Core -----------------   

intel/17 (D)    intel/18    intel/20    intel/20-1

The Intel® Parallel Studio XE 2017  is the default compiler in the cluster as you log in.

Loading the Module

If you just logged into the HPC cluster, you do not need to do anything.

If you are in a different hierarchy, use

module load intel/17

Compiling with Intel Compilers

The Intel Compilers borrow some of the libraries from GCC. By default, this is gcc/4.8.5:

$ icc -v

icc version 17.0.1 (gcc version 4.8.5 compatibility)

Some software might require libraries that are not included in the default version 4.8.5, or that require a later C++ standard. However, the module Hierarchies prevent you from having gcc/6.3.0 and intel/17 loaded at the same time since that would produce module and library compatibility issues. Find the solution to this problem below.

Using GNU 6.3.0 and Intel

In some rare cases, you might need the new GNU libraries when using Intel Compilers. In order to borrow the libraries from the GNU 6.3.0 when using Intel Compilers, we have created a gcc/6 module (this is version 6.3.0) hidden within the base module. This is a different location from the actual gcc/6.3.0 module.  Then loading base first, it allows you to use gcc/6:

In an Intel hierarchy:

$ module load base gcc/6

$ icc -v

icc version 17.0.1 (gcc version 6.3.0 compatibility)

IMPORTANT: We recommend using the default compilers when possible.

Refer to HPC Guide to C/C++  and HPC Guide to Compiling and Linking for more info.