Visible to Intel only — GUID: GUID-01B0E2D7-49AE-49CF-A923-F2AD826C0D05
Visible to Intel only — GUID: GUID-01B0E2D7-49AE-49CF-A923-F2AD826C0D05
MP
Creates multiple processes that can be used to compile large numbers of source files at the same time.
Syntax
Linux: |
None |
Windows: |
/MP[processMax] |
Arguments
processMax |
Optional. 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 causes the compiler to create one or more copies of itself, each in a separate process. Then these instances simultaneously compile the source files. In some cases, the total time to build the source files can be significantly reduced, thus improving performance.
If you do not specify processMax, the compiler retrieves the number of effective processors on the computer from the operating system, and creates a process for each processor.
This option applies to compilations, but not to linking or link-time code generation.
IDE Equivalent
Alternate Options
None