CRC Wiki
CRC Wiki
Log in

Intel Compiler Suite

From CRC Wiki

General Description

C/C++ source code compiler developed by Intel. Specifically targets Intel 32/64-bit processors.

Basic Usage

C

icc hello.c -o hello

C++

icpc hello.cpp -o hello

Fortran

ifort hello.f90 -o hello

Useful Options

-Wall

Display all errors and warnings during compilation

-O3

Compile at higher optimization level

-g

Enable debug symbols in executable (required for debuggers)

-fp-trap-all=common

Cause the program to abort on floating point divide by zero, invalid operation, and overflow.

-traceback

Tells the compiler to generate extra information in the object file to provide source file traceback information when a severe error occurs at run time.

Further Information

See the official website: Intel Compilers

Documentation for the C/C++ compiler, v.12.0, may be found at:

/afs/crc.nd.edu/x86_64_linux/intel/12.0/composerxe-2011.2.137/Documentation/en_US/documentation_c.htm

Documentation for the Fortran compiler, v.12.0, may be found at:

/afs/crc.nd.edu/x86_64_linux/intel/12.0/composerxe-2011.2.137/Documentation/en_US/documentation_f.htm

Documentation for the Debugger, v.12.0, may be found at:

/afs/crc.nd.edu/x86_64_linux/intel/12.0/composerxe-2011.2.137/Documentation/en_US/debugger/Getting_Started.htm