Scalable parallel matrix multiplication on distributed memory parallel computers

被引:8
|
作者
Li, KQ [1 ]
机构
[1] SUNY Albany, Dept Comp Sci, New Paltz, NY 12561 USA
基金
美国国家航空航天局;
关键词
cost optimality; distributed memory parallel computer; linear array with reconfigurable pipelined bus system; matrix multiplication; module parallel computer; optical model of computation; scalability; speedup;
D O I
10.1006/jpdc.2001.1768
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Consider any known sequential algorithm for matrix multiplication over an arbitrary ring with time complexity O(N(alpha)), where 2 < alpha less than or equal to 3. We show that such an algorithm can be parallelized on a distributed memory parallel computer (DMPC) in O(log N) time by using N(alpha)/log N processors. Such a parallel computation is cost optimal and matches the performance of PRAM. Furthermore, our parallelization on a DMPC can be made fully scalable, that is, for all 1 less than or equal to p less than or equal to N(alpha)/log N, multiplying two N x N matrices can be performed by a DMPC with p processors in O(N(alpha)/p) time, i.e., linear speedup and cost optimality can be achieved in the range [ 1..N(alpha)/log N]. This unifies all known algorithms for matrix multiplication on DMPC, standard or nonstandard, sequential or parallel. Extensions of our methods and results to other parallel systems are also presented. For instance, for all 1 less than or equal to p less than or equal to N(alpha)/log N, multiplying two N x N matrices can be performed by p processors connected by a hypercubic network in O(N(alpha)/p + (N(2)/p(2/alpha)) (log p)(2(alpha-1)/alpha)) time, which implies that if p = O(N(alpha)/(log N)(2(alpha-1)/(alpha-2))), linear speedup can be achieved. Such a parallelization is highly scalable. The above claims result in significant progress in scalable parallel matrix multiplication (as well as solving many other important problems) on distributed memory systems, both theoretically and practically. (C) 2001 Academic Press.
引用
收藏
页码:1709 / 1731
页数:23
相关论文
共 50 条
  • [41] Spectral decomposition of nonsymmetric matrices on distributed memory parallel computers
    Bai, Z.
    Demmel, J.
    Dongarra, J.
    Petitet, A.
    Robinson, H.
    Stanley, K.
    SIAM Journal of Scientific Computing, 1997, 18 (05): : 1446 - 1461
  • [42] Adaptive dynamic process scheduling on distributed memory parallel computers
    Shu, Wei
    Scientific Programming, 1994, 3 (04) : 341 - 352
  • [43] Simulation of the hydrodynamic device model on distributed memory parallel computers
    Aluru, NR
    Law, KH
    Dutton, RW
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 1996, 15 (09) : 1029 - 1047
  • [44] Automatic data and computation decomposition on distributed memory parallel computers
    Lee, P
    Kedem, ZM
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2002, 24 (01): : 1 - 50
  • [45] Runtime incremental parallel scheduling (RIPS) on distributed memory computers
    Shu, W
    Wu, MY
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1996, 7 (06) : 637 - 649
  • [46] Parallel algorithms for bipartite matching problems on distributed memory computers
    Langguth, Johannes
    Patwary, Md. Mostofa Ali
    Manne, Fredrik
    PARALLEL COMPUTING, 2011, 37 (12) : 820 - 845
  • [47] An implementation of parallel preconditioned GMRES(m) on distributed memory computers
    Spyropoulos, AN
    Boudouvis, AG
    Markatos, NC
    COMPUTATIONAL FLUID DYNAMICS '98, VOL 1, PARTS 1 AND 2, 1998, : 478 - 483
  • [48] An efficient parallel coupled cluster program for distributed memory computers
    Janowski, Tomasz
    Pulay, Peter
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2006, 232 : 155 - 155
  • [49] A PARALLEL VECTOR EQUATION SOLVER FOR DISTRIBUTED-MEMORY COMPUTERS
    QIN, JN
    NGUYEN, DT
    COMPUTING SYSTEMS IN ENGINEERING, 1994, 5 (01): : 19 - 25
  • [50] The spectral decomposition of nonsymmetric matrices on distributed memory parallel computers
    Bai, Z
    Demmel, J
    Dongarra, J
    Petitet, A
    Robinson, H
    Stanley, K
    SIAM JOURNAL ON SCIENTIFIC COMPUTING, 1997, 18 (05): : 1446 - 1461