source:
CIVL/examples/fortran/simple/omp_loop.F95@
3d3af8f
| Last change on this file since 3d3af8f was e3f356c, checked in by , 5 years ago | |
|---|---|
|
|
| File size: 165 bytes | |
| Rev | Line | |
|---|---|---|
| [e3f356c] | 1 | program OMPLOOP |
| 2 | use omp_lib | |
| 3 | integer :: i | |
| 4 | integer :: a(5) | |
| 5 | ||
| 6 | !$omp parallel do | |
| 7 | do i = 1, 5 | |
| 8 | a(i) = i | |
| 9 | end do | |
| 10 | !$omp end parallel do | |
| 11 | end program |
Note:
See TracBrowser
for help on using the repository browser.
