Difference between revisions of "Applications/Intel"

From HPC
Jump to: navigation , search
m
Line 73: Line 73:
 
|-
 
|-
 
| intel/tbb/64/2016
 
| intel/tbb/64/2016
| Intel Threading Building Blocks (TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance
+
| Intel Threading Building Blocks (TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance (64 bit - XE 2016)
 
|-
 
|-
 
| intel/tbb/64/2016.2.181
 
| intel/tbb/64/2016.2.181
| Intel® Threading Building Blocks (Intel® TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance
+
| Intel® Threading Building Blocks (Intel® TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance (64 bit - XE 2016)
 
|-
 
|-
 
| intel/vtune/32/2016
 
| intel/vtune/32/2016
Line 92: Line 92:
 
|}
 
|}
  
 +
 +
==Compiler Use==
 +
 +
===Prerequisites===
 +
 +
To invoke the compiler from the command line, first you need to load the module
 +
 +
<pre style="background-color: black; color: white; border: 2px solid black; font-family: monospace, sans-serif;">
 +
[user@login01]$ module purge
 +
[user@login01]$ module load intel/compiler/64/2016
 +
</pre>
 +
 +
 +
===Using the Command Line===
 +
 +
To invoke the compiler from the command line, use a command similar to the following:
 +
 +
use a command similar to the following:
 +
 +
* For C source files: '''icc my_source_file.c'''
 +
* For C++ source files: '''icpc my_source_file.cpp'''
 +
* For Fortran source file : '''ifort my_source.f17'''
 +
 +
Following successful compilation, the compiler creates an executable file (usually '''a.out''' if not specified in the command line) in the current directory.
  
  

Revision as of 11:01, 11 April 2017

Application Details

  • Description:
  • Version(s): XE parallel studio 2016, 2017
  • Module(s): intel/2016, intel/compiler/64/2016, intel/ipp/64/11.0, intel/mkl/64/11.3, intel/mpi/64/5.1.3.181, intel/vtune/32/2016.2.181, intel/2017, intel/compiler/64/2016.2.181, intel/ipp/64/9.0.2, intel/mkl/64/11.3.2, intel/tbb/64/2016, intel/vtune/64/2016, intel/advisor/64/2016, intel/inspector/64/2016, intel/itac/64/9.1, intel/mkl/mic/11.3, intel/tbb/64/2016.2.181, intel/vtune/64/2016.2.181, intel/advisor/64/2016.2.181, intel/inspector/64/2016.2.181, intel/itac/64/9.1.2p, intel/mkl/mic/11.3.2, intel/vtune/32/2016
  • Licence: Intel (closed source)

Usage Examples

Intel compilers are optimized to computer systems using processors that support Intel architectures. They are designed to minimize stalls and to produce code that executes in the fewest possible number of cycles. The Intel C++ Compiler supports three separate high-level techniques for optimizing the compiled program: interprocedural optimization (IPO), profile-guided optimization (PGO), and high-level optimizations (HLO). The Intel C++ compiler in the Parallel Studio XE products also supports tools, techniques and language extensions for adding and maintaining application parallelism on IA-32 and Intel 64 processors and enables compiling for Intel Xeon Phi processors and coprocessors.

  • Profile-guided optimization refers to a mode of optimization where the compiler is able to access data from a sample run of the program across a representative input set. The data would indicate which areas of the program are executed more frequently, and which areas are executed less frequently. All optimizations benefit from profile-guided feedback because they are less reliant on heuristics when making compilation decisions.
  • High-level optimizations are optimizations performed on a version of the program that more closely represents the source code. This includes loop interchange, loop fusion, loop unrolling, loop distribution, data prefetch, and more.
  • Inter-procedural optimization applies typical compiler optimizations (such as constant propagation) but using a broader scope that may include multiple procedures, multiple files, or the entire program.

Intel's compiler has been criticized for applying, by default, floating-point optimizations not allowed by the C standard and that require special flags with other compilers such as gcc.

Modules

Area Description
intel/2016 Intel Parallel Studio XE 2016
intel/2017 Intel Parallel Studio XE 2017
intel/advisor/64/2016 Intel Advisor - vectorization optimization and thread prototyping (64 bit - XE 2016)
intel/advisor/64/2016.2.181 Intel Advisor - vectorization optimization and thread prototyping (64 bit - XE 2016)
intel/compiler/64/2016 Intel compiler (64 bit - XE 2016)
intel/compiler/64/2016.2.181 Intel compiler (64 bit - XE 2016)
intel/inspector/64/2016 Intel Inspector - memory and thread debugger (64 bit - XE 2016)
intel/itac/64/9.1.2p Intel Inspector - memory and thread debugger (64 bit - XE 2016)
intel/ipp/64/11.0 Intel Integrated Performance Primitives (IPP) (64 bit)
intel/ipp/64/9.0.2 Intel Integrated Performance Primitives (IPP) (64 bit)
intel/itac/64/9.1 Intel® Trace Analyzer and Collector 2017 is a graphical tool for understanding MPI application behaviour, quickly finding bottlenecks, improving correctness, and achieving high performance for parallel cluster applications. (64 bit)
intel/mkl/64/11.3 Intel Math Kernel Library (MKL) (64 bit)
intel/mkl/64/11.3.2 Intel Math Kernel Library (MKL) (64 bit)
intel/mkl/mic/11.3 Intel Math Kernel Library (MKL)
intel/mkl/mic/11.3.2 Intel Math Kernel Library (MKL)
intel/mpi/64/5.1.3.181 Intel MPI Library (MPI) (64 bit)
intel/tbb/64/2016 Intel Threading Building Blocks (TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance (64 bit - XE 2016)
intel/tbb/64/2016.2.181 Intel® Threading Building Blocks (Intel® TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance (64 bit - XE 2016)
intel/vtune/32/2016 Intel VTune Amplifier - performance profiler (32 bit - XE 2016)
intel/vtune/32/2016.2.181 Intel VTune Amplifier - performance profiler (32 bit - XE 2016)
intel/vtune/64/2016 Intel VTune Amplifier - performance profiler (64 bit - XE 2016)
intel/vtune/64/2016.2.181 Intel VTune Amplifier - performance profiler (64 bit - XE 2016)


Compiler Use

Prerequisites

To invoke the compiler from the command line, first you need to load the module

[user@login01]$ module purge
[user@login01]$ module load intel/compiler/64/2016


Using the Command Line

To invoke the compiler from the command line, use a command similar to the following:

use a command similar to the following:

  • For C source files: icc my_source_file.c
  • For C++ source files: icpc my_source_file.cpp
  • For Fortran source file : ifort my_source.f17

Following successful compilation, the compiler creates an executable file (usually a.out if not specified in the command line) in the current directory.


Further Information

Icon home.png