Enables the parallelizer to generate multi-threaded code based on the OpenMP* directives.
Windows: Language > OpenMP* Support
Linux: Language > Process OpenMP Directives
Mac OS X: Language > Process OpenMP Directives
IA-32, Intel® 64, IA-64 architectures
Linux and Mac OS X: | -openmp |
Windows: | /Qopenmp |
None
OFF |
No OpenMP multi-threaded code is generated by the compiler. |
This option enables the parallelizer to generate multi-threaded code based on the OpenMP* directives. The code can be executed in parallel on both uniprocessor and multiprocessor systems.
This option works with any optimization level. Specifying no optimization (-O0 on Linux or /Od on Windows) helps to debug OpenMP applications.
On Mac OS X systems, when you enable OpenMP*, you must also set the DYLD_LIBRARY_PATH environment variable within Xcode or an error will be displayed.
None