multiple-processes, MP

Creates multiple processes that can be used to compile large numbers of source files at the same time.

IDE Equivalent

Windows: General > Multi-processor Compilation

Linux: None

Mac OS X: None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-multiple-processes[=n]

Windows:

/MP[:n]

Arguments

n

Is the maximum number of processes that the compiler should create.

Default

OFF

A single process is used to compile source files.

Description

This option creates multiple processes that can be used to compile large numbers of source files at the same time. It can improve performance by reducing the time it takes to compile source files on the command line.

This option causes the compiler to create one or more copies of itself, each in a separate process. These copies simultaneously compile the source files.

If n is not specified for this option, the default value is as follows:

This option applies to compilations, but not to linking or link-time code generation.

Alternate Options

None


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.