4 ! Contributed by Bill Long <longb@cray.com>
9 integer, parameter :: NT
= 4
12 !$omp threadprivate(a)
15 !$ call omp_set_num_threads(NT)
17 print *, omp_get_thread_num(), a
22 ! Derived from OpenMP test omp1/F2_6_2_8_5i.f90
25 integer, parameter :: NT
= 4
27 !$omp threadprivate(a)
29 !$ call omp_set_num_threads(NT)
31 print *, omp_get_thread_num(), a