Page tree

On this page

Overview

The C and C++ programming languages are governed by standards committees.

The current International Standard for the C programming language is ISO/IEC 9899:1999. The current American National (ANSI) standard is ANSI/ISO/IEC 9899:1995 which includes three additions and corrections since initial approval in 1990, until ANSI approves the 1999 update.

The current International Standard for the C++ programming language is ANSI/ISO/IEC 14882:1998 which first became a standard in 1998. See http://www.open-std.org/jtc1/sc22/wg21/docs/standards for more information on C++.

Usage

The Intel C compiler is called icc and the C++ compiler is icpc.

You can check the versions installed in Gadi with a module query:

$ module avail intel-compiler

We normally recommend using the latest version available and always recommend to specify the version number with the module command:

$ module load intel-compiler/2021.2.0

For more details on using modules see our modules help guide at https://opus.nci.org.au/display/Help/Environment+Modules.

The following would be of help in most of cases when looking for icc and icpc compiler options:

# Load module, always specify version number.
$ module load intel-compiler/2021.2.0

$ man icc