• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2021, Vol. 43 ›› Issue (04): 594-602.

Previous Articles     Next Articles

Design and implementation of a high-precision reduction function based on MPI

HE Kang1,HUANG Chun1,JIANG Hao1,GU Tong-xiang2,QI Jin2,LIU Jie1,3,4#br#

#br#
  

  1. (1.College of Computer Science and Technology,National University of Defense Technology,Changsha 410073;

    2.Institute of Applied Physics and Computational Mathematics,Beijing 100000;

    3.Science and Technology on Parallel and Distributed Processing Laboratory,

    National University of Defense Technology,Changsha 410073;

    4.Laboratory of Software Engineering for Complex Systems,

    National University of Defense Technology,Changsha 410073,China)
  • Received:2020-05-10 Revised:2020-07-01 Accepted:2021-04-25 Online:2021-04-25 Published:2021-04-21

Abstract: As the characteristics of large scale, high dimension, and long time of scientific and engineering computing become more and more obvious, the cumulative effect of floating-point rounding errors often makes calculation results unreliable. Improving the computing accuracy has become one of the hot spots in the field of parallel computing. Based on the MPICH3 framework, this paper uses error-free transformation to construct a new data format and corresponding operators, and designs a high-precision reduction function MPI_ACCU_REDUCE, which realizes three types of high-precision MPI reduction operations such as summation, production and L2 norm. Numerical experiment shows that the proposed MPI_ACCU_REDUCE function with the three types of high-precision reduction operations effectively improve the accuracy of numerical calculations.


Key words:

CLC Number: