Intel Compilers
Introduction
An array of software development products from Intel, including C/C++, FORTRAN compilers, Math Kernel Library (MKL), and VTune Performance Analyzer.
Availability
Intel compilers are available on the Glenn and BALE clusters.
Version
| System |
Module Name |
C |
C++ |
Fortran 77 |
Fortran 90 |
| glenn.osc.edu |
intel-compilers-10.0 |
icc |
icpc |
ifort |
ifort |
| bale-login.ovl.osc.edu |
intel-compilers-10.0 |
icc |
icpc |
ifort |
ifort |
Usage
The Intel compilers are made accessible by
loading the appropriate module in your login environment.
Once this has been done, the compilers are available for your
use. The following table lists common compiler options
available in all languages.
| Compiler option |
Purpose |
| -c |
Compile only; do not link |
| -DMACRO[=value] |
Defines preprocessor macro MACRO with
optional value (default value is 1) |
| -g |
Enables debugging; disables optimization |
| -I/directory/name |
Add /directory/name to the list of
directories to be searched for #include
files |
| -L/directory/name |
Adds /directory/name
to the list of directories to be searched for library
files |
| -lname |
Adds the library libname.a
or libname.so to the list of
libraries to be linked |
| -o outfile |
Names the resulting executable outfile
instead of a.out |
| -UMACRO |
Removes definition of MACRO
from preprocessor |
| -O0 |
Disable optimization |
| -O1 |
Light optimization |
| -O or
-O2 |
Heavy optimization (default) |
| -O3 |
Aggressive optimization; may change numerical results |
| -ipo |
Inline function expansion for calls to procedures defined in
separate files |
| -funroll-loops |
Loop unrolling |
| -parallel |
Automatic parallelization |
| -openmp |
Enables translation of OpenMP directives |
The following table lists some options specific to C/C++
| -strict-ansi |
Enforces strict ANSI C/C++ compliance |
| -ansi |
Enforces loose ANSI C/C++ compliance |
The following table lists some options specific to Fortran
| -convert big_endian |
Use unformatted I/O compatible with Sun and SGI systems |
| -convert cray |
Use unformatted I/O compatible with Cray systems |
| -i8 |
Makes 8-byte INTEGERs the default |
| -module /dir/name |
Adds /dir/name to the list of directories searched for
Fortran 90 modules |
| -r8 |
Makes 8-byte REALs the default |
| -fp-model strict |
Disables optimizations that can change the results of
floating point calculations |
Documentation
Vendor documentation can be viewed from
this page.
|