FFT_SERIAL is a FORTRAN77 program which demonstrates the computation of a Fast Fourier Transform, and is intended as a starting point for developing a parallel version using OpenMP.
On an Apple PowerPC G5 with two processors, the following results were observed:
| N | Time | MegaFLOPS |
|---|---|---|
| 2 | 0.1134E-05 | 8.822 |
| 4 | 0.2358E-05 | 16.96 |
| 8 | 0.3859E-05 | 31.10 |
| 16 | 0.5845E-05 | 54.74 |
| 32 | 0.8674E-05 | 92.23 |
| 64 | 0.1886E-04 | 101.8 |
| 128 | 0.3590E-04 | 124.8 |
| 256 | 0.8220E-04 | 124.6 |
| 512 | 0.1629E-03 | 141.4 |
| 1024 | 0.3740E-03 | 136.9 |
| 2048 | 0.7607E-03 | 148.1 |
| 4096 | 0.1722E-02 | 142.7 |
| 8192 | 0.3535E-02 | 150.6 |
| 16384 | 0.8448E-02 | 135.8 |
| 32768 | 0.1898E-01 | 129.5 |
| 65536 | 0.4216E-01 | 124.3 |
| 131072 | 0.8598E-01 | 129.6 |
FFT_OPEN_MP is a FORTRAN77 program which demonstrates the computation of a Fast Fourier Transform in parallel, using OpenMP.
FFT_SERIAL is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.
HEATED_PLATE is a FORTRAN77 program which solves the steady state heat equation in a 2D rectangular region, and is intended as a starting point for implementing an OpenMP parallel version.
MD is a FORTRAN77 program which carries out a molecular dynamics simulation, and is intended as a starting point for developing a parallel version using OpenMP.
OPEN_MP is a directory of FORTRAN77 examples which illustrate the use of the OpenMP application program interface for carrying out parallel computations in a shared memory environment.
You can go up one level to the FORTRAN77 source codes.