Login・Compile
Login
Hostname :uv
Login user :UserID
Compile
Intel Compiler command
ifort [ options ] program.f (support Fortran 77 90 95)
icc [ options ] program.c (support C/C++)
icpc [ options ] program.cpp (support C++)
Optimization Options
Option | Description |
---|---|
-O0 | Disable all optimizations. Using for debugging,,, etc. |
-O1 | Affects code size and locality. Disables specific optimizations. |
-O2 | Default optimizations. Same as -O. |
-O3 | Aggressive optimizations for maximum speed (, but does not guarantee higher performance). |
-fast | Enhances speed across the entire program. |
Parallelization Option
OpenMP | |
---|---|
Option | Description |
-qopenmp | Enables the parallelizer to generate multithreaded code based on OpenMP directives |
| |
---|---|
Option | Description |
-parallel | Enables the auto-parallelizer |
-par-report[0|1|2|3] | Controls the auto-parallelizer diagnostic messages. |
-par-threshold[n] | 0 : loops get auto-parallelized always, regardless of computation work volume. |
| |
---|---|
Option | Description |
-lmpi | link MPI program |
* This option has to specify the end of all option. |