fix program

This commit is contained in:
gabrielkheisa 2022-11-14 18:24:44 +07:00
parent f8f21820f7
commit 080d077a18

View File

@ -12,7 +12,7 @@ use omp_lib
write(6,50) ' Matrix Size = ', n
50 format(1x,a,i5)
t1 = omp_get_wtime()
!$OMP parallel do
!$OMP PARALLEL DO
do j=1,n
do k=1,n
do i=1,n
@ -20,9 +20,10 @@ use omp_lib
end do
end do
end do
!$OMP END PARALLEL DO
t2 = omp_get_wtime()
!$OMP end parallel do
write(6, 60) ' Execution Time = ',t2-t1,' sec',' A(n,n) = ',a(n,n)
60 format(1x,a,f10.3,a,1x,a,d24.15)
stop
end