parallel, Qparallel

Tells the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel.

IDE Equivalent

Windows: Optimization > Parallelization
Linux: None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -parallel
Windows:  /Qparallel

Arguments

None

Default

OFF Multithreaded code is not generated for loops that can be safely executed in parallel.

Description

This option tells the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel.

To use this option, you must also specify option O2 or O3.

Alternate Options

None

See Also

O compiler option

Optimizing Applications:
Auto-Parallelization Overview

Auto-Parallelization: Enabling, Options, Directives, and Environment Variables