3 implicit none (type, external)
6 !$omp teams num_teams (5)
7 if (omp_get_num_teams () /= 5) stop 1
8 !$omp distribute dist_schedule(static,1)
10 if (omp_get_team_num () /= i
) stop 2
14 !$omp teams num_teams (7 : 9)
15 if (omp_get_num_teams () < 7 .or
. omp_get_num_teams () > 9) &
17 !$omp distribute dist_schedule(static,1)
18 do i
= 0, omp_get_num_teams () - 1
19 if (omp_get_team_num () /= i
) stop 4