Using OpenMP - The Book and Examples
Use this forum to discuss the book: Using OpenMP- Portable Shared Memory Parallel Programming
by Barbara Chapman, Gabriele Jost and Ruud van der Pashttp://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=11387
The sources are available as a free download under the BSD license. Each source comes with a copy of the license. Please do not remove this.
You are encouraged to try out these examples and perhaps use them as a starting point to better understand and perhaps further explore OpenMP.
Each source file constitutes a full working program. Other than a compiler and run time environment to support OpenMP, nothing else is needed.
With the exception of one example, there are no source code comments. Not only are these examples very straightforward, they are also discussed in the above mentioned book.
As a courtesy, each source directory has a make file called "Makefile". This file can be used to build and run the examples in the specific directory.
Before you do so, you need to activate the appropriate include line in file Makefile. There are include files for several compilers and Unix based Operating Systems (Linux, Solaris and Mac OS to precise). These files have been put together on a best effort basis.
The User's Guide that is bundled with the examples explains this in more detail.
Please post your feedback about the book and/or these examples to this forum.