搜索

x

留言板

姓名
邮箱
手机号码
标题
留言内容
验证码

downloadPDF
引用本文:
Citation:

    马英晋, 张坦, 何连花, 金钟

    Progress of refactoring first principle package of Beijing Simulation Tool for Atom TEchnology

    Ma Ying-Jin, Zhang Tan, He Lian-Hua, Jin Zhong
    PDF
    HTML
    导出引用
    • 基于第一性原理的理论方法的研究, 代表了材料计算、分子模拟等领域的科学高地, 相应的第一性原理计算软件直接关系到该领域相关理论、算法的积累. 本文汇报了我们在重构第一性原理计算模拟软件—北京原子技术模拟工具包(BSTATE)的一些最新进展. 重构的核心思想是降低用户使用门槛、扩展软件适用范围、增加软件对于流行计算框架的支持. 基于此思路, 在BSTATE原有Makefile编译系统的基础上添加了CMake编译环境, 并支持各种数学函数库的自动和交互式配置; 通过在原有内置泛函基础上增添Libxc泛函库的支持, 使BSTATE支持的泛函数量有了数量级上的增长; 分析测试BSTATE在集群的并行特点, 并以更新数学库接口(FFTW3、Cufftw)的形式提供对于流行异构框架的初步支持.
      The development of first principle methods can represent the summit of the sciences in the material computing and molecular modeling, and the corresponding first principle software packages are closely related with the accumulation of theories and algorithms in this field. In this paper, we reported our recent progress in refactoring the first principle package BSTATE. The key points in the reconstruction are lowering the doorsill, extending the scope of application, as well as adjusting package to the popular computer hardware. And as such, we updated the Makefile system to the new CMake system, in which the GUI can be used and many math libraries can be configured automatically; we added the support for the Libxc library, in which a large quantity of density functionals are included; we updated the interface for supporting GPU, in order to support the heterogeneous computing system. After refactoring, the Makefile system of BSTATE can supply both the Makefile and CMake system, and the Fourier transform libraries such as FFTW2, FFTW3, and Cufftw, the math libraries such as Intel MKL library, Openblas, and the density functional library such as Libxc, can be automatically or manually assigned. The integration of FFTW3 can slightly prompt the calculating efficiency in Intel’s many integrated core (MIC) architecture, and the integration of Cufftw can supply the initial support for the graphics processing unit (GPU) architecture, respectively. The usage of Libxc library makes the BSTATE package has the capacity to use hundreds density functionals, and the usages of various functionals were demonstrated by calculating the density of states of GaAs compound. Beyond the integration of various libraries, the parallel performance of BSTATE was also investigated. It can be found that the Fourier transformation and the solving for the eigenvalue equations are the major contributions. Using the tuning and analysis utilities (TAU) tool, we found that the tasks can be well distributed in modern HPC clusters. It implied that the refactoring didn’t affect the parallel efficiency of original BSTATE package. In a following benchmark test of graphene fragments, one can found that the refactored BSTATE package showed the best performance, its FFTW3 & Libxc version owns about 0–17% acceleration comparing to that of FFTW2 version.
          通信作者:何连花,helh@sccas.cn
        • 基金项目:中科院-中国科学院信息化专项-第一性原理计算模拟软件(XXH13506-403)
        [1]

        [2]

        [3]

        [4]

        [5]

        [6]

        [7]

        [8]

        [9]

        [10]

        [11]

        [12]

        [13]

        [14]

        [15]

        [16]

        [17]

        [18]

        [19]

        [20]

        [21]

        [22]

        [23]

        [24]

        [25]

        [26]

        [27]

        [28]

        [29]

      • 项目 重构前 重构后
        编译系统 GNUMake CMake
        图形GUI 不支持 支持
        跨平台 手工修改Makefile文件提供支持 原生支持
        数学库 手工配置 自动配置
        外置函数库 手工配置 支持自动配置
        异构支持
        高级编译选项 手工配置 支持GUI配置
        多线程编译 不支持 支持
        用户门槛
        下载: 导出CSV

        项目 单核/s 多核/s
        BSTATE 42.4 22.6
        BSTATE+Libxc 43.6 23.4
        性能比 0.97 0.97
        *测试机器为AMD A10 PRO-7800 B R7 (4核); GaAs体系
        下载: 导出CSV

        项目 CPU平台/s MIC平台/s
        FFTW2 1181 1717
        FFTW3+Libxc 1179 1593
        性能比 1.00 1.08
        *CPU平台为Intel至强E7-4830v3 (56核); 石墨烯体系
        *MIC平台为Intel Phi-7210 (64核); 石墨烯体系
        下载: 导出CSV
      • [1]

        [2]

        [3]

        [4]

        [5]

        [6]

        [7]

        [8]

        [9]

        [10]

        [11]

        [12]

        [13]

        [14]

        [15]

        [16]

        [17]

        [18]

        [19]

        [20]

        [21]

        [22]

        [23]

        [24]

        [25]

        [26]

        [27]

        [28]

        [29]

      计量
      • 文章访问数:7836
      • PDF下载量:146
      • 被引次数:0
      出版历程
      • 收稿日期:2019-10-29
      • 修回日期:2019-12-03
      • 刊出日期:2020-02-20

        返回文章
        返回
          Baidu
          map