Skip to main content
Print

Intel Compilers

Intel Compilers help create C, C++ and Fortran applications that can take full advantage of the advanced hardware capabilities available in Intel processors and co-processors. They also simplify that development by providing high level parallel models and built-in features like explicit vectorization and optimization reports.

Intel compilers can be loaded in your system by the following command

module load intel/<version>

Compilation examples

For compiling a C code into an executable using the Intel C compiler, the following command should be used

icc hello.c -o hello

For compiling a C++ code into an executable using the Intel C++ compiler, the following command should be used

icpc hello.cpp -o hello

For compiling a Fortran code into an executable using the Intel Fortran compiler, the following command should be used

ifort hello.f90 -o hello

To take a look at a detailed description on any of these compilers, you can use the man command as follows

man ifort or man icpc or man icc

The following links are to Intel’s website for more information on the compilers:

Table of Contents