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.
Link Copied
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?
For more complete information about compiler optimizations, see our Optimization Notice.