- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I see two openmp-related compiler option, but I cannot determine what each one does? In VisualStudio, option /assume:[no]cc_omp is listed under the Fortran-PreProcessor propery tab as "OpenMP Conditional Compilation". The other option, /Qopenmp-stubs, is listed under the Fortran-Language property tab as "Process OpenMP Directives. How are these two options related? Do you need both on for an OpenMP code to run?
Thanks,
John
I see two openmp-related compiler option, but I cannot determine what each one does? In VisualStudio, option /assume:[no]cc_omp is listed under the Fortran-PreProcessor propery tab as "OpenMP Conditional Compilation". The other option, /Qopenmp-stubs, is listed under the Fortran-Language property tab as "Process OpenMP Directives. How are these two options related? Do you need both on for an OpenMP code to run?
Thanks,
John
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To run OpenMP code you just need the /Qopenmp option, which is Language > Process OpenMP Directives in the Microsoft Visual Studio IDE. The other switches youmention would not be needed to compile OpenMP code.
The /assume:[no]cc_omp is an option to allow conditional compilation of Fortran code (not necessarily Openmp directives) depending on whether the /Qopenmp is specfied.
The /Qopenmp-stubs is used to add the openmp stub library to the link line so that if you want to run your OpenMP code serially it will work.
The best resource to learn more about switches in the IDE or command line is our documentation which is installed on your system on the Start Menu under our product or posted here:
http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/fortran/win/index.htm
The /assume:[no]cc_omp is an option to allow conditional compilation of Fortran code (not necessarily Openmp directives) depending on whether the /Qopenmp is specfied.
The /Qopenmp-stubs is used to add the openmp stub library to the link line so that if you want to run your OpenMP code serially it will work.
The best resource to learn more about switches in the IDE or command line is our documentation which is installed on your system on the Start Menu under our product or posted here:
http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/fortran/win/index.htm
------
Wendy

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page