|
ABSTRACT
We present a framework for parallel programming, based on three conceptual classes for understanding parallelism and three programming paradigms for implementing parallel programs. The conceptual classes are result parallelism, which centers on parallel computation of all elements in a data structure; agenda parallelism, which specifies an agenda of tasks for parallel execution; and specialist parallelism, in which specialist agents solve problems cooperatively. The programming paradigms center on live data structures that transform themselves into result data structures; distributed data structures that are accessible to many processes simultaneously; and message passing, in which all data objects are encapsulated within explicitly communicating processes. There is a rough correspondence between the conceptual classes and the programming methods, as we discuss. We begin by outlining the basic conceptual classes and programming paradigms, and by sketching an example solution under each of the three paradigms. The final section develops a simple example in greater detail, presenting and explaining code and discussing its performance on two commercial parallel computers, an 18-node shared-memory multiprocessor, and a 64-node distributed-memory hypercube. The middle section bridges the gap between the abstract and the practical by giving an overview of how the basic paradigms are implemented.
We focus on the paradigms, not on machine architecture or programming languages: The programming methods we discuss are useful on many kinds of parallel machine, and each can be expressed in several different parallel programming languages. Our programming discussion and the examples use the parallel language C-Linda for several reasons: The main paradigms are all simple to express in Linda; efficient Linda implementations exist on a wide variety of parallel machines; and a wide variety of parallel programs have been written in Linda.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
ASHCRAFT, C., CARRIERO, N., AND GELERNTER, D. 1989. Is explicit parallelism natural? Hybrid DB search and sparse LDLT factorization using Linda. Res. Rep. 744, Dept. of Computer Science, Yale Univ., New Haven, Conn., Jan.
|
| |
2
|
BAL, H. E., AND TANENBAUM, A. S. 1987. Orca: A language for distributed object-based programming. Internal Rep. 140, Dept. Wiskunde en Informatica, Vrije Universiteit, Amsterdam, Dec.
|
 |
3
|
|
| |
4
|
BJORNSON, R., CARRIERO, N., AND GELERNTER, U. 1989. The implementation and performance of hypercube Linda. Res. Rep. 690, Dept. of Computer Science, Yale Univ., New Haven, Conn., Mar.
|
| |
5
|
BJORNSON, U., CARRIERO, N., GELERNTER, D., AND LEICHTER, J. 1988. Linda, the portable parallel. Res. Rep. 520, Dept. of Computer Science, Yale Univ., New Haven, Conn., Jan.
|
| |
6
|
L. Borrmann , M. Herdieckerhoff , A. Klein, Tuple space integrated into Modula-2, implementation of the Linda concept on a hierarchical multiprocessor, Proceedings of the conference on CONPAR 88, p.659-666, October 1989, UMIST, Manchester, United Kingdom
|
| |
7
|
BRINCH HANSEN, P. 1975. The programming language Concurrent Pascal. IEEE Trans. Softw. Eng. SE-1, 2, 199-206.
|
 |
8
|
Nicholas Carriero , David Gelernter, Applications experience with Linda, Proceedings of the ACM/SIGPLAN conference on Parallel programming: experience with applications, languages and systems, p.173-187, July 19-21, 1988, New Haven, Connecticut, United States
|
 |
9
|
|
 |
10
|
|
 |
11
|
|
 |
12
|
|
 |
13
|
W. J. Dally , A. A. Chien, Object-oriented concurrent programming in CST, Proceedings of the third conference on Hypercube concurrent computers and applications: Architecture, software, computer systems, and general issues, p.434-439, January 19-20, 1988, Pasadena, California, United States
[doi> 10.1145/62297.62346]
|
| |
14
|
DEPARTMENT OF DEFENSE, U.S. 1982. Reference Manual for the Ada Programming Language. ACM AdaTEC, July.
|
| |
15
|
GELERNTER, D. 1989. Information management in Linda. In M. Reeve and S. E. Zenith, eds., Parallel processing and artificial intelligence, J. Wiley (1989):/23-34, Proceedings of AI and Communicating Process Architectures (London, July).
|
 |
16
|
|
| |
17
|
GELERNTER, D., CARRIERO, N., CHANDRAN, $., AND CHANG, S. 1985. Parallel programming in Linda. In Proceedings of the International Conference on Parallel Processing (St. Charles, Ill., Aug.). IEEE, 255-263.
|
| |
18
|
GILMORE, P. 1979. Massive Parallel Processor (MPP):/Phase One Final Report. Tech. Rep. GER-16684, Goodyear Aeorospace Co., Akron.
|
| |
19
|
|
 |
20
|
|
| |
21
|
HENDERSON, P. 1982. Purely functional operating systems. In Functional Programming and Its Applications, J. Darlington, P. Henderson, and D. A. Turner, Eds. Cambridge Univ. Press, New York, pp. 177-192.
|
 |
22
|
|
 |
23
|
|
 |
24
|
|
| |
25
|
|
| |
26
|
|
 |
27
|
|
| |
28
|
KAHN, G. 1974. The semantics of a simple language for parallel processing. In Proceedings of the IFIP Congress 74. North Holland, 471.
|
 |
29
|
|
 |
30
|
Ching-Cheng Lee , Stephen Skedzielewski , John Feo, On the implementation of applicative languages on shared-memory, MIMD multiproce, Proceedings of the ACM/SIGPLAN conference on Parallel programming: experience with applications, languages and systems, p.188-197, July 19-21, 1988, New Haven, Connecticut, United States
|
| |
31
|
LELER, W. 1989. PIX, the latest NEWS. In Proceedings of COMPCON Spring '89 (San Francisco, Feb.). IEEE.
|
 |
32
|
|
 |
33
|
Satoshi Matsuoka , Satoru Kawai, Using tuple space communication in distributed object-oriented languages, Conference proceedings on Object-oriented programming systems, languages and applications, p.276-284, September 25-30, 1988, San Diego, California, United States
|
 |
34
|
|
| |
35
|
MULLENDER, S. J., AND TANENBAUM, A. S. 1986. The design of a capability-based distributed operating system. Comput. J. 29, 4 (Mar.), 289-300.
|
| |
36
|
|
| |
37
|
NAREM, J. E. 1988. DB: A parallel news database in Linda. Tech. memo, Dept. of Computer Science, Yale Univ., New Haven, Conn., Aug.
|
| |
38
|
NIKHIL, R., PINGALI, K., AND ARVIND. 1986. Id Nouveau. Memo 265, Computation Structures Group, MIT, Cambridge, Mass.
|
| |
39
|
OLSON, T. J. 1986. Finding lines with the Hough Transform on the BBN Butterfly parallel processor. Butterfly Proj: Rep. 10, Dept. of Comput. Science, Univ. of Rochester, New York, Sept.
|
 |
40
|
|
| |
41
|
ROTH, P. 1985. Portnoy's Complaint. Fawcett Crest, p. 309 (first published by Random House, New York 1967).
|
 |
42
|
|
| |
43
|
|
| |
44
|
|
| |
45
|
WIRTH, N. 1977. Modula: A language for modular multiprogramming. Softw. Pract. Exp. 7, 3-35.
|
| |
46
|
|
 |
47
|
M. Young , A. Tevanian , R. Rashid , D. Golub , J. Eppinger, The duality of memory and communication in the implementation of a multiprocessor operating system, Proceedings of the eleventh ACM Symposium on Operating systems principles, p.63-76, November 08-11, 1987, Austin, Texas, United States
|
CITED BY 51
|
|
|
|
|
Özalp Babaoğlu , Lorenzo Alvisi , Alessandro Amoroso , Renzo Davoli , Luigi Alberto Giachini, Paralex: an environment for parallel programming in distributed systems, Proceedings of the 6th international conference on Supercomputing, p.178-187, July 19-24, 1992, Washington, D. C., United States
|
|
|
Dave Berry , Robin Milner , David N. Turner, A semantics for ML concurrency primitives, Proceedings of the 19th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.119-129, January 19-22, 1992, Albuquerque, New Mexico, United States
|
|
|
|
|
|
M. C. Rinard , D. J. Scales , M. S. Lam, Heterogeneous parallel programming in Jade, Proceedings of the 1992 ACM/IEEE conference on Supercomputing, p.245-256, November 16-20, 1992, Minneapolis, Minnesota, United States
|
|
|
Gul Agha , Svend Frølund , WooYoung Kim , Rajendra Panwar , Anna Patterson , Daniel Sturman, Abstraction and Modularity Mechanisms for Concurrent Computing, IEEE Parallel & Distributed Technology: Systems & Technology, v.1 n.2, p.3-14, May 1993
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Yvon Kermarrec , Laurent Nana , Laurent Pautet, GNATDIST: a configuration language for distributed Ada 95 applications, Proceedings of the conference on TRI-Ada '96: disciplined software development with Ada, p.63-72, December 03-07, 1996, Philadelphia, Pennsylvania, United States
|
|
|
|
|
|
Yvon Kermarrec , Laurent Pautet , Samuel Tardieu, GARLIC: generic Ada reusable library for interpartition communication, Proceedings of the conference on TRI-Ada '95: Ada's role in global markets: solutions for a changing complex world, p.263-269, November 05-10, 1995, Anaheim, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P. J. Hatcher , M. J. Quinn , A. J. Lapadula , B. K. Seevers , R. J. Anderson , R. R. Jones, Data-Parallel Programming on MIMD Computers, IEEE Transactions on Parallel and Distributed Systems, v.2 n.3, p.377-383, July 1991
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
REVIEW
"Ryszard Janicki : Reviewer"
This clearly written survey persents three conceptual classes for
specifying parallelism and the programming paradigms for implementing
parallel programs. The conceptual classes are result parallelism,
which centers on parallel computation of al
more...
|