The BAGEL assembler generation library

Research output: Contribution to journalArticlepeer-review


This paper presents two coupled software packages which receive widespread use in the field of numerical simulations of Quantum Chromo-Dynamics. These consist of the BAGEL library and the BAGEL fermion sparse-matrix library, BFM.

The Bagel library can generate assembly code for a number of architectures and is configurable – supporting several precision and memory pattern options to allow architecture specific optimisation. It provides high performance on the QCDOC, BlueGene/L and BlueGene/P parallel computer architectures that are popular in the field of lattice QCD. The code includes a complete conjugate gradient implementation for the Wilson and domain wall fermion actions, making it easy to use for third party codes including the Jefferson Laboratory's CHROMA, UKQCD's UKhadron, and the Riken–Brookhaven–Columbia Collaboration's CPS packages.
Original languageEnglish
Pages (from-to)2739-2748
JournalComputer Physics Communications
Issue number12
Publication statusPublished - Dec 2009


  • Assembler
  • Optimisation
  • Domain specific compiler
  • PowerPC
  • BlueGene


Dive into the research topics of 'The BAGEL assembler generation library'. Together they form a unique fingerprint.

Cite this