arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1612.01855cs.DCcs.DS
收藏

求解三角形线性方程组的避免通信并行算法

Communication-Avoiding Parallel Algorithms for Solving Triangular Systems of Linear Equations

Tobias Wicky, Edgar Solomonik, Torsten Hoefler

摘要:

提出了一种新的求解多右端三角方程组的并行算法。TRSM广泛用于数值线性代数计算,既可以求解三角线性方程组,也可以计算三角矩阵的分解,如Cholesky,LU和QR。我们的算法实现了更好的理论可扩展性比已知的替代品,同时保持数值稳定性,通过选择性地使用三角矩阵求逆。我们利用的事实,三角形求逆和矩阵乘法比标准的TRSM算法更并行。通过仅沿初始矩阵的对角线对三角块进行求逆,推广了TRSM计算的一般方法和全矩阵求逆方法。这种灵活性导致一个有效的算法的任何比率的右手边的数量的三角矩阵的维数。我们提供了一个详细的通信成本分析,我们的算法以及递归三角矩阵求逆。这种成本分析使得有可能确定最佳的块大小和处理器网格的先验。相对于最知名的算法TRSM,我们的方法可以要求渐近更少的消息,同时执行最佳的计算量和通信发送的话。

英文摘要:

We present a new parallel algorithm for solving triangular systems with multiple right hand sides (TRSM). TRSM is used extensively in numerical linear algebra computations, both to solve triangular linear systems of equations as well as to compute factorizations with triangular matrices, such as Cholesky, LU, and QR. Our algorithm achieves better theoretical scalability than known alternatives, while maintaining numerical stability, via selective use of triangular matrix inversion. We leverage the fact that triangular inversion and matrix multiplication are more parallelizable than the standard TRSM algorithm. By only inverting triangular blocks along the diagonal of the initial matrix, we generalize the usual way of TRSM computation and the full matrix inversion approach. This flexibility leads to an efficient algorithm for any ratio of the number of right hand sides to the triangular matrix dimension. We provide a detailed communication cost analysis for our algorithm as well as for the recursive triangular matrix inversion. This cost analysis makes it possible to determine optimal block sizes and processor grids a priori. Relative to the best known algorithms for TRSM, our approach can require asymptotically fewer messages, while performing optimal amounts of computation and communication in terms of words sent.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑