Enables the parallelizer to generate multi-threaded code based on the OpenMP* directives.
Windows: Language
> Process OpenMP Directives . (/Qopenmp, /Qopenmp_stubs)
Linux: None
Mac OS X: None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
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.
If you use this option, multithreaded libraries are used, but option fpp is not automatically invoked.
This option sets option automatic.
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 systems, when you enable OpenMP*, you must also set the DYLD_LIBRARY_PATH environment variable within Xcode or an error will be displayed.
None
openmp-stubs, Qopenmp-stubs compiler option