Title :
An optimal index reshuffle algorithm for multidimensional arrays and its applications for parallel architectures
Author_Institution :
NERSC Div., Lawrence Berkeley Nat. Lab., CA, USA
fDate :
3/1/2001 12:00:00 AM
Abstract :
Reshuffling elements of a multidimensional array according to an index operation traditionally requires an auxiliary buffer of the same size as the original array. We describe a new in-place algorithm using vacancy tracking cycles with minimum memory access which eliminates the buffer array and the related copy-back, speeding up the reshuffle significantly for large arrays. The algorithm can be parallelized using a multithread approach on shared-memory multiprocessor computers. On distributed-memory multiprocessor computers, the index reshuffle of distributed multidimensional arrays amounts to a remapping of processor domains and is carried out using the in-place local algorithm combined with a global exchange algorithm. Implementation and test results on CRAY T3E and IBM SP indicate the effectiveness of the algorithm
Keywords :
parallel architectures; performance evaluation; CRAY T3E; IBM SP; auxiliary buffer; buffer array; global exchange algorithm; index operation; index reshuffle; minimum memory access; multidimensional arrays; multithread approach; optimal index reshuffle algorithm; parallel architectures; processor domains; shared-memory multiprocessor computers; vacancy tracking cycles; Atmosphere; Atmospheric modeling; Computer architecture; Concurrent computing; Distributed computing; Multidimensional systems; Oceans; Parallel architectures; Power system modeling; Testing;
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on