Re: forall and do loop



Richard Edgar wrote:
Tim Prince wrote:

I suppose you could use it as a purely Fortran syntax check for some of
the prerequisites for OpenMP parallel, before switching to OMP PARALLEL DO.

If you can write it as FORALL, then OMP WORKSHARE would probably be a
better fit.


I have yet to find the compiler which did as well with WORKSHARE. Thus the suggestion of using FORALL only to catch sequential dependencies, then switching to old-fashioned DO.
.


Quantcast