#pragma ibm sequential_loop Preprocessor Directive (C Only)

The sequential_loop pragma explicitly instructs the compiler to execute the chosen loop sequentially.

Syntax

#pragma ibm sequential_loop
<countable for/while/do loop>

Notes
This pragma disables automatic parallelization of the chosen loop, and is always respected by the compiler.



Program Parallelization
Shared and Private Variables in a Parallel Environment
Countable Loops


Control Parallel Processing with Pragmas


#pragma Preprocessor Directives for Parallel Processing