FFT_OPEN_MP is a C program which demonstrates the computation of a Fast Fourier Transform in parallel, using OpenMP.
On an Apple PowerPC G5 with two processors, the following results were observed:
| Threads | N | Time | MegaFLOPS |
|---|---|---|---|
| 1 | 33,554,432 | 32.65 | 128.4 |
| 2 | 33,554,432 | 19.87 | 211.0 |
| 4 | 33,554,432 | 19.80 | 211.7 |
In the BASH shell, the program could be run with 2 threads using the commands:
export OMP_NUM_THREADS=2
./fft_open_mp
FFT_SERIAL is a C program which demonstrates the computation of a Fast Fourier Transform, and is intended as a starting point for implementing a parallel version using OpenMP.
FFT_OPEN_MP is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version.
MD_OPEN_MP is a C program which carries out a molecular dynamics simulation using OpenMP.
MXV_OPEN_MP is a C program which compares the performance of plain vanilla Fortran and the FORTRAN90 intrinsic routine MATMUL, for the matrix multiplication problem y=A*x, with and without parallelization by OpenMP.
OPEN_MP is a directory of C examples which illustrate the use of the OpenMP application program interface for carrying out parallel computations in a shared memory environment.
OPEN_MP_ITHACA C programs which illustrate the use of OpenMP on the Virginia Tech ITHACA cluster.
QUAD_OPEN_MP is a C program which approximates an integral using a quadrature rule, and carries out the computation in parallel using OpenMP.
SATISFIABILITY_OPEN_MP is a C program which demonstrates, for a particular circuit, an exhaustive search for solutions of the circuit satisfiability problem, using OpenMP for parallel execution.
SGEFA_OPEN_MP is a C program which solves a linear system by Gaussian elimination, using OpenMP.
ZIGGURAT_OPEN_MP, a C program which demonstrates how the ZIGGURAT library can be used to generate random numbers in an OpenMP parallel program.
FFT_OPEN_MP_RUN runs FFT_OPEN_MP interactively.
FFT_OPEN_MP_BATCH runs FFT_OPEN_MP through the batch system.
You can go up one level to the C source codes.