Skip to main content

Parallelization and Optimization of Large-Scale CFD Simulations on Sunway TaihuLight System

  • Conference paper
  • First Online:
Advanced Computer Architecture (ACA 2020)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1256))

Included in the following conference series:

Abstract

TRIP is an in-house Computational Fluid Dynamics (CFD) software that can simulate subsonic, transonic, and supersonic flows with complex geometries. With the increase of computation and memory requirement for large-scale CFD simulations, it is an inevitable trend to use massively parallel computers for parallel computing. In this paper, with a dual-level hybrid and heterogeneous programming model using MPI + OpenACC, we port and optimize the TRIP software on the Sunway TaihuLight supercomputer. A series of optimization techniques, including data reconstruction, data packing, loop refactoring and array swapping, are explored. In addition, a grid preprocessing tool is developed for reducing the load imbalance caused by the non-cube shape of sub grids. Scalability tests show that TRIP can achieve 66.9% parallel efficiency of strong scaling and 96% efficiency of weak scaling when the cores are increased from 10,400 to 665,600.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Yuntao, W.: Development and application of TRIP2.0_SOLVER. Acta Aerodynamica Sinica 106(4), 2205 (2007)

    Google Scholar 

  2. Haohuan, F.: The Sunway Taihu Light supercomputer: system and applications. Sci. China (Inf. Sci.) 59(07), 113–128 (2016). https://doi.org/10.1007/s11432-016-5588-7

    Article  Google Scholar 

  3. Jian, Z., Chunbao, Z.: Extreme-scale phase field simulations of coarsening dynamics on the Sunway TaihuLight supercomputer. In: International Conference for High Performance Computing, Networking, Storage and Analysis, Salt Lake City. IEEE Press (2016)

    Google Scholar 

  4. Chao, Y., Wei, X.: 10M-core scalable fully-implicit solver for nonhydrostatic atmospheric dynamics. In: International Conference for High Performance Computing, Networking, Storage and Analysis, Salt Lake City. IEEE Press (2016)

    Google Scholar 

  5. Fu, H., He, C.: 18.9-Pflops nonlinear earthquake simulation on Sunway TaihuLight: enabling depiction of 18-hz and 8-meter scenarios. In: International Conference for High Performance Computing, Networking, Storage and Analysis, Denver. IEEE Press (2017)

    Google Scholar 

  6. Ahusborde, E., Glockner, S.: A 2D block-structured mesh partitioner for accurate flow simulations on non-rectangular geometries. Comput. Fluids 43(1), 2–13 (2011)

    Article  Google Scholar 

  7. Fang, L., Zhihui, L.: Research on adaptation of CFD software based on many-core architecture of 100P domestic supercomputing system. Comput. Sci. 47(01), 24–30 (2020)

    Google Scholar 

  8. Delong, M., Minhua, W.: Porting and optimizing OpenFOAM on Sunway TaihuLight system. Comput. Sci. 10(44), 64–70 (2017)

    Google Scholar 

  9. Chao, Y.: The Computational Fluid Dynamics Method and its Application. Beihang University Press, Beijing (2006). (in Chinese)

    Google Scholar 

  10. Juan, Z., Linsheng, L.: Automatic partition algorithm based on multi-region and multi-code problem. Comput. Eng. 36(9), 73–75 (2010)

    Google Scholar 

Download references

Acknowledgment

This work was supported by National Key Research and Development Program under grant# 2016YFB0200703 and National Numerical Windtunnel Project.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dehong Meng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yue, H., Deng, L., Meng, D., Wang, Y., Sun, Y. (2020). Parallelization and Optimization of Large-Scale CFD Simulations on Sunway TaihuLight System. In: Dong, D., Gong, X., Li, C., Li, D., Wu, J. (eds) Advanced Computer Architecture. ACA 2020. Communications in Computer and Information Science, vol 1256. Springer, Singapore. https://doi.org/10.1007/978-981-15-8135-9_19

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-8135-9_19

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-8134-2

  • Online ISBN: 978-981-15-8135-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics