Skip to content

Commit 6d0c6f0

Browse files
authored
Update compiler and module pages
* Update gcc.rst * Update examples/c/hello-world/hello_gcc.rst * Update apps/intelcompilers.rst * Update examples/c/hello-world/hello_icc.rst * triton/tut/modules.rst: Add table of current software stacks
1 parent 3e5dff3 commit 6d0c6f0

File tree

5 files changed

+47
-72
lines changed

5 files changed

+47
-72
lines changed

triton/apps/gcc.rst

Lines changed: 13 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
GCC
33
===
44

5-
.. admonition:: Warning: page not updated for current Triton
6-
:class: warning, triton-v2-apps
7-
8-
This page hasn't been updated since Triton was completely upgraded
9-
in May 2024. The software might not be installed and the old
10-
information below might not work anymore (or might need adapting).
11-
If you need this software, :ref:`open an issue <issuetracker>` and
12-
tell us so we can reinstall/update it.
13-
145
GNU Compiler Collection (GCC) is one of the most popular compilers for compiling
156
C, C++ and Fortran programs.
167

@@ -27,33 +18,23 @@ Available installations
2718
-----------------------
2819

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

3226
.. csv-table::
3327
:delim: |
3428
:header-rows: 1
3529

36-
GCC version | Module name
37-
4.8.5 | none (on login node only)
38-
8.4.0 | gcc/8.4.0
39-
9.3.0 | gcc/9.3.0
40-
11.2.0 | gcc/11.2.0
41-
42-
If you need a different version of GCC, please send a request through the :ref:`issue tracker <issuetracker>`.
43-
44-
45-
Old installations
46-
-----------------
30+
GCC version | Module name | Software stack
31+
11.5.0 | none (on login node only) | none (available by default)
32+
6.5.0 | gcc/6.5.0 | triton/2024.1-gcc
33+
10.5.0 | gcc/10.5.0 | triton/2024.1-gcc
34+
11.4.0 | gcc/11.4.0 | triton/2024.1-gcc
35+
12.3.0 (default) | gcc/12.3.0 | triton/2024.1-gcc
36+
13.2.0 | gcc/13.2.0 | triton/2024.1-gcc
37+
13.3.0 (default) | gcc/13.3.0 | triton/2025.1-gcc
4738

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

50-
.. csv-table::
51-
:delim: |
52-
:header-rows: 1
53-
54-
GCC version | Module name
55-
6.5.0 | gcc/6.5.0
56-
9.2.0 | gcc/9.2.0
57-
9.2.0 with (CUDA offloading) | gcc/9.2.0-cuda-nvptx
58-
59-
Other old installations are not recommended.
40+
If you need a different version of GCC, please send a request through the :ref:`issue tracker <issuetracker>`.

triton/apps/intelcompilers.rst

Lines changed: 12 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,8 @@
22
Intel Compilers
33
===============
44

5-
.. admonition:: Warning: page not updated for current Triton
6-
:class: warning, triton-v2-apps
7-
8-
This page hasn't been updated since Triton was completely upgraded
9-
in May 2024. The software might not be installed and the old
10-
information below might not work anymore (or might need adapting).
11-
If you need this software, :ref:`open an issue <issuetracker>` and
12-
tell us so we can reinstall/update it.
13-
145
Intel provides their own compiler suite which is popular in HPC settings.
15-
This suite contains compilers for C (``icc``), C++ (``icpc``) and Fortran (``ifc``).
6+
This suite contains compilers for C (``icx``), C++ (``icpx``) and Fortran (``ifx``).
167

178
Previously this suite was licensed, but nowadays Intel provides it for free as a part of
189
their
@@ -29,11 +20,14 @@ Choosing a GCC for Intel compilers
2920
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3021

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

3425
.. code-block:: bash
3526
36-
module load gcc/8.4.0 intel-oneapi-compilers/2021.4.0
27+
module load triton/2024.1-gcc gcc/12.3.0 intel-oneapi-compilers/2023.2.1
28+
29+
Intel compilers from ``triton/2025.1-intel`` environment and newer make the relevant
30+
gcc available automatically.
3731

3832
See :doc:`GCC page </triton/apps/gcc>` for more information on available GCC compilers.
3933

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

45-
There are various Intel compiler versions installed as modules.
46-
47-
.. csv-table::
48-
:delim: |
49-
:header-rows: 1
50-
51-
Intel compiler version | Module
52-
2021.2.0 | intel-oneapi-compilers/2021.2.0
53-
2021.3.0 | intel-oneapi-compilers/2021.3.0
54-
2021.4.0 | intel-oneapi-compilers/2021.4.0
55-
56-
If you need a different version of these compilers, please send a request through the :ref:`issue tracker <issuetracker>`.
57-
58-
Old installations
59-
-----------------
60-
61-
These installations will work, but they are not actively updated.
39+
There are various Intel compiler versions installed as modules.
40+
To make them available, you need to first load the appropriate software stack module.
6241

6342
.. csv-table::
6443
:delim: |
6544
:header-rows: 1
6645

67-
Intel compiler version | Module
68-
2019.3 with Intel MPI | intel-parallel-studio/cluster.2019.3-intelmpi
69-
2019.3 | intel-parallel-studio/cluster.2019.3
70-
2020.0 with Intel MPI | intel-parallel-studio/cluster.2020.0-intelmpi
71-
2020.0 | intel-parallel-studio/cluster.2020.0
46+
Intel compiler version | Module | Software stack
47+
2023.2.1 | intel-oneapi-compilers/2023.2.1 | triton/2024.1-gcc
48+
2025.0.0 | intel-oneapi-compilers/2025.0.0 | triton/2025.1-intel
7249

73-
Other old installations are not recommended.
50+
If you need a different version of these compilers, please send a request through the :ref:`issue tracker <issuetracker>`.

triton/examples/c/hello-world/hello_gcc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ First, let's load up a GCC module:
1515

1616
.. code-block:: bash
1717
18-
module load gcc/8.4.0
18+
module load triton/2024.1-gcc gcc/12.3.0
1919
2020
Secondly, let's compile the code:
2121

triton/examples/c/hello-world/hello_icc.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ written in C.
99
:language: c
1010

1111

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

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

1616
.. code-block:: bash
1717
18-
module load gcc/8.4.0 intel-oneapi-compilers/2021.4.0
18+
module load triton/2025.1-intel intel-oneapi-compilers/2025.0.0
1919
2020
Now let's compile the code:
2121

2222
.. code-block:: bash
2323
24-
icc -o hello hello.c
24+
icx -o hello hello.c
2525
2626
Now we can run the program:
2727

triton/tut/modules.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,23 @@ So now we can load it (we can do it in one line)::
213213
cmake version 3.27.7
214214

215215

216+
Available software stacks on Triton
217+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
218+
Below is a list of different sotware stacks on Triton, and the core
219+
compiler used to build the majority of the software in them. These
220+
are only relevant for compiled software, because things like mamba
221+
environments and apptainer containers are essentially independent
222+
software stacks.
223+
224+
.. csv-table::
225+
:delim: |
226+
:header-rows: 1
227+
228+
Software stack | Software availability | Core compiler | Purpose
229+
2024.1-gcc | extensive | GCC 12.3.0 | general use
230+
2025.1-gcc | extensive | GCC 13.3.0 | general use
231+
2025.1-intel | slim | Intel Oneapi Compilers 2025.0.0 | compiling your own code
232+
216233

217234
What's going on under the hood here?
218235
------------------------------------

0 commit comments

Comments
 (0)