Intel Compilers
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++ Compiler | 19.0 | additional 5.0 features |
Fortran / C / C++ Compiler | 19.1 | extended 5.0 support |
Fortran / C / C++ Compiler | 2023.1.0, 2021.4.0 | extended 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 website. 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
Intel compiler suite can be accessed via modules (environment modules, software stack) as follows
module avail intel intel-oneapi-compilers
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 intel-mpi
Since the release of Intel products via OneAPI toolkits, the compiler is shipped with LLVM-based compiler drivers such as icx, ifx, icpx together with standard compiler drivers such as icc, icpc, ifort.
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
Links
- Quick Reference Guide to Optimization with Intel® C++ and Fortran Compilers V19
- If you find any problems with the compilers, please first check out the FAQ and Troubleshooting.
- If this does not provide a solution, please contact Support for HPC and Big Data.