Description

Intel C and C++ compilers


Software Category: compiler

For detailed information, visit the Intel
website
.

Available Versions

To find the available versions and learn how to load them, run:

module spider intel

The output of the command shows the available Intel
module versions.

For detailed information about a particular Intel
module, including how to load the module, run the module spider command with the module’s full version label. For example:

module spider intel/18.0
ModuleVersion Module Load Command
intel18.0 module load intel/18.0
intel2023.1 module load intel/2023.1
intel2024.0 module load intel/2024.0
The 2024.0 version is experimental. Most users should load an older version for the time being.

Compiler

For general information on building code using compilers, please see our How-To pages:

The Intel compilers are:

<2024 >=2024
C icc icx
C++ icpc icpx
Fortran ifort ifort

Tools

Intel Trace Analyzer and Collector

The Intel Trace Collector is a low-overhead tracing library that performs event-based tracing in applications. The Intel Trace Analyzer provides a convenient way to monitor application activities gathered by the Intel Trace Collector through graphical displays.

To use this tool:

module load intel
source $EBROOTINTEL/parallel_studio_xe_20**.*.***/bin/psxevars.sh}}

Fill in the * with the actual path.

In your Slurm script, replace srun myprog with

#SBATCH -n <number_of_tasks>
...
mpirun -trace -bootstrap slurm -n ${SLURM_NTASKS} myprog

The Slurm variable ${SLURM_NTASKS} will expand to the <number_of_tasks> that you specify in the SBATCH directive.

This will write a trace file (*.stf) that you can analyze with traceanalyzer. You will need to run this on FastX Web MATE desktop environment (recommended) or add the -Y flag when you ssh into the HPC system.