A Brief Introduction to Fortran 77 - Polaris
A Brief Introduction to Fortran 77 - Polaris
A Brief Introduction to Fortran 77 - Polaris
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
As an example, consider the following code segmentc = sin (d)forall i=1 <strong>to</strong> na(i) = b(i) + cend foralle = a(20)+ a(15)A simple OpenMP implementation would take the formc = sin(d)c$omp parallel private(i,il,iu)call get_limits(n,il,iu,* omp_get_num_threads(),* omp_get_thread_num())do i=il,iua(i) = b(i) + cend doc$omp end parallele = a(20) + a(15)© 1998 David A. Padua46 of 118