Technical data

69
Chapter 5
5. Fortran Enhancements for Multiprocessors
This chapter contains these sections:
•“Overview provides an overview of this chapter.
•“Parallel Loops discusses the concept of parallel DO loops.
•“Writing Parallel Fortran explains how to use compiler directives to
generate code that can be run in parallel.
•“Analyzing Data Dependencies for Multiprocessing describes how to
analyze DO loops to determine whether they can be parallelized.
•“Breaking Data Dependencies explains how to rewrite DO loops that
contain data dependencies so that some or all of the loop can be run in
parallel.
•“Work Quantum describes how to determine whether the work
performed in a loop is greater than the overhead associated with
multiprocessing the loop.
•“Cache Effects explains how to write loops that account for the effect
of the cache.
•“Advanced Features describes features that override multiprocessing
defaults and customize parallelism.
•“DOACROSS Implementation discusses how multiprocessing is
implemented in a DOACROSS routine.