Skip to main content

An Optimized Lattice Boltzmann Code for BlueGene/Q

  • Conference paper
  • First Online:
Parallel Processing and Applied Mathematics (PPAM 2013)


In this paper we describe an optimized implementation of a Lattice Boltzmann (LB) code on the BlueGene/Q system, the latest generation massively parallel system of the BlueGene family. We consider a state-of-art LB code, that accurately reproduces the thermo-hydrodynamics of a 2D-fluid obeying the equations of state of a perfect gas. The regular structure of LB algorithms offers several levels of algorithmic parallelism that can be matched by a massively parallel computer architecture. However the complex memory access patterns associated to our LB model make it not trivial to efficiently exploit all available parallelism. We describe our implementation strategies, based on previous experience made on clusters of many-core processors and GPUs, present results and analyze and compare performances.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
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

Similar content being viewed by others


  1. Succi, S.: The Lattice Boltzmann Equation for Fluid Dynamics and Beyond. Oxford University Press, Oxford (2001)

    MATH  Google Scholar 

  2. Bartoloni, A., et al.: LBE simulations of Rayleigh-Benard convection on the APE100 parallel processor. Int. J. Mod. Phys. C4, 993 (1993)

    Article  Google Scholar 

  3. Pohl, T., et al.: Optimization and profiling of the cache performance of parallel lattice Boltzmann codes. Parallel Process. Lett. 13(4), 549 (2003)

    Article  MathSciNet  Google Scholar 

  4. Wellein, G., Zeiser, T., Hager, G., Donath, S.: On the single processor performance of simple lattice Boltzmann kernels. Comput. Fluids 35, 910 (2006)

    Article  MATH  Google Scholar 

  5. Biferale, L., et al.: A multi-GPU implementation of a D2Q37 lattice Boltzmann code. In: Wyrzykowski, R., Dongarra, J., Karczewski, K., Waśniewski, J. (eds.) PPAM 2011, Part I. LNCS, vol. 7203, pp. 640–650. Springer, Heidelberg (2012)

    Google Scholar 

  6. Biferale, L., et al.: Optimization of multi-phase compressible lattice Boltzmann codes on massively parallel multi-core systems. Procedia Comput. Sci. 4, 994–1003 (2011)

    Article  Google Scholar 

  7. Sbragaglia, M., et al.: Lattice Boltzmann method with self-consistent thermo-hydrodynamic equilibria. J. Fluid Mech. 628, 299 (2009)

    Article  MATH  MathSciNet  Google Scholar 

  8. Scagliarini, A., et al.: Lattice Boltzmann methods for thermal flows: continuum limit and applications to compressible Rayleigh-Taylor systems. Phys. Fluids 22, 055101 (2010)

    Article  Google Scholar 

  9. Chen, D., et al.: The IBM Blue Gene/Q interconnection network and message unit. In: Proceedings of the 2011 International Conference for High Performance Computing, Networking, Storage and Analysis, vol. 26 (2011)

    Google Scholar 

Download references


We would like to thank CINECA (Bologna, Italy) and the Jülich Supercomputing Center (Jülich, Germany) for access to the Fermi and Juqueen BG/Q systems. This work has been done in the framework of the COKA and SUMA projects of INFN (Italy).

Author information

Authors and Affiliations


Corresponding author

Correspondence to Sebastiano Fabio Schifano .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pivanti, M., Mantovani, F., Schifano, S.F., Tripiccione, R., Zenesini, L. (2014). An Optimized Lattice Boltzmann Code for BlueGene/Q. In: Wyrzykowski, R., Dongarra, J., Karczewski, K., Waśniewski, J. (eds) Parallel Processing and Applied Mathematics. PPAM 2013. Lecture Notes in Computer Science(), vol 8385. Springer, Berlin, Heidelberg.

Download citation

  • DOI:

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-55194-9

  • Online ISBN: 978-3-642-55195-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics