数据与计算发展前沿2024,Vol.6Issue(2):134-144,11.DOI:10.11871/jfdc.issn.2096-742X.2024.02.012
面向国产加速卡的OpenFOAM线程并行加速研究
Research on Parallel Acceleration of OpenFOAM Threads for Domestic Accelerator
摘要
Abstract
[Background]With the refinement of computational fluid dynamics simulations,the demand for computing power from CFD software OpenFOAM continues to increase.The new"East"supercomputing system is a new type of home-grown heterogeneous supercomputer to satisfy the demand.[Purpose]OpenFOAM is optimized and accelerated by porting it to the Oriental Supercomputer.[Methods]Firstly,by analyzing the functional architecture of the"East"super-computing system and OpenFOAM,a solver for the domestic accelerator is developed and the ported CUSP is used to call the underlying code of the domestic accelerator to realize the sparse storage format matrix vector multiplication and diagonal matrix preprocessing.Secondly,a parallel SpMV(matrix-vector multiplication)on a single-node card with multiple domestic accelerators is implemented.[Results]The work introduced in this paper is verified by the pitzDaily example provided by OpenFOAM,and the performance is evaluated through comparison with several comparative methods of acceleration,which shows our approach achieves a 19.7 times speedup.[Limitations]This study only realizes a parallel optimization of OpenFOAM on a single-node.[Conclusions]The results of this study are of great significance for unleashing the advantages of Open-FOAM in fluid mechanics and expanding the scope of the application of supercomputer software.关键词
OpenFOAM/并行计算/异构计算/国产加速卡/移植优化Key words
OpenFOAM/parallel computing/heterogeneous computing/domestic accelerator/porting optimization引用本文复制引用
尚小敏,李强,高凌云,陶顺安,周全,袁武,陆忠华..面向国产加速卡的OpenFOAM线程并行加速研究[J].数据与计算发展前沿,2024,6(2):134-144,11.基金项目
国家重点研发计划(2020YFB1709500) (2020YFB1709500)
山东省自然科学基金面上项目(ZR201910310143) (ZR201910310143)