Computer Engineering & Science ›› 2021, Vol. 43 ›› Issue (11): 1901-1909.
Previous Articles Next Articles
ZHANG Yu-zhou1,CAO Wu-di1,BU Jing-de1,TAN Guang-ming2,JI Qing1
Received:
Revised:
Accepted:
Online:
Published:
Abstract: GROMACS is a widely used open-source molecular dynamics simulation software. Currently, NVIDIA GPUs are mainly used for accelerated calculations through CUDA. ROCm is an open-source high-performance heterogeneous computing platform. Based on the HIP programming language of the ROCm platform, this paper implements the complete porting of the GROMACS 2020 series on the ROCm platform for the first time. On MI50 GPU, with a complex ionic liquid simulation example as the target, the performance analysis of the transplanted code was carried out using GPU performance analysis tool rocprof. According to the hardware characteristics of MI50, the bonding force kernel function, the PME kernel function of electrostatic force and the short-range non-bonding force kernel function are optimized successively. After optimization, the performance of the target calculation example is about 2.8 times that of the initial version. The performance on MI50 is 60.5% higher than that of the GROMACS original OpenCL code, which is about 2.7 times faster than the pure CPU version. In the single-node test of the other two representative examples and the multi-node scalability test of the ionic liquid example, the optimized code also achieves a better performance improvement, which shows that the optimization has a certain versatility.
Key words: molecular dynamics, GROMACS, radeon open compute, application porting, performance optimization
ZHANG Yu-zhou, CAO Wu-di, BU Jing-de, TAN Guang-ming, JI Qing. Porting and optimization of GROMACS 2020 on ROCm platform[J]. Computer Engineering & Science, 2021, 43(11): 1901-1909.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2021/V43/I11/1901