Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| compilation:intel-cluster-studio [2015/02/27 13:17] – créée admin | compilation:intel-cluster-studio [2017/05/05 10:43] (Version actuelle) – [Compilers Options] admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Intel Cluster Studio XE 2013 ====== | + | ====== Intel Cluster Studio XE 2013 (upgrade 15.0.3) |
| Intel Cluster Studio XE 2013 meets the challenges facing HPC developers by providing, for the first time, a comprehensive suite of tools that enables developers to boost HPC application performance and reliability. It combines Intel’s proven cluster tools with Intel’s advanced threading/ | Intel Cluster Studio XE 2013 meets the challenges facing HPC developers by providing, for the first time, a comprehensive suite of tools that enables developers to boost HPC application performance and reliability. It combines Intel’s proven cluster tools with Intel’s advanced threading/ | ||
| Ligne 20: | Ligne 20: | ||
| Before you start compiling your application, | Before you start compiling your application, | ||
| - | < | + | < |
| - | module load intel/ | + | $ module load intel/ |
| </ | </ | ||
| Ligne 48: | Ligne 48: | ||
| |-fast|Shorthand. '' | |-fast|Shorthand. '' | ||
| |**-O3**|-O2 optimizations plus more aggressive optimizations such as prefetching, | |**-O3**|-O2 optimizations plus more aggressive optimizations such as prefetching, | ||
| - | |**-axAVX**|This option tells the compiler to generate multiple, processor-specific auto-dispatch code paths for Intel processors if there is a performance benefit. It also generates a baseline code path which can run on non-AVX processors. The Intel processor-specific auto-dispatch path is usually more optimized than the baseline path.| | + | |**-axCORE-AVX2**|This option tells the compiler to generate multiple, processor-specific auto-dispatch code paths for Intel processors if there is a performance benefit. It also generates a baseline code path which can run on non-AVX processors. The Intel processor-specific auto-dispatch path is usually more optimized than the baseline path.| |
| |-p |Compiles and links for function profiling with gprof.| | |-p |Compiles and links for function profiling with gprof.| | ||
| |-g| Produces a symbol tables, i.e. line numbers for profiling are available.| | |-g| Produces a symbol tables, i.e. line numbers for profiling are available.| | ||
| Ligne 65: | Ligne 65: | ||
| - | <color blue>**-axAVX -O3 **</ | + | <color blue>**-axCORE-AVX2 -O2 **</ |
| </ | </ | ||
| Ligne 82: | Ligne 82: | ||
| <code bash> | <code bash> | ||
| - | $ icc -axAVX -O3 -fp-model precise -pc 64 pgm.c -o pgm | + | $ icc -axCORE-AVX2 |
| </ | </ | ||
| Ligne 88: | Ligne 88: | ||
| <code bash> | <code bash> | ||
| - | $ ifort -axAVX -O3 -fp-model precise -pc 64 pgm.f -o pgm | + | $ ifort -axCORE-AVX2 |
| </ | </ | ||
| Ligne 94: | Ligne 94: | ||
| <code bash> | <code bash> | ||
| - | $ icpc -axAVX -O3 -fp-model precise -pc 64 pgm.cpp -o pgm | + | $ icpc -axCORE-AVX2 |
| </ | </ | ||
| Ligne 101: | Ligne 101: | ||
| <code bash> | <code bash> | ||
| - | $ icpc -openmp -axAVX -O3 -fp-model precise -pc 64 pgm.cpp -o pgm | + | $ icpc -openmp -axCORE-AVX2 |
| </ | </ | ||
| Ligne 107: | Ligne 107: | ||
| <code bash> | <code bash> | ||
| - | $ ifort -openmp -axAVX -O3 -fp-model precise -pc 64 pgm.f -o pgm | + | $ ifort -openmp -axCORE-AVX2 |
| </ | </ | ||
| ====== Compiler Auto Vectorization ====== | ====== Compiler Auto Vectorization ====== | ||
| Ligne 114: | Ligne 114: | ||
| Using the '' | Using the '' | ||
| - | The Intel compiler can generate a single executable with multiple levels of vectorization with the '' | + | The Intel compiler can generate a single executable with multiple levels of vectorization with the '' |
| Another useful option for the Intel compiler is the '' | Another useful option for the Intel compiler is the '' | ||
| + | ===== Example ===== | ||
| + | Comparing a program, Matrix Multiply (sequential version), compiled with with options: '' | ||
| + | ^Option^Time (s) ^ MFlops ^ | ||
| + | | '' | ||
| + | |'' | ||
| ====== Links ====== | ====== Links ====== | ||
| *https:// | *https:// | ||
| * http:// | * http:// | ||