NCCS | User Info | search  

  Intel C and C++


Contents


Introduction

The C compiler on Ram is the Intel C/C++ "ecc" (extended C compiler). It supports the C99 ANSI standard.

ecc ...

The default "ecc" is version 7. A version 8 is also available for use. Use the "module" command to load an alternate version of the compiler. Note that for version 8, the C compiler is named "icc", but "ecc" will still work.


Options

The following options control the amount of debugging information generated by the compiler. They can adversely affect optimization.
-g
Produce symbolic debug information in object file.
For most cases, the usual levels of optimization are appropriate (-O0, -O1, -O2 (default), -O3). Here are a few exceptions.
-tpp2
Target optimization to the Itanium 2 processor.
-prof_gen
Instrument program for profiling.
-opt_report
Generate an optimization report to stderr.
-openmp
Enable the compiler to generate multi-threaded code based on the OpenMP* directives.
-openmp_profile
Link with instrumented OpenMP runtime library to generate OpenMP profiling information for use with the OpenMP component of the VTune(TM) Performance Analyzer.
-parallel
Enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel.


Documentation

See "man ecc" for a full list of compiler options. Note that the man page corresponds to the currently load C module. Thus, you get the version 7 man page by default. After loading the version 8 compiler, a "man icc" will produce the version 8 man page.

SGI and Intel have more information at the following URLs.



phoenix | ram | cheetah | eagle
ornl | nccs | ccs | computers | disclaimer

URL http://www.ccs.ornl.gov/Ram/ecc.html
Updated: Monday, 28-Jun-2004 10:43:26 EDT
consult@ccs.ornl.gov