- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I recently upgraded to version 11.1 of the IVF compiler. I noticed that if I compile the same code with and without the /Qopenmp option the results can sometimes be different even if I'm not using any omp directive in the code. I have been assuming that the result would be the same, is that correct?
In summary, if no omp directives are used, can the /Qopenmp option affect the outcome?
Thanks,
Juan
I recently upgraded to version 11.1 of the IVF compiler. I noticed that if I compile the same code with and without the /Qopenmp option the results can sometimes be different even if I'm not using any omp directive in the code. I have been assuming that the result would be the same, is that correct?
In summary, if no omp directives are used, can the /Qopenmp option affect the outcome?
Thanks,
Juan
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, absolutely. One big difference is that with /Qopenmp, all local variables are allocated on the stack by default, whereas without it, arrays are statically allocated. If your program references uninitialized array elements, you can see a difference.

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