3 integer, dimension (6, 6) :: a
8 call foo (a (2:4, 3:5), nthreads
)
9 if (nthreads
.eq
. 3) then
11 if (c
.ne
. '999999999999966699966699966699999999') call abort
14 subroutine foo (b
, nthreads
)
16 integer, dimension (3:, 5:) :: b
17 integer :: err
, nthreads
20 !$omp parallel num_threads (3) reduction (+:b)
21 if (any (b
.ne
. 0)) then
26 nthreads
= omp_get_num_threads ()
30 if (err
.gt
. 0) call abort