| November 24, 2008 12:00 AM PST | |
Evaluation Only. Created with Aspose.Words. Copyright 2003-2006 Aspose Pty Ltd.
Technical Books for Multi-Core Software Developers
Multi-thread apps for Multi-core; Threaded Code Examples
These code samples are from the book: Parallel programming in C with MPI and OpenMP by Dr. Michael J. Quinn, Oregon State University. All the examples are programmed by Dr. Quinn.
This MPI program determines whether a circuit is satisfiable, that is, whether there is a combination of inputs that causes the output of the circuit to be 1.
Sieve of Erasthenes Program
A library of matrix/vector input/output/redistribution functions file.
Matrix-vector multiplication
Data distribution of matrix: columnwise block striped. Data distribution of vector: block
Floyd's all-pairs shortest path. Given an NxN matrix of distances between pairs of vertices, this MPI program computes the shortest path between every pair of vertices. This program shows:
- How to dynamically allocate multidimensional arrays
- How one process can handle I/O for the others
- Broadcasting of a vector of elements
- Messages with different tags
This hybrid MPI/OpenMP program uses the conjugate gradient method to solve a postive definite system of linear equations.
This program generates the files neeed for the above.
MPI/OpenMP program that solves the steady-state temperature distribution problem using the Jacobi method.
The following samples are from the book Multi-Core Programming - Increasing Performance through Software Multithreading by Shameem Akhter and Jason Roberts, Published April 2006, Intel Press
For more complete information about compiler optimizations, see our Optimization Notice.


Todd Bezenek
565
-Todd