Data Parallelism on the SGI's
Insert the c$doacross directive just before the loop to be parallelized.
Declare local and shared variables
Compile with -mp option.
c$doacross local(i) share(a,n)
do i=1,n
a(i)=float(i)
end do
Previous slide
Next slide
Back to first slide
View graphic version