Issue No. 03 - March (1994 vol. 5)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/71.277789
<p>The lack of high-level languages and good compilers for parallel machines hinders their widespread acceptance and use. Programmers must address issues such as process decomposition, synchronization, and load balancing. We have developed a parallelizing compiler that, given a sequential program and a memory layout of its data, performs process decomposition while balancing parallelism against locality of reference. A process decomposition is obtained by specializing the program for each processor to the data that resides on that processor. If this analysis fails, the compiler falls back to a simple but inefficient scheme called run-time resolution. Each process's role in the computation is determined by examining the data required for execution at run-time. Thus, our approach to process decomposition is data-driven rather than program-driven. We discuss several message optimizations that address the issues of overhead and synchronization in message transmission. Accumulation reorganizes the computation of a commutative and associative operator to reduce message traffic. Pipelining sends a value as close to its computation as possible to increase parallelism. Vectorization of messages combines messages with the same source and the same destination to reduce overhead. Our results from experiments in parallelizing SIMPLE, a large hydrodynamics benchmark, for the Intel iPSC/2, show a speedup within 60% to 70% of handwritten code.</p>
Index Termsprogram compilers; distributed memory systems; synchronisation; parallel programming;pipeline processing; distributed memory architectures; high-level languages; processdecomposition; synchronization; load balancing; parallelizing compiler; locality ofreference; run-time resolution; message traffic; pipelining; SIMPLE; hydrodynamicsbenchmark; Intel iPSC/2
A. Rogers and K. Pingali, "Compiling for Distributed Memory Architectures," in IEEE Transactions on Parallel & Distributed Systems, vol. 5, no. , pp. 281-298, 1994.