Re: where vs. forall in f95



Based on your description, WHERE would seem the
better choice. FORALL would be better if you were
doing something fancy with subscripts.

WHERE, FORALL, and carefully written DO loops are
all equally likely (or unlikely) to paralllelize using a
modern compiler. I know many compilers that scalarize
first, then parallelize.

Bob Corbett

.