LF95 Linux User's Guide - Lahey Computer Systems
LF95 Linux User's Guide - Lahey Computer Systems
LF95 Linux User's Guide - Lahey Computer Systems
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 5 Multi-Processing (PRO version only)For instance, if the programmer knows that serial execution of a DO loop is faster than parallelexecution, perhaps because the iteration count will always be small, the programmermay specify the SERIAL specifier for the DO loop.Syntax:!OCL SERIALThe SERIAL specifier may be specified at the loop position or the total position. The effectof SERIAL depends on its position.• At the loop positionSERIAL inhibits loop slicing for the DO loop (including any nested loops) corresponding tothe OCL.• At the total positionSERIAL inhibits loop slicing for all loops in the program unit containing the OCL.In the following program, if loop 2 should not be sliced, loop slicing can be disabled by specifyingSERIAL.the letter p on the left side of the source program marks the parallelized statements.p do j = 1, 10p do i = 1, l !