首页 | 本学科首页   官方微博 | 高级检索  
     

基于第一性原理量子输运模拟的并行计算
引用本文:张若兴,侯士敏,丑强. 基于第一性原理量子输运模拟的并行计算[J]. 计算物理, 2015, 32(6): 631-638
作者姓名:张若兴  侯士敏  丑强
作者单位:1. 国家核电技术公司 北京软件技术中心国家能源核电软件重点实验室, 北京 100029;2. 北京大学 电子学系 纳米器件物理与化学教育部重点实验室, 北京 100871
基金项目:国家核电技术公司员工自主创新项目(SNP-KJ-CX-2015-27);大型先进压水堆核电站重大专项核电关键设计软件自主化技术研究课题(2011ZX06004-024)资助
摘    要:
为了解决基于第一性原理分析计算大尺度量子输运体系时遇到的耗时长久问题,挖掘密度泛函理论与非平衡格林函数相结合方法(DFT+NEGF方法)在自洽迭代过程中的计算热点,就计算电子密度矩阵时的能量点积分和计算格林函数时的矩阵求逆/乘法运算提出MPI/Open MP并行计算方案.能量点积分采用MPI多进程并行方案,在数据初始化时需要将稀疏矩阵和积分能量点依照轮询调度算法分配给各进程.矩阵求逆/乘法的并行化既可调用ScaLAPACK子程序实现又可调用IntelMKL数学库中的OpenMP多线程加速函数实现.由于不同能量点计算的独立性,能量点积分采用的MPI并行计算获得近乎线性的加速比曲线.由于Open MP多线程并行采用的是基于共享内存的数据交换机制以及线程间切换通信开销小,矩阵求逆/乘法运算的OpenMP并行实现在计算效率上要优于而在程序的可扩展性上要劣于MPI多进程并行实现.

关 键 词:第一性原理计算  密度泛函理论  格林函数  MPI  并行计算  
收稿时间:2014-11-03
修稿时间:2015-02-09

Parallel Computing of First-principles Based Quantum Transport Simulations
ZHANG Ruoxing,HOU Shimin,CHOU Qiang. Parallel Computing of First-principles Based Quantum Transport Simulations[J]. Chinese Journal of Computational Physics, 2015, 32(6): 631-638
Authors:ZHANG Ruoxing  HOU Shimin  CHOU Qiang
Affiliation:1. National Energy Key Laboratory of Nuclear Power Software, Software Development Center, State Nuclear Power Technology Corporation, Beijing 100029, China;2. Key Laboratory for the Physics and Chemistry of Nanodevices, Department of Electronics, Peking University, Beijing 100871, China
Abstract:
To solve long time-consuming problem in analysis of large-scale quantum transport systems based on first-principles calculations, we analyze hot spots of self-consistent iterations within the framework that combines non-equilibrium Green's function with density functional theory, namely DFT+NEGF method. Two parallel computing schemes based on MPI/OpenMP are proposed to deal with energy point integration and matrix inversion/multiplication. For energy point integral parallelism, sparse matrix as well as energy points should be assigned to each process over data initialization according to round-robin scheduling algorithm. Either MPI based ScaLAPACK subroutine or OpenMP based Intel MKL subroutine can be called to realize matrix inversion/multiplication parallelization. A sub-linear speedup ratio curve is obtained for energy point integral parallelism due to the fact that calculations related with different energy points are mutually independent. OpenMP parallelism adopts shared memory patterned data exchange mechanism and overhead of switching threads is rather small, and consequently it is better in computing efficiency but worse in code scalability than MPI implementation.
Keywords:first-principles calculations  density functional theory  Green's function  MPI  parallel computing  
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算物理》浏览原始摘要信息
点击此处可从《计算物理》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号