view libgomp/testsuite/libgomp.fortran/appendix-a/a.5.1.f90 @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children
line wrap: on
line source

! { 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