4 !$omp parallel num_threads (4)
7 if (i
.ne
. 21) call abort
8 !$omp parallel num_threads (4)
11 if (i
.ne
. 64) call abort
12 !$omp parallel num_threads (4)
15 if (i
.ne
. 14) call abort
29 !$omp do lastprivate (i)
36 !$omp do lastprivate (i)
47 !$omp do lastprivate (i)
48 do i
= -10, 11, ret3 ()
53 !$omp parallel do lastprivate (j) num_threads (4) default (none)
56 if (j
.ne
. 21) call abort
60 !$omp parallel do lastprivate (j) num_threads (4) default (none)
63 if (j
.ne
. 64) call abort
67 !$omp parallel do lastprivate (j) num_threads (4) default (none)
68 do j
= -10, 11, ret3 ()
70 if (j
.ne
. 14) call abort
75 !$omp parallel do lastprivate (i) num_threads (4) default (none)
78 if (i
.ne
. 21) call abort
83 !$omp parallel do lastprivate (i) num_threads (4) default (none)
86 if (i
.ne
. 64) call abort
91 !$omp parallel do lastprivate (i) num_threads (4) default (none)
92 do i
= -10, 11, ret3 ()
94 if (i
.ne
. 14) call abort
99 !$omp parallel num_threads (4) default (none) shared (i)
100 !$omp do lastprivate (i)
104 if (i
.ne
. 21) call abort
105 end subroutine test10
109 !$omp parallel num_threads (4) default (none) shared (i)
110 !$omp do lastprivate (i)
114 if (i
.ne
. 64) call abort
115 end subroutine test11
119 !$omp parallel num_threads (4) default (none) shared (i)
120 !$omp do lastprivate (i)
121 do i
= -10, 11, ret3 ()
124 if (i
.ne
. 14) call abort
125 end subroutine test12
126 end program lastprivate