Title :
MPI and OpenMP Paradigms on Cluster of SMP Architectures: The Vacancy Tracking Algorithm for Multi-Dimensional Array Transposition
Author :
He, Yun ; Ding, Chris H Q
Author_Institution :
Lawrence Berkeley National Laboratory
Abstract :
We investigate remapping multi-dimensional arrays on cluster of SMP architectures under OpenMP, MPI, and hybrid paradigms. Traditional method of array transpose needs an auxiliary array of the same size and a copy back stage. We recently developed an in-place method using vacancy tracking cycles. The vacancy tracking algorithm outperforms the traditional 2-array method as demonstrated by extensive comparisons. The independence of vacancy tracking cycles allows efficient parallelization of the in-place method on SMP architectures at node level. Performance of multi-threaded parallelism using OpenMP are tested with different scheduling methods and different number of threads. The vacancy tracking method is parallelized using several parallel paradigms. At node level, pure OpenMP outperforms pure MPI by a factor of 2.76. Across entire cluster of SMP nodes, the hybrid MPI/OpenMP implementation outperforms pure MPI by a factor of 4.44, demonstrating the validity of the parallel paradigm of mixing MPI with OpenMP.
Keywords :
MPI; OpenMP; SMP cluster; dynamical; global exchange; hybrid MPI/OpenMP; index reshuffle; multidimensional arrays; remapping; vacancy tracking cycles; Atmosphere; Atmospheric modeling; Clustering algorithms; Computer architecture; Helium; Large-scale systems; Multidimensional systems; Oceans; Parallel programming; Phased arrays; MPI; OpenMP; SMP cluster; dynamical; global exchange; hybrid MPI/OpenMP; index reshuffle; multidimensional arrays; remapping; vacancy tracking cycles;
Conference_Titel :
Supercomputing, ACM/IEEE 2002 Conference
Print_ISBN :
0-7695-1524-X
DOI :
10.1109/SC.2002.10065