Skip to main content
QUICK REVIEW

[Paper Review] SIMULATeQCD: A simple multi-GPU lattice code for QCD calculations

L. Mazur, Dennis Bollweg|arXiv (Cornell University)|Jun 1, 2023
Advanced Data Storage TechnologiesComputer Science63 references4 citations
TL;DR

SIMULATeQCD is a publicly available, open-source, multi-GPU lattice QCD code designed for high-performance simulations using the highly improved staggered quark (HISQ) action. It supports multiple GPU APIs (CUDA, HIP, SYCL), enables efficient large-scale calculations across diverse hardware, and is optimized for flexibility, portability, and extensibility in modern exascale computing environments.

ABSTRACT

The rise of exascale supercomputers has fueled competition among GPU vendors, driving lattice QCD developers to write code that supports multiple APIs. Moreover, new developments in algorithms and physics research require frequent updates to existing software. These challenges have to be balanced against constantly changing personnel. At the same time, there is a wide range of applications for HISQ fermions in QCD studies. This situation encourages the development of software featuring a HISQ action that is flexible, high-performing, open source, easy to use, and easy to adapt. In this technical paper, we explain the design strategy, provide implementation details, list available algorithms and modules, and show key performance indicators for SIMULATeQCD, a simple multi-GPU lattice code for large-scale QCD calculations, mainly developed and used by the HotQCD collaboration. The code is publicly available on GitHub.

Motivation & Objective

  • Address the growing need for portable, high-performance lattice QCD codes that support multiple GPU vendors (NVIDIA, AMD, Intel) in exascale supercomputing environments.
  • Provide a modern, maintainable, and extensible software framework that simplifies the implementation of new algorithms and physics models in lattice QCD.
  • Enable large-scale QCD simulations with the HISQ fermion action by supporting multi-GPU and multi-node architectures with efficient memory management.
  • Facilitate collaboration across the HotQCD and broader lattice QCD communities by ensuring compatibility with the ILDG data format and open-source development practices.
  • Reduce the barrier to entry for new developers by abstracting low-level GPU programming details while maintaining high performance and portability.

Proposed method

  • Design a modular, abstraction-layered software architecture that decouples physics algorithms from low-level GPU kernels, enabling support for multiple GPU programming interfaces (CUDA, HIP, SYCL).
  • Implement a flexible indexing system for lattice fields and gauge configurations, optimized for memory coalescing and cache efficiency on GPU architectures.
  • Integrate the HISQ fermion action with improved gauge field configurations, including the use of the fourth root of the fermion determinant to recover the correct number of physical quark flavors.
  • Support multi-GPU and multi-node parallelization using domain decomposition and non-blocking communication patterns to minimize latency and maximize overlap.
  • Enable CPU-only compilation via preprocessor macros for development and debugging, though vectorized CPU kernels are not yet implemented.
  • Provide a lightweight, modular codebase with clear documentation and a GitHub-hosted repository under the MIT license to encourage community contributions and long-term maintainability.

Experimental results

Research questions

  • RQ1How can a lattice QCD code be designed to efficiently support multiple GPU programming interfaces (CUDA, HIP, SYCL) while maintaining high performance and portability?
  • RQ2What architectural patterns enable efficient, scalable, and maintainable implementation of the HISQ fermion action across multi-GPU and multi-node systems?
  • RQ3To what extent can a modern lattice QCD code reduce the complexity of algorithm development and hardware porting for new researchers and projects?
  • RQ4How well does the SIMULATeQCD framework support the integration of new physics models, such as the Wilson fermion action or dynamical charm quarks?
  • RQ5What performance characteristics does SIMULATeQCD achieve on current and emerging exascale systems, including those with heterogeneous GPU architectures?

Key findings

  • SIMULATeQCD successfully supports multiple GPU programming interfaces (CUDA, HIP, SYCL), enabling portability across diverse HPC systems including Frontier, LUMI, and Perlmutter.
  • The code achieves high performance on large-scale lattices, with strong scaling observed on multi-GPU nodes, making it suitable for exascale simulations of QCD thermodynamics.
  • The modular design allows for straightforward implementation of new algorithms, such as Taylor expansion coefficients of the pressure, with minimal code changes.
  • The framework supports the HISQ action with full compatibility to the ILDG data format, enabling interoperability with existing lattice QCD data and tools.
  • The code is already being used by the HotQCD collaboration for precision calculations of the QCD equation of state, chiral transition temperature, and conserved charge fluctuations.
  • The open-source, MIT-licensed release on GitHub ensures long-term maintainability and community-driven development, with active contributions from multiple institutions worldwide.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.