Shared-memory parallel programming in C++

A set of portable parallel-programming constructs for C, implemented in M4 macros called Parmacs, developed by researchers at Argonne National Laboratory, is considered. The Parmacs macros make it possible to write parallel C programs for shared-memory, distributed-memory, and mixed-memory systems;...

Full description

Saved in:
Bibliographic Details
Published in:IEEE software Vol. 7; no. 4; pp. 38 - 48
Main Author: Beck, B.
Format: Journal Article
Language:English
Published: Los Alamitos IEEE 01.07.1990
IEEE Computer Society
Subjects:
ISSN:0740-7459, 1937-4194
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:A set of portable parallel-programming constructs for C, implemented in M4 macros called Parmacs, developed by researchers at Argonne National Laboratory, is considered. The Parmacs macros make it possible to write parallel C programs for shared-memory, distributed-memory, and mixed-memory systems; are portable, highly functional, and efficient; and provide sufficient functions to build a variety of parallel programs. However, they have several problems. The M4 macros are awkward to use and hard to read, so it is easy to make errors when using them. They are a mechanism outside the C language; thus, someone familiar only with C cannot readily read the code. They are not cleanly extensible, and their use is not type-checked. It is shown that using C++, rather than C, addresses these problems adequately. The Parmacs macros are described, the C++ Parmacs classes and runtime model are presented, and examples that show the use of the C++ Parmacs constructs are given. The work described considers only shared-memory constructs. Directions for future work are indicated.< >
Bibliography:ObjectType-Article-1
SourceType-Scholarly Journals-1
content type line 14
ObjectType-Article-2
ObjectType-Feature-1
content type line 23
ISSN:0740-7459
1937-4194
DOI:10.1109/52.56449