5.B.2 Using OpenMPChecking Bindings
f90 -check omp_bindings
Enforces runtime binding for orphaning
EG, it’s an error to enter a work sharing construct inside another
f90 -omp turns on checking by default
real b(100)
x = 0
!$omp parallel do
do I=1, 100
b(I) = I
!$omp single
x = x + 1
!$omp end single
enddo
!$omp end parallel do
Previous slide
Next slide
Back to first slide
View graphic version