华东师范大学学报(自然科学版) ›› 2019, Vol. 2019 ›› Issue (1): 105-114.doi: 10.3969/j.issn.1000-5641.2019.01.012

• 物理学与电子学 • 上一篇    下一篇

基于KNL众核处理器平台的并行矩量法性能优化

顾宗静1, 赵勋旺1, 刘莹玉1, 林中朝1, 张玉1, 赵玉萍2   

  1. 1. 西安电子科技大学 电子工程学院, 西安 710071;
    2. 英特尔(中国)有限公司, 北京 100013
  • 收稿日期:2017-09-29 出版日期:2019-01-25 发布日期:2019-01-24
  • 通讯作者: 张玉,男,教授,博士生导师,研究方向为电磁场与微波技术.E-mail:yuzhang@mail.xidan.edu.cn E-mail:yuzhang@mail.xidan.edu.cn
  • 作者简介:顾宗静,男,博士研究生,研究方向为电磁场与微波技术.E-mail:xdguzongjing@163.com.
  • 基金资助:
    国家重点研发计划(2017YFB0202102,2016YFE0121600);中国博士后科学基金(2017M613068);NSFC-广东联合基金超级计算科学应用研究专项(第二期)

Optimization of parallel method of moments based on KNL many-core processors

GU Zong-jing1, ZHAO Xun-wang1, LIU Ying-yu1, LIN Zhong-chao1, ZHANG Yu1, ZHAO Yu-ping2   

  1. 1. School of Electronic Engineering, XiDian University, Xian 710071, China;
    2. Intel(China) Limited, Beijing 100013, China
  • Received:2017-09-29 Online:2019-01-25 Published:2019-01-24

摘要: 基于Intel第二代Xeon Phi代号为Knights Landing(KNL)众核处理器平台,利用MPI+OpenMP混合编程策略对并行矩量法(Method of Moments,MoM)进行了优化.利用OpenMP编程技术和KNL的计算资源,提高了CPU(Center Processing Unit)使用率;线程的引入,大幅度减少了矩阵填充过程中进程间的冗余积分;为发挥KNL的512位矢量宽度优势,通过向量化优化进一步提高了循环结构的执行效率;对计算密集型、CPU利用率高的矩阵求解过程,通过引入的OpenMP编程策略,减少了MPI(Message Passing Interface)通信时间,加速了求解.数值结果表明,通过在KNL众核处理器平台上的优化,可以极大地提升矩量法计算复杂电磁问题的效率.

关键词: 众核处理器, MPI+OpenMP, 并行矩量法, 向量化

Abstract: The parallel method of moments (MoM) is successfully optimized using the MPI+OpenMP hybrid programming strategy, based on the second-generation Intel Xeon Phi many-core processor platform, codenamed Knights Landing (KNL). Using OpenMP programming technology, the utilization rate of the CPU (Center Processing Unit) is increased, and the computing resources of KNL are fully utilized. The introduction of threads substantially reduces the inter-process redundant integrals in the filling matrix process. In order to give full play to the advantage of KNL's 512-bit vector width, the efficiency of the loop structure is further enhanced through vector optimization. For the matrix solution process, which typically requires intensive computation and high CPU utilization, MPI (Message Passing Interface) communication time is reduced and the solution process is accelerated by introducing an OpenMP programming strategy. Numerical results show that the efficiency of solving complex electromagnetic problems by parallel MoM is greatly improved through optimization on the KNL many-core processor platform.

Key words: many-core processor, MPI+OpenMP, parallel method of moments (MoM), vectorization

中图分类号: