Intel Compilers

Intel provides their own compiler suite which is popular in HPC settings. This suite contains compilers for C (icx), C++ (icpx) and Fortran (ifx).

Previously this suite was licensed, but nowadays Intel provides it for free as a part of their oneAPI-program. This change has had an effect on many module names.

In Triton we have various versions of the Intel compiler suite installed, but only some of them are actively supported.

Basic usage

Choosing a GCC for Intel compilers

Intel uses many tools from the GCC suite and thus it is recommended to have a gcc-module loaded with it:

module load triton/2024.1-gcc gcc/12.3.0 intel-oneapi-compilers/2023.2.1

Intel compilers from triton/2025.1-intel environment and newer make the relevant gcc available automatically.

See GCC page for more information on available GCC compilers.

Hello world in C

Let’s consider the following Hello world-program (hello.c) written in C.

#include <stdio.h>
int main()
{
   printf("Hello world.\n");
   return 0;
}

After downloading it to a folder, we can compile it with Intel C compiler (icx).

First, let’s load up Intel compilers module that icx will use in the background:

module load triton/2025.1-intel intel-oneapi-compilers/2025.0.0

Now let’s compile the code:

icx -o hello hello.c

Now we can run the program:

./hello

This outputs the expected Hello world-string.

Current installations

There are various Intel compiler versions installed as modules. To make them available, you need to first load the appropriate software stack module.

Intel compiler version

Module

Software stack

2023.2.1

intel-oneapi-compilers/2023.2.1

triton/2024.1-gcc

2025.0.0

intel-oneapi-compilers/2025.0.0

triton/2025.1-intel

If you need a different version of these compilers, please send a request through the issue tracker.