| March 9, 2009 1:00 AM PDT | |
OpenMP samples
These samples can be downloaded from Open MP Source code repository in SourceForge.
Also refer to OpenMP specifications in openmp.org.
List of samples in the above site from SourceForge:
- Solve a finite difference discretization of Helmholtz equation using Jacobi iterative method.
- Molecular dynamics simulation
- Fast Fourier Transform - The algorithm uses a divide and conquer strategy and the transform is computed as a combination of the transforms of the even and odd terms of the original signal. Uses nested Parallelism.
- Bailey's 6-step 1D Fast Fourier Transform
- Loop with dependencies
Parallelizing an inner loop with dependences - Forward dependency (pipeline)
for (iter=0; iter<numiter; iter++) {
|
Method: Program a threads pipeline
- LU reduction of a 2D dense matrix
- Mandelbrot area - computes an estimation to the Mandelbrot Set area using MonteCarlo sampling.
- Parallel implementation of PI generator using OpenMP - The area under the curve y=4/(1+x*x) between 0 and 1 provides a way to compute Pi. The value of this integral can be approximated using a sum.
- Parallel implementation of Quicksort using OpenMP - Sorts an integer array. The code requires nested Parallelism.
- Eight different solutions of the Jacobi heat equation. The solutions differ on how the series one parallel sections are handled and synchronized.
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (1) 
Trackbacks (0)
Leave a comment 
To obtain technical support, please go to Software Support.

Todd Bezenek
565
-Todd