1 2 3 4 5 6 7 8
! { dg-do run } PROGRAM A5 INCLUDE "omp_lib.h" ! or USE OMP_LIB CALL OMP_SET_DYNAMIC(.TRUE.) !$OMP PARALLEL NUM_THREADS(10) ! do work here !$OMP END PARALLEL END PROGRAM A5