Abstract
This paper describes performance tuning experiences with a parallel CFD code to enhance its performance and flexibility on large scale parallel computers. The code solves the incompressible Navier-Stokes equations based on the novel Slightly Compressible Model on three-dimensional structure grids. High level loop transformations and argument based code specialization are utilized to optimize its uniprocessor performance. Static arrays are converted into dynamically allocated arrays to improve the flexibility. The grid generator is coupled with the flow solver so that they can exchange grid data in the memory. A detailed performance evaluation is performed. The results show that our uniprocessor optimizations improve the performance of the flow solver for 1.38 times to 3.93 times on Tianhe-1A supercomputer. In memory grid data exchange optimization speeds up the application startup time by nearly two magnitudes. The optimized code exhibits an excellent parallel scalability running realistic test cases. On 4 096 CPU cores, it achieves a strong scaling parallel efficiency of 77.39
Keywords
- Computational fluid dynamics
- slightly compressible model
- large-scale parallel computing
- uniprocessor optimizations
- in memory grid exchange
- scalability
- efficiency
MSC
65Y05
Cite this article
@article{cai-1393,
author = {Yonggang Che and Lilun Zhang and Chuanfu Xu and Yongxian Wang and Wei Liu and Zhenghua Wang},
title = {Optimization of a Parallel CFD Code and Its Performance Evaluation on Tianhe-1A},
journal = {Computing and Informatics},
volume = {33},
number = {6},
pages = {1377--1399},
year = {2014},
issn = {1335-9150},
url = {https://cai.type.sk/content/2014/6/optimization-of-a-parallel-cfd-code-and-its-performance-evaluation-on-tianhe-1a/}
}
TY - JOUR AU - Yonggang Che AU - Lilun Zhang AU - Chuanfu Xu AU - Yongxian Wang AU - Wei Liu AU - Zhenghua Wang TI - Optimization of a Parallel CFD Code and Its Performance Evaluation on Tianhe-1A JO - Computing and Informatics VL - 33 IS - 6 SP - 1377 EP - 1399 PY - 2014 SN - 1335-9150 UR - https://cai.type.sk/content/2014/6/optimization-of-a-parallel-cfd-code-and-its-performance-evaluation-on-tianhe-1a/ KW - Computational fluid dynamics KW - slightly compressible model KW - large-scale parallel computing KW - uniprocessor optimizations KW - in memory grid exchange KW - scalability KW - efficiency ER -
Che, Y., Zhang, L., Xu, C., Wang, Y., Liu, W., & Wang, Z. (2014). Optimization of a Parallel CFD Code and Its Performance Evaluation on Tianhe-1A. Computing and Informatics, 33(6), 1377–1399. https://cai.type.sk/content/2014/6/optimization-of-a-parallel-cfd-code-and-its-performance-evaluation-on-tianhe-1a/