Several compiler families are installed on the Atos HPCF. In particular, you will find several versions of the GNU and NVIDIA HPC2020: Compilers.
All the support libraries will be providing an installation for each one of those flavours.
Managing those flavours is easy with modules and the prgenv module.
| Tip |
|---|
You may check the Compilers commands and common flags page for more details on compiler names and most common options for the different families. |
Recommended flags for performance
When building with NVIDIA compilers, they will automatically configure the cpu target for grace.
GCC, however, will only generate code for generic Armv8-A CPU with no additional flags are provided
From GCC 12 onwards, it is possible to specify the following flags to optimise for AG's architecture:
| No Format |
|---|
-O3 -mcpu=grace |
| Note |
|---|
The default system GCC version 11 does not support the |