- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. I've encountered an a compiler failure when trying to compile a file with -02 and above. This happens on both 2016 and 2017 versions on Linux. Seems to happen after an inclusion of a parallel openmp simd region. Is threre a way to make the compiler spit out some sort of a report or get any additional insight as to why?
Cannot publish the source code.
- Tags:
- Parallel Computing
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found what was causing it:
#IFDEF A !$omp parallel do simd default(shared) schedule(static) #IFDEF B !$omp simd #ENDIF #ENDIF DO I=AA,BB ... ENDDO
taking out the simd out of 'do simd' fixed it. Is there any difference in inlining the simd clause as opposed to having it on the next directive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Effect of pre-standard simd directive and openmp4 may not be always identical. Ideally compiler should warn about possible conflict.

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