Constructing Parallel Algorithms for Discrete Transforms: From FFTs to Fast Legendre Transforms
Year: 2000
Type: dissertation
Abstract: The initial target of my doctoral research with parallel discrete transforms was to develop a parallel fast Legendre transform (FLT) algorithm based on the sequential Driscoll-Healy algorithm [21,22]. To do this, I had to study their algorithm in depth. This task was greatly simpli ed thanks to previous work done by David K. Maslen [35], with whom Rob H. Bisseling and I worked together to crack this nut. After understanding and implementing the sequential FLT algorithm, I aimed at developing a parallel distributed memory version. Using the bulk synchronous parallel (BSP) model [32,54], and assuming that a parallel fast cosine transform (FCT) algorithm was available, it was easy to devise a basic parallel FLT algorithm. Such a basic parallel algorithm was already known [30, 45], though, to my knowledge, it had never been implemented. With the basic parallel algorithm at hand, I still had two things to do: develop a parallel FCT algorithm and investigate the possibility of improving the basic parallel FLT algorithm. Developing a parallel FCT algorithm involved searching for a suitable sequential FCT algorithm, i.e., an algorithm that could be parallelized with a minimum of communication overhead. Since there is substantial knowledge of parallel fast Fourier transforms (FFT), we chose to restrict our search to the class of FCT algorithms that are based on FFTs, i.e., algorithms which (1) pack the input data, (2) transform them using an FFT, and then (3) extract the cosine transform from the transformed data. After going through many of those algorithms I nally decided to implement Narasimha and Peterson's algorithm [37], which I had found in van Loan's book [55]. The transform phase of this FCT algorithm consists of a real FFT (i.e., an FFT for real input data). In turn, a real FFT can be carried out using a complex FFT.At this point, I had to deal with four dierent parallel discrete transform algorithms: FFTs, real FFTs, FCTs, and FLTs.After implementing basic versions of those four transforms, we turned to the problem of improving the basic parallel FLT algorithm. With the introduction of a new data distribution, which we call the zig-zag cyclic distribution, we were able to reduce the communication cost of the parallel real FFT and of the parallel FCT to the same cost as that of a parallel complex FFT v vi Preface of half the size.(Thus, obtaining the data packing and extract phases at no extra communication cost.) Breaking open the FCT module inside the FLT algorithm, further reduced the communication cost of the basic parallel FLT algorithm by a factor of three. This last optimization step was greatly facilitated by the introduction of the FCT2 algorithm, an algorithm that computes two discrete cosine transforms simultaneously.A project that started with the aim of developing a parallel fast Legendre transform, ended up creating a collection of useful parallel transforms that can be used throughout in computational sciences. From solving numerical dierential equations to signal processing, FFTs are among the most used numerical tools in computational sciences. As \real versions" of the FFT, the RFFT and the FCT are also very much in use. The FLT is still young and has to conquer its space between its better known cousins. The discrete Legendre transform, however, is widely used as part of two-dimensional Legendre transforms or (three-dimensional) spherical harmonic transforms. My parallel FLT is only a rst step in developing parallel two-dimensional FLTs and parallel fast spherical harmonic transforms. Together with this thesis, I intend to release a version of the Bulk Synchronous Parallel Fast Transform package (BSPFTpack) that I developed with the hope to bring parallel transforms within easy reach of anyone interested in parallel computing. This package was written in ANSI C and uses BSPlib as communication library, which is freely available.(An alternative would be to adapt the program to use another communication library such as MPI.) Together with the parallel package I also intend to release its sequential version. My thesis has the following structure. In Chapter 1, I describe the BSP model and discuss relevant aspects of parallel computing. In Chapter 2, I derive a parallel FFT algorithm which serves as the basis for the rest of my thesis. In Chapter 3, I derive parallel algorithms for the RFFT, the FCT, and the FCT2. In Chapter 4, I introduce the Driscoll-Healy algorithm and derive a parallel FLT algorithm. Appendix A describes the BSP parameters for the Cray T3E, which is the parallel computer used for the numerical experiments. Appendix B presents the sine/cosine table used in my programs, and Appendices C and D contain material supplementary to the FLT chapter.
Author: Márcia A. Inda
Institution: Utrecht University
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W3099253227
