Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

Catasprophic compiler failure

Paulius_V_
Beginner
447 Views

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. 

0 Kudos
2 Replies
Paulius_V_
Beginner
447 Views

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?

0 Kudos
TimP
Honored Contributor III
447 Views
Effect of pre-standard simd directive and openmp4 may not be always identical. Ideally compiler should warn about possible conflict.
0 Kudos
Reply