System News
   
News about Solaris and Sun Microsystems

Free 2 Week Trial!


April 21, 2009
Article #21640
Volume 134, Issue 4
Section: HPC

 

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

-- David J. Kuck
 


 

Book: "Using OpenMP - - Portable Shared Memory Parallel Programming"
Source Examples Available as Free Download

The authors of Using OpenMP: Portable Shared Memory Parallel Programming have made 41 of the examples provided in the book available to readers as zip file downloads. Each download is free under the BSD license and each comes with a copy of the license, which users are requested not to remove.

Only a compiler and runtime environment that supports OpenMP are required to use these downloads. Each of the source files constitutes a full working program. With one exception, no source code comments are provided. Aside from the downloads themselves, which are quite straightforward, the book discusses every one of them.

Co-authors Barbara Chapman, Gabriele Jost and Ruud van der Pas discuss using OpenMP hardware developments and describe where OpenMP is applicable, comparing OpenMP to other programming interfaces for shared and distributed memory parallel architectures. Using OpenMP offers a comprehensive introduction to parallel programming concepts and a detailed overview of OpenMP.

OpenMP is a portable programming interface for shared memory parallel computers that 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. Currently OpenMP is used by many software developers who prize it for the significant advantages over both hand-threading and MPI that it offers.

The book 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. Further, the book describes how to use OpenMP in full-scale applications to achieve high performance on large-scale architectures, discussing several case studies in detail, and offering in-depth troubleshooting advice.

The authors explain how OpenMP is translated into explicitly multithreaded code, providing a valuable behind-the-scenes account of OpenMP program performance. Finally, the book 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.

Each source directory among the downloadable examples has a make file called “Makefile,” which can be used to build and run the examples in the specific directory. Files are included for several compilers and Unix-based Operating Systems (Linux, Solaris and Mac OS).

In his foreword to the book David J. Kuck writes, "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."

The authors have also created a forum, Using OpenMP: The Book and Examples, for discussion and feedback.

The increasing use of multicore computer has created a need for a comprehensive introduction and overview of the standard interface. 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.

Barbara Chapman is a professor of computer science at the University of Houston; Gabriele Jost is principal member of Technical Staff, Application Server Performance Engineering, at Oracle; and Ruud van der Pas is senior staff engineer at Sun Microsystems, Menlo Park.

More Information

OpenMP News

Video on Sun Studio and Parallel Computing [...read more...]

Keywords:
Other articles in the HPC section of Volume 134, Issue 4:

See all archived articles in the HPC section.


From the latest issue:



 


Customized news reports about Sun Microsystems. Just the news you need, none of what you don't.
50,000+ Members. 20,000+ Articles Published since 1998.