arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2001.01583cs.MScond-mat.softphysics.chem-phphysics.comp-ph
收藏

非等间距离散傅里叶变换的混合MPI-CUDA方法

A Hybrid MPI-CUDA Approach for Nonequispaced Discrete Fourier Transformation

Sheng-Chun Yang, Yong-Lei Wang

摘要:

非等间距离散傅立叶变换(NDFT)在计算科学和工程中有着广泛的应用。无论是在科学计算的密集型还是广泛型方面,NDFT的计算效率和精度一直是阻碍其广泛应用的关键问题。在我们以前的工作(2018年,S.- C. Yang等人,应用程序计算哈蒙Anal. 44,273),提出了一种基于CUDA(计算统一设备架构)技术的CRFT方法,并且其在中等规模下处理NDFT时表现出出色的性能。在目前的工作中,我们进一步提高了计算效率的CUNTTF方法使用一个有效的MPI-CUDA混合并行化(HP)计划的NFFT,以实现一个前沿的处理NDFT在超扩展规模。该方法根据NDFT的累加特性以及CPU和GPU节点的具体数目,将NDFT的空间域分解为若干部分。这些分解的NDFT子单元使用MPI进程级并行化模式在不同的CPU节点上独立地计算,并且使用CUDA线程级并行化模式和CRFT算法在不同的GPU节点上独立地计算。HP-NFFT方法的大量基准测试表明,该方法在处理超扩展规模的NDFT时,在计算精度不损失的情况下,计算效率有了显着提高。通过计算萤石晶体结构的马德隆常数验证了HP-NFFT方法的有效性,并验证了该方法在分子动力学模拟系统中计算带电离子间静电相互作用的稳健性。

英文摘要:

Nonequispaced discrete Fourier transformation (NDFT) is widely applied in all aspects of computational science and engineering. The computational efficiency and accuracy of NDFT has always been a critical issue in hindering its comprehensive applications both in intensive and in extensive aspects of scientific computing. In our previous work (2018, S.-C. Yang et al., Appl. Comput. Harmon. Anal. 44, 273), a CUNFFT method was proposed and it shown outstanding performance in handling NDFT at intermediate scale based on CUDA (Compute Unified Device Architecture) technology. In the current work, we further improved the computational efficiency of the CUNTTF method using an efficient MPI-CUDA hybrid parallelization (HP) scheme of NFFT to achieve a cutting-edge treatment of NDFT at super extended scale. Within this HP-NFFT method, the spatial domain of NDFT is decomposed into several parts according to the accumulative feature of NDFT and the detailed number of CPU and GPU nodes. These decomposed NDFT subcells are independently calculated on different CPU nodes using a MPI process-level parallelization mode, and on different GPU nodes using a CUDA threadlevel parallelization mode and CUNFFT algorithm. A massive benchmarking of the HP-NFFT method indicates that this method exhibit a dramatic improvement in computational efficiency for handling NDFT at super extended scale without loss of computational precision. Furthermore, the HP-NFFT method is validated via the calculation of Madelung constant of fluorite crystal structure, and thereafter verified that this method is robust for the calculation of electrostatic interactions between charged ions in molecular dynamics simulation systems.

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

↑