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
intel20.0 module load intel/20.0

Compiler

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

The Intel compilers are:

  • C: icc
  • C++: icpc
  • Fortran: 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 Rivanna.