File1: #include <stdlib.h>\n#include <stdio.h>\nint main(int argc, char* argv[])\n{\n  int i;\n  int len=100;\n  int a[100];\n\n  for (i=0;i<len;i++)\n    a[i]=i;\n\n#pragma omp parallel for\n  for (i=0;i<len-1;i++)\n    a[i+1]=a[i]+1;\n\n  printf("a[50]=%d\n", a[50]);   \n  return 0;\n}\n
File2: program DRB029_truedep1_orig_yes\n    use omp_lib\n    implicit none\n\n    integer :: i, len\n    integer, dimension(:), allocatable :: a\n\n    len = 100\n    allocate (a(len))\n\n    do i = 1, len\n        a(i) = i\n    end do\n\n    !$omp parallel do\n    do i = 1, len-1\n        a(i+1) = a(i)+1\n    end do\n    !$omp end parallel do\n\n    print 100, a(50)\n    100 format ('a(50)=',i3)\n\n    deallocate(a)\nend program