MadFlow: automating Monte Carlo simulation on GPU for particle physics processes
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.
- Publication:
-
European Physical Journal C
- Pub Date:
- July 2021
- DOI:
- 10.1140/epjc/s10052-021-09443-8
- arXiv:
- arXiv:2106.10279
- Bibcode:
- 2021EPJC...81..656C
- Keywords:
-
- Physics - Computational Physics;
- High Energy Physics - Experiment;
- High Energy Physics - Phenomenology;
- High Energy Physics - Theory
- E-Print:
- 7 pages, 4 figures, to appear at Off-Shell 2021, code available at https://github.com/N3PDF/madflow. arXiv admin note: text overlap with arXiv:2105.10529