Index Bookstores Magazines My Books Book Reviews Book Bytes About Us Help
Bublos.com
Find Books Faster … Buy Books Cheaper, at Bublos
The Web's Favorite Book Price Comparison Site
Powells
Country:   Max. Timeout:      
  Join Bublos   Sign In   
 

Parallel Programming in OpenMP

Parallel Programming in OpenMP at Amazon.com


Share this book with other people •
 Link to This PageBublos Link Del.ico.usDel.icio.us 
 Tell a FriendTell a friend about this book 

ISBN: 1558606718 - Parallel Programming in OpenMP  
Title:Parallel Programming in OpenMP
Author:Rohit Chandra
Leo Dagum
Dave Kohr
Dror Maydan
Jeff McDonald
Ramesh Menon
Publisher:Morgan Kaufmann
Type:Book / Paperback
Publication Date: October, 2000
ISBN / ISBN-13:1558606718  /  9781558606715
List Price:$54.95
You Save:$1.10
Amazon Price:$53.85

* This book is also available, brand-new, from 3rd-party marketplace sellers at Amazon.com, from $44.44.



Check for the same book at these other US book sites:

• [ Abebooks ]   • [ Alibris ]   • [ Barnes & Noble ]   • [ Half.com ]   • [ Powells ]    … or check UK bookstores
 
Editorial Review / Publisher's Information:

Product Description


The rapid and widespread acceptance of shared-memory multiprocessor architectures has created a pressing demand for an efficient way to program these systems. At the same time, developers of technical and scientific applications in industry and in government laboratories find they need to parallelize huge volumes of code in a portable fashion. OpenMP, developed jointly by several parallel computing vendors to address these issues, is an industry-wide standard for programming shared-memory and distributed shared-memory multiprocessors. It consists of a set of compiler directives and library routines that extend FORTRAN, C, and C++ codes to express shared-memory parallelism.


Parallel Programming in OpenMP is the first book to teach both the novice and expert parallel programmers how to program using this new standard. The authors, who helped design and implement OpenMP while at SGI, bring a depth and breadth to the book as compiler writers, application developers, and performance engineers.

* Designed so that expert parallel programmers can skip the opening chapters, which introduce parallel programming to novices, and jump right into the essentials of OpenMP.
* Presents all the basic OpenMP constructs in FORTRAN, C, and C++.
* Emphasizes practical concepts to address the concerns of real application developers.
* Includes high quality example programs that illustrate concepts of parallel programming as well as all the constructs of OpenMP.
* Serves as both an effective teaching text and a compact reference.
* Includes end-of-chapter programming exercises.

Amazon.com Review
The OpenMP standard allows programmers to take advantage of new shared-memory multiprocessor systems from vendors like Compaq, Sun, HP, and SGI. Aimed at the working researcher or scientific C/C++ or Fortran programmer, Parallel Programming in OpenMP both explains what this standard is and how to use it to create software that takes full advantage of parallel computing.

At its heart, OpenMP is remarkably simple. By adding a handful of compiler directives (or pragmas) in Fortran or C/C++, plus a few optional library calls, programmers can "parallelize" existing software without completely rewriting it. This book starts with simple examples of how to parallelize "loops"--iterative code that in scientific software might work with very large arrays. Sample code relies primarily on Fortran (undoubtedly the language of choice for high-end numerical software) with descriptions of the equivalent calls and strategies in C/C++. Each sample is thoroughly explained, and though the style in this book is occasionally dense, it does manage to give plenty of practical advice on how to make code run in parallel efficiently. The techniques explored include how to tweak the default parallelized directives for specific situations, how to use parallel regions (beyond simple loops), and the dos and don'ts of effective synchronization (with critical sections and barriers). The book finishes up with some excellent advice for how to cooperate with the cache mechanisms of today's OpenMP-compliant systems.

Overall, Parallel Programming in OpenMP introduces the competent research programmer to a new vocabulary of idioms and techniques for parallelizing software using OpenMP. Of course, this standard will continue to be used primarily for academic or research computing, but now that OpenMP machines by major commercial vendors are available, even business users can benefit from this technology--for high-end forecasting and modeling, for instance. This book fills a useful niche by describing this powerful new development in parallel computing. --Richard Dragan

Topics covered:

  • Overview of the OpenMP programming standard for shared-memory multiprocessors
  • Description of OpenMP parallel hardware
  • OpenMP directives for Fortran and pragmas for C/C++
  • Parallelizing simple loops
  • parallel do / parallel for directives
  • Shared and private scoping for thread variables
  • reduction operations
  • Data dependencies and how to remove them
  • OpenMP performance issues (sufficient work, balancing the load in loops, scheduling options)
  • Parallel regions
  • How to parallelize arbitrary blocks of code (master and slave threads, threadprivate directives and the copyin clause)
  • Parallel task queues
  • Dividing work based on thread numbers
  • Noniterative work sharing
  • Restrictions on work-sharing
  • Orphaning
  • Nested parallel regions
  • Controlling parallelism in OpenMP, including controlling the number of threads, dynamic threads, and OpenMP library calls for threads
  • OpenMP synchronization
  • Avoiding data races
  • Critical section directives (named and nested critical sections and the atomic directive
  • Runtime OpenMP library lock routines
  • Event synchronization (barrier directives and ordered sections)
  • Custom synchronization, including the flush directive
  • Programming tips for synchronization
  • Performance issues with OpenMP
  • Amdahl's Law
  • Load balancing for parallelized code
  • Hints for writing parallelized code that fits into processor caches
  • Avoiding false sharing
  • Synchronization hints
  • Performance issues for bus-based and Non-Uniform Memory Access (NUMA) machines
  • OpenMP quick reference


Other Items You May Enjoy:
Browse Books From These Related Subjects:
•  All Subjects  ›› Subjects  ›› Computers & Internet  ›› Hardware  ›› Parallel Processing Computers  
•  All Subjects  ›› Subjects  ›› Computers & Internet  ›› Hardware  ›› Design & Architecture  
•  All Subjects  ›› Subjects  ›› Computers & Internet  ›› Programming  ›› General  
•  All Subjects  ›› Subjects  ›› Computers & Internet  ›› Programming  ›› Languages & Tools  ›› General  
•  All Subjects  ›› Subjects  ›› Computers & Internet  ›› Software  ›› General  
•  Advanced Mechanics  ›› Aerospace  
•  Aerodynamics  
•  Aircraft Design & Construction  
•  Applied  
•  Avionics  
•  Gas Dynamics  
•  General  
•  Heat Transfer  
•  Propulsion Technology  
•  Structural Dynamics  
•  All Subjects  ›› Subjects  ›› Professional & Technical  ›› Engineering  
•  All Subjects  ›› Specialty Stores  ›› Custom Stores  ›› New & Used Textbooks  ›› Computer Science  ›› Programming Languages  
•  All Subjects  ›› Specialty Stores  ›› Custom Stores  ›› New & Used Textbooks  ›› Computer Science  ›› General AAS  
•  All Subjects  ›› Specialty Stores  ›› Custom Stores  ›› New & Used Textbooks  ›› General AAS  
•  All Subjects  ›› Specialty Stores  ›› Custom Stores  ›› Amazon Upgrade  ›› All Amazon Upgrade  
•  All Subjects  ›› Specialty Stores  ›› Custom Stores  ›› Amazon Upgrade  ›› Computers & Internet  
•  All Subjects  ›› Specialty Stores  ›› Custom Stores  ›› Qualifying Textbooks  ›› General AAS  
•  Mass Market  ›› Paperback  
•  Trade  
•  All Subjects  ›› Refinements  ›› Binding (binding)  
•  All Subjects  ›› Refinements  ›› Format (feature_browse-bin)  ›› Printed Books  

Customer Reviews:

 • Has Many Fortran 77 But Not Fortran 95 Examples
31 December, 2004

This book has many examples of how to parallelize Fortran 77 programs with loops using OpenMP directives, but coverage of how to parallelize Fortran 95 code using array operations is sparse. For this, one should read the tutorial "Parallel Programming in Fortran 95 using OpenMP", by Miguel Hermanns, available at the OpenMP web site.

- Reviewed by customer ID: A1WTU0KU15FTTA

 • Great Introduction
09 November, 2006

Chandra et al. have put together a readable, helpful introduction to parallel programming with OpenMP. Unlike its major competitor, MPI, OpenMP assumes a shared memory model, in which every processor has the same view of the same address space as every other. At least as a start, this cuts the intellectual load way down. The programmer adds just one concept to the problem, parallelism, without adding buffering, communication networks, and lots of other stuff as well. After two introductory chapters, the authors introduce OpenMP in three stages: loop parallelism, general parallelism, and synchronization, roughly in order of increasing complexity. The authors present the necessary OpenMP pragmas and APIs at each step, showing how they address the immediate problems. An appendix summarizes the pragmas and APIs, in both their C/C++ and Fortran forms. OO C++ programmers may be dismayed by the amount of attention paid to an un-cool language like Fortran, but need to realize that it's still the lingua franca of performance programming. And, in fairness, the authors spend equal time on C++ idiosyncrasies, such as constructor invocations for variables that are silently replicated in each of the parallel threads. If you've ever done performance programming, you're groaningly aware that getting the parallelism right is actually the easy part. The tricky parts come in breaking dependencies, in scheduling, in ensuring spatial and temporal locality, and in dealing with cache coherency issues of multiprocessors. The authors give great introductions to all of the basics. This includes a patient description of how caches actually work, since there's a new crop of beginners every day. The authors describe performance analysis tools, but only briefly. The tools differ so much between vendors and between one rev and the next, that any detailed description would be useless to most readers immediately and obsolete for all readers very soon. This won't turn a beginner into the guru of performance computing. It will, however, establish a working competence in one popular parallelization tool, OpenMP, and in the computing technologies that affect parallel performance. //wiredweird

- Reviewed by customer ID: AUTBHG6070SL4

 • Many Tips And Pitfalls
19 June, 2008

Hoping for just information on OpenMP, I was pleased to find much information about issues with parallelizing algorithms. In fact, OpenMP itself is actually very tiny, easily fitting on a few quick reference cards. Applying OpenMP, or any multithreading for that matter, is what actually determines success. I was particularly pleased with the section on cache lines and their impact on design.

- Reviewed by customer ID: A3RSNWZ0B9H6H

 • Classic How To But Too Heavy A Focus On Fortran
09 August, 2007

I found this book to be a well written ground up how to on OpenMP. It is approachable by someone not well versed in parallel programming. I believe it was written before the wide scale advent of multi core architectures and in those pre multi core days most users of OpenMP would have been in the scientific community and have been interested largely in speeding up fortran codes. So the focus on the fortran constructs is understandable. However in todays world with every desktop equipped with a multi core cpu the book would be better with a stronger focus on c++. Despite the heavy focus on fortran examples the book does include information on using OpenMP from c++. I rate the book highly, because of its clarity, approachability, and style and hope future editions have a stronger showing of c++ examples.

- Reviewed by customer ID: A2OQD8NT3ZBUUZ

 • Clear And Concise
13 May, 2002

this is probably the first book about OMP. The author has decribed the uses of many functions and directives of OMP. The examples (in Fortran and C) given are also useful. Generally this is a good book to get you started off with OMP.

- Reviewed by customer ID: A2GMD27FAVUQ8F


  • International bookstores from Amazon:›› more online bookstores >  
 
    United States United States Canada Amazon Canada France France Germany Germany Japan Japan Spain Spanish books United Kingdom United Kingdom (UK)


Bookstores  |  Magazines  |  My Books  |  Book Bytes  |  Book Reviews  |  Rare Books  |  Help  |  Privacy  |  Top-Ten Book Lists  |  Web Directory  |  Tell-a-Friend  |  Bublos Rewards  |  Set Preferences  |  Contact Us  |  My Bookstores  |  Links to Bublos  |   Link-to-Me  |  About Bublos  |  


 Copyright © 1999 - 2008 Bublos Inc. All rights reserved.