Versions

The Intel Fortran and C/C++ Compilers are available on all HPC platforms at LRZ. The packages also include a gdb-based debugger.

Presently available versions are listed in the following table.

Product

Version

OpenMP standard support

Fortran / C / C++ Compiler

17.0

extended (but not complete) 4.5 support

Fortran / C / C++ Compiler

18.0

full 4.5 support, some features from 5.0 preview

Fortran / C / C++ Compiler19.0 (Default)additional 5.0 features
Fortran / C / C++ Compiler19.1extended 5.0 support


The extent of compliance with the language standards depends on the version of the compiler.

  • The extent of Fortran standards support is indicated in the Intel website. In particular, the parallel coarray programming model is supported.
  • The current default version of the Intel Fortran Compiler provides a full implementation of the Fortran 2003 standard, plus a significant set of Fortran 2008 and Fortran 2018 features as well as vendor-specific extensions.
  • The extent of C++17 standards support is indicated in the document for C++17 on the Intel web site. That document also contains references to support for earlier C++ standards.
  • The Intel C/C++ Compilers provide ISO/ANSI conforming implementations of the C and C++ languages, respectively.
  • Furthermore, the OpenMP - shared memory and device parallelism - paradigm is supported in all languages.

Usage

The environment modules package provides default versions of the compilers automatically. Issuing

module list

should indicate "intel" among the loaded modules. Otherwise, issue module load intel to get access to the compiler suite.

Note that non-default releases can be selected by loading an explicit version after unloading the default one. Example:

module unload intel
module load intel/18.0
#for MPI
module load mpi.intel

The compiler call for Fortran 77/90/95 is ifort, where either a suitable switch for the language standard to be supported must be provided, or the file extension indicates this (e.g., .f for Fortran 77, .f90 for Fortran 90 free source). 

The C compiler is called via icc, and the C++ compiler must be called via icpc.

For MPI use:  mpif90, mpicc, mpiCC


  • No labels