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 |
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
FFT_SERIAL is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.
FFT_OPENMP, a FORTRAN77 program which demonstrates the computation of a Fast Fourier Transform in parallel, using OpenMP.
FFTW3, FORTRAN77 programs which illustrate the use of the FFTW3 library for Fast Fourier Transforms, by Matteo Frigo and Steven Johnson.
FIRE_SERIAL, a FORTRAN77program which simulates a forest fire over a rectangular array of trees, starting at a single random location. It is intended as a starting point for the development of a parallel version.
HEATED_PLATE, 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, a FORTRAN77 program which carries out a molecular dynamics simulation, and is intended as a starting point for developing a parallel version using OpenMP.
MG_SERIAL, a FORTRAN77 program which a serial version of the NAS Parallel Benchmark MG (MultiGrid).
MXM_SERIAL, a FORTRAN77 program which sets up a matrix multiplication problem A=B*C, intended as a starting point for implementing a parallel version.
OPENMP, FORTRAN77 programs which illustrate the use of the OpenMP application program interface for carrying out parallel computations in a shared memory environment.
POISSON_SERIAL, a FORTRAN77 program which computes an approximate solution to the Poisson equation in a rectangle, and is intended as the starting point for the creation of a parallel version.
PRIME_SERIAL, a FORTRAN77 program which counts the number of primes between 1 and N, intended as a starting point for the creation of a parallel version.
QUAD_SERIAL, a FORTRAN77 program which approximates an integral using a quadrature rule, and is intended as a starting point for parallelization exercises.
SEARCH_SERIAL, a FORTRAN77 program which searches the integers from A to B for a value J such that F(J) = C. this version of the program is intended as a starting point for a parallel approach.
SFTPACK a FORTRAN77 library which implements the "slow" Fourier transform, intended as a teaching tool and comparison with the fast Fourier transform.
SUBSET_SUM_SERIAL, a FORTRAN77 program which seeks solutions of the subset sum problem, in which it is desired to find a subset of a set of integers which has a given sum; this version of the program is intended as a starting point for a parallel approach.
You can go up one level to the FORTRAN77 source codes.