We present VegasFlow, a new software for fast evaluation of high dimensional integrals based on Monte Carlo integration techniques designed for platforms with hardware accelerators. The growing complexity of calculations and simulations in many areas of science have been accompanied by advances in the computational tools which have helped their developments. VegasFlow enables developers to delegate all complicated aspects of hardware or platform implementation to the library so they can focus on the problem at hand. This software is inspired on the Vegas algorithm, ubiquitous in the particle physics community as the driver of cross section integration, and based on Google's powerful TensorFlow library. We benchmark the performance of this library on many different consumer and professional grade GPUs and CPUs. Program summary: Program Title: VegasFlow CPC Library link to program files: http://dx.doi.org.pros.lib.unimi.it/10.17632/rpgcbzzhdt.1 Developer's repository link: https://github.com/N3PDF/vegasflow Licensing provisions: GPLv3 Programming language: Python Nature of problem: The solution of high dimensional integrals requires the implementation of Monte Carlo algorithms such as Vegas. Monte Carlo algorithms are known to require long computation times. Solution method: Implementation of the Vegas algorithm using the dataflow graph infrastructure provided by the TensorFlow framework. Extension of the algorithm to take advantage of multi-threading CPU and multi-GPU setups.

VegasFlow: Accelerating Monte Carlo simulation across multiple hardware platforms / S. Carrazza, C. Juan. - In: COMPUTER PHYSICS COMMUNICATIONS. - ISSN 0010-4655. - 254(2020 Sep).

VegasFlow: Accelerating Monte Carlo simulation across multiple hardware platforms

S. Carrazza
Primo
;
C. Juan
Ultimo
2020

Abstract

We present VegasFlow, a new software for fast evaluation of high dimensional integrals based on Monte Carlo integration techniques designed for platforms with hardware accelerators. The growing complexity of calculations and simulations in many areas of science have been accompanied by advances in the computational tools which have helped their developments. VegasFlow enables developers to delegate all complicated aspects of hardware or platform implementation to the library so they can focus on the problem at hand. This software is inspired on the Vegas algorithm, ubiquitous in the particle physics community as the driver of cross section integration, and based on Google's powerful TensorFlow library. We benchmark the performance of this library on many different consumer and professional grade GPUs and CPUs. Program summary: Program Title: VegasFlow CPC Library link to program files: http://dx.doi.org.pros.lib.unimi.it/10.17632/rpgcbzzhdt.1 Developer's repository link: https://github.com/N3PDF/vegasflow Licensing provisions: GPLv3 Programming language: Python Nature of problem: The solution of high dimensional integrals requires the implementation of Monte Carlo algorithms such as Vegas. Monte Carlo algorithms are known to require long computation times. Solution method: Implementation of the Vegas algorithm using the dataflow graph infrastructure provided by the TensorFlow framework. Extension of the algorithm to take advantage of multi-threading CPU and multi-GPU setups.
Graphs; Hardware acceleration; Integration; Machine learning; Monte Carlo;
Settore FIS/02 - Fisica Teorica, Modelli e Metodi Matematici
set-2020
16-mag-2020
Article (author)
File in questo prodotto:
File Dimensione Formato  
vegasflow.pdf

Open Access dal 17/05/2021

Tipologia: Post-print, accepted manuscript ecc. (versione accettata dall'editore)
Dimensione 329.33 kB
Formato Adobe PDF
329.33 kB Adobe PDF Visualizza/Apri
1-s2.0-S0010465520301624-main.pdf

accesso riservato

Tipologia: Publisher's version/PDF
Dimensione 493.85 kB
Formato Adobe PDF
493.85 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/735857
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 18
  • ???jsp.display-item.citation.isi??? 10
social impact