Using OpenMP: Portable Shared Memory Parallel Programming

Front Cover
MIT Press, Oct 12, 2007 - Computers - 384 pages
A comprehensive overview of OpenMP, the standard application programming interface for shared memory parallel computing—a reference for students and professionals.

"I hope that readers will learn to use the full expressibility and power of OpenMP. This book should provide an excellent introduction to beginners, and the performance section should help those with some experience who want to push OpenMP to its limits."
—from the foreword by David J. Kuck, Intel Fellow, Software and Solutions Group, and Director, Parallel and Distributed Solutions, Intel Corporation

OpenMP, a portable programming interface for shared memory parallel computers, was adopted as an informal standard in 1997 by computer scientists who wanted a unified model on which to base programs for shared memory systems. OpenMP is now used by many software developers; it offers significant advantages over both hand-threading and MPI. Using OpenMP offers a comprehensive introduction to parallel programming concepts and a detailed overview of OpenMP.

Using OpenMP discusses hardware developments, describes where OpenMP is applicable, and compares OpenMP to other programming interfaces for shared and distributed memory parallel architectures. It introduces the individual features of OpenMP, provides many source code examples that demonstrate the use and functionality of the language constructs, and offers tips on writing an efficient OpenMP program. It describes how to use OpenMP in full-scale applications to achieve high performance on large-scale architectures, discussing several case studies in detail, and offers in-depth troubleshooting advice. It explains how OpenMP is translated into explicitly multithreaded code, providing a valuable behind-the-scenes account of OpenMP program performance. Finally, Using OpenMP considers trends likely to influence OpenMP development, offering a glimpse of the possibilities of a future OpenMP 3.0 from the vantage point of the current OpenMP 2.5. With multicore computer use increasing, the need for a comprehensive introduction and overview of the standard interface is clear.

Using OpenMP provides an essential reference not only for students at both undergraduate and graduate levels but also for professionals who intend to parallelize existing codes or develop new parallel programs for shared memory computer architectures.

 

Contents

SharedMemory Parallel Computers
2
1
8
1
15
1
21
4
30
6
33
6
46
5
50
3
138
30
142
31
158
21
167
Using OpenMP in the Real World
191
Troubleshooting
243
How OpenMP Really Works
277
The Future of OpenMP
307

5
68
8
98
9
110
10
123
A Glossary
321
Clauses to Control Parallel and WorkSharing Constructs
336
53
349
Copyright

Other editions - View all

Common terms and phrases

About the author (2007)

Barbara Chapman is Professor of Computer Science at the University of Houston.

Gabriele Jost is Principal Member of Technical Staff, Application Server Performance Engineering, at Oracle, Inc.

Ruud van der Pas is Distinguished Engineer in the SPARC Processor Organization at Oracle and coauthor of Using OpenMP: Portable Shared Memory Parallel Programming.

Bibliographic information