For shared memory parallel programming, the Intel® Fortran Compiler supports the OpenMP*, version 1.1 API. The Parallelization capability of the Intel Fortran Compiler uses the following options:
-parallel |
Enables the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel. Default: OFF |
-par_threshold{n} |
Sets a threshold for the auto-parallelization of loops based on the probability of profitable execution of the loop in parallel, n=0 to 100. Default: n=75. |
-par_report{0|1|2|3} |
Controls the auto-parallelizer's diagnostic levels. |
-openmp |
Enables the parallelizer to generate multithreaded code based on the OpenMP directives. Default: OFF |
-openmp_report{0|1|2} |
Controls the OpenMP parallelizer's diagnostic levels. Default: -openmp_report1 |
If both -openmp and -parallel are specified on the command line, then:
- if and only if OpenMP directives
are present within the subroutine, then the -openmp
will be
honored for this subroutine;
- else -parallel will be honored for this routine.