Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 13 additions & 32 deletions triton/apps/gcc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
GCC
===

.. admonition:: Warning: page not updated for current Triton
:class: warning, triton-v2-apps

This page hasn't been updated since Triton was completely upgraded
in May 2024. The software might not be installed and the old
information below might not work anymore (or might need adapting).
If you need this software, :ref:`open an issue <issuetracker>` and
tell us so we can reinstall/update it.

GNU Compiler Collection (GCC) is one of the most popular compilers for compiling
C, C++ and Fortran programs.

Expand All @@ -27,33 +18,23 @@ Available installations
-----------------------

System compiler is installed only on the login node.
Other versions of GCC are installed as modules.
Other versions of GCC are installed as modules and are all part of one
of our software stacks. To make them available, you need to first load
the appropriate software stack module. Versions labeled "default" are
the ones that have been used to build the rest of that software stack.

.. csv-table::
:delim: |
:header-rows: 1

GCC version | Module name
4.8.5 | none (on login node only)
8.4.0 | gcc/8.4.0
9.3.0 | gcc/9.3.0
11.2.0 | gcc/11.2.0

If you need a different version of GCC, please send a request through the :ref:`issue tracker <issuetracker>`.


Old installations
-----------------
GCC version | Module name | Software stack
11.5.0 | none (on login node only) | none (available by default)
6.5.0 | gcc/6.5.0 | triton/2024.1-gcc
10.5.0 | gcc/10.5.0 | triton/2024.1-gcc
11.4.0 | gcc/11.4.0 | triton/2024.1-gcc
12.3.0 (default) | gcc/12.3.0 | triton/2024.1-gcc
13.2.0 | gcc/13.2.0 | triton/2024.1-gcc
13.3.0 (default) | gcc/13.3.0 | triton/2025.1-gcc

These installations will work, but they are not actively updated.

.. csv-table::
:delim: |
:header-rows: 1

GCC version | Module name
6.5.0 | gcc/6.5.0
9.2.0 | gcc/9.2.0
9.2.0 with (CUDA offloading) | gcc/9.2.0-cuda-nvptx

Other old installations are not recommended.
If you need a different version of GCC, please send a request through the :ref:`issue tracker <issuetracker>`.
47 changes: 12 additions & 35 deletions triton/apps/intelcompilers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,8 @@
Intel Compilers
===============

.. admonition:: Warning: page not updated for current Triton
:class: warning, triton-v2-apps

This page hasn't been updated since Triton was completely upgraded
in May 2024. The software might not be installed and the old
information below might not work anymore (or might need adapting).
If you need this software, :ref:`open an issue <issuetracker>` and
tell us so we can reinstall/update it.

Intel provides their own compiler suite which is popular in HPC settings.
This suite contains compilers for C (``icc``), C++ (``icpc``) and Fortran (``ifc``).
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
Expand All @@ -29,11 +20,14 @@ Choosing a GCC for Intel compilers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

.. code-block:: bash

module load gcc/8.4.0 intel-oneapi-compilers/2021.4.0
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 :doc:`GCC page </triton/apps/gcc>` for more information on available GCC compilers.

Expand All @@ -42,32 +36,15 @@ See :doc:`GCC page </triton/apps/gcc>` for more information on available GCC com
Current installations
---------------------

There are various Intel compiler versions installed as modules.

.. csv-table::
:delim: |
:header-rows: 1

Intel compiler version | Module
2021.2.0 | intel-oneapi-compilers/2021.2.0
2021.3.0 | intel-oneapi-compilers/2021.3.0
2021.4.0 | intel-oneapi-compilers/2021.4.0

If you need a different version of these compilers, please send a request through the :ref:`issue tracker <issuetracker>`.

Old installations
-----------------

These installations will work, but they are not actively updated.
There are various Intel compiler versions installed as modules.
To make them available, you need to first load the appropriate software stack module.

.. csv-table::
:delim: |
:header-rows: 1

Intel compiler version | Module
2019.3 with Intel MPI | intel-parallel-studio/cluster.2019.3-intelmpi
2019.3 | intel-parallel-studio/cluster.2019.3
2020.0 with Intel MPI | intel-parallel-studio/cluster.2020.0-intelmpi
2020.0 | intel-parallel-studio/cluster.2020.0
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

Other old installations are not recommended.
If you need a different version of these compilers, please send a request through the :ref:`issue tracker <issuetracker>`.
2 changes: 1 addition & 1 deletion triton/examples/c/hello-world/hello_gcc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ First, let's load up a GCC module:

.. code-block:: bash

module load gcc/8.4.0
module load triton/2024.1-gcc gcc/12.3.0

Secondly, let's compile the code:

Expand Down
8 changes: 4 additions & 4 deletions triton/examples/c/hello-world/hello_icc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ written in C.
:language: c


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

First, let's load up Intel compilers and a GCC module that ``icc`` will use in the background:
First, let's load up Intel compilers module that ``icx`` will use in the background:

.. code-block:: bash

module load gcc/8.4.0 intel-oneapi-compilers/2021.4.0
module load triton/2025.1-intel intel-oneapi-compilers/2025.0.0

Now let's compile the code:

.. code-block:: bash

icc -o hello hello.c
icx -o hello hello.c

Now we can run the program:

Expand Down
Loading