The omp parallel for directive effectively combines the omp parallel and omp for directives. This directive lets you define a parallel region containing a single for directive in one step.
Syntax
#pragma omp parallel for [clause[ clause] ...] <for_loop>
All clauses and restrictions described in the omp parallel and omp for directives apply to the omp parallel for directive.
Program Parallelization
Shared and Private Variables in a Parallel Environment
Countable Loops
Control Parallel Processing with Pragmas
#pragma Preprocessor Directives for Parallel Processing
OpenMP Run-time Options for Parallel Processing
#pragma omp parallel Preprocessor Directive
#pragma omp for Preprocessor Directive