pith. sign in

arxiv: 2106.10279 · v1 · pith:5LAMT7MRnew · submitted 2021-06-18 · ⚛️ physics.comp-ph · hep-ex· hep-ph· hep-th

MadFlow: automating Monte Carlo simulation on GPU for particle physics processes

classification ⚛️ physics.comp-ph hep-exhep-phhep-th
keywords simulationhardwareprocessescarlocodefullmontephysics
0
0 comments X
read the original abstract

We present MadFlow, a first general multi-purpose framework for Monte Carlo (MC) event simulation of particle physics processes designed to take full advantage of hardware accelerators, in particular, graphics processing units (GPUs). The automation process of generating all the required components for MC simulation of a generic physics process and its deployment on hardware accelerator is still a big challenge nowadays. In order to solve this challenge, we design a workflow and code library which provides to the user the possibility to simulate custom processes through the MadGraph5_aMC@NLO framework and a plugin for the generation and exporting of specialized code in a GPU-like format. The exported code includes analytic expressions for matrix elements and phase space. The simulation is performed using the VegasFlow and PDFFlow libraries which deploy automatically the full simulation on systems with different hardware acceleration capabilities, such as multi-threading CPU, single-GPU and multi-GPU setups. The package also provides an asynchronous unweighted events procedure to store simulation results. Crucially, although only Leading Order is automatized, the library provides all ingredients necessary to build full complex Monte Carlo simulators in a modern, extensible and maintainable way. We show simulation results at leading-order for multiple processes on different hardware configurations.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. GPU-accelerated spectrum reweighting for new-physics searches in solar neutrino--electron scattering

    hep-ex 2026-07 unverdicted novelty 5.0

    A GPU-accelerated reweighting method speeds up likelihood evaluations for new-physics searches in neutrino-electron scattering by using precomputed spectra and response kernels.