Download Book Examples and Discuss

Ruud van der Pas, one of the authors of the book Using OpenMP - - Portable Shared Memory Parallel Programming by Chapman, Jost, and van der Pas, has made 41 of the examples in the book available for download and your use.

These source examples are available as a free download »here (a zip file) 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 book.

To make things easier, 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.

Also, we have created a new forum, »Using OpenMP - The Book and Examples, for discussion and feedback.


« OpenMP 3.0 Fortran Summary Card «   ::   » IWOMP 2009 Presos Now Available »