Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Impact of different compilers and build types on Geant4 simulation execution time

Marcon, Caterina LU orcid ; Smirnova, Oxana LU orcid and Muralidharan, Servesh (2020) In EPJ Web of Conferences 245. p.05037-05037
Abstract
Experimental observations and advanced computer simulations in High Energy Physics (HEP) paved the way for the recent discoveries at the Large Hadron Collider (LHC) at CERN. Currently, Monte Carlo simulations account for a very significant amount of computational resources of the Worldwide LHC Computing Grid (WLCG). The current growth in available computing performance will not be enough to fulfill the expected demand for the forthcoming High Luminosity run (HL-LHC). More efficient simulation codes are therefore required.This study focuses on evaluating the impact of different build methods on the simulation execution time. The Geant4 toolkit, the standard simulation code for the LHC experiments, consists of a set of libraries which can be... (More)
Experimental observations and advanced computer simulations in High Energy Physics (HEP) paved the way for the recent discoveries at the Large Hadron Collider (LHC) at CERN. Currently, Monte Carlo simulations account for a very significant amount of computational resources of the Worldwide LHC Computing Grid (WLCG). The current growth in available computing performance will not be enough to fulfill the expected demand for the forthcoming High Luminosity run (HL-LHC). More efficient simulation codes are therefore required.This study focuses on evaluating the impact of different build methods on the simulation execution time. The Geant4 toolkit, the standard simulation code for the LHC experiments, consists of a set of libraries which can be either dynamically or statically linked to the simulation executable. Dynamic libraries are currently the preferred build method.In this work, three versions of the GCC compiler, namely 4.8.5, 6.2.0 and 8.2.0 have been used. In addition, a comparison between four optimization levels (Os, O1, O2 and O3) has also been performed.Static builds for all the GCC versions considered, exhibit a reduction in execution times of about 10%. Switching to newer GCC version results in an average of 30% improvement in the execution time regardless of the build type. In particular, a static build with GCC 8.2.0 leads to an improvement of about 34% with respect to the default configuration (GCC 4.8.5, dynamic, O2). The different GCC optimization flags do not affect the execution times. (Less)
Please use this url to cite or link to this publication:
author
; and
organization
publishing date
type
Contribution to journal
publication status
published
subject
in
EPJ Web of Conferences
volume
245
pages
05037 - 05037
publisher
EDP Sciences
ISSN
2100-014X
DOI
10.1051/epjconf/202024505037
language
English
LU publication?
yes
id
f8db534e-263a-433d-8f8a-1af1a2b1f1e4
alternative location
https://www.epj-conferences.org/10.1051/epjconf/202024505037
date added to LUP
2022-03-16 14:23:19
date last changed
2022-05-17 15:51:36
@article{f8db534e-263a-433d-8f8a-1af1a2b1f1e4,
  abstract     = {{Experimental observations and advanced computer simulations in High Energy Physics (HEP) paved the way for the recent discoveries at the Large Hadron Collider (LHC) at CERN. Currently, Monte Carlo simulations account for a very significant amount of computational resources of the Worldwide LHC Computing Grid (WLCG). The current growth in available computing performance will not be enough to fulfill the expected demand for the forthcoming High Luminosity run (HL-LHC). More efficient simulation codes are therefore required.This study focuses on evaluating the impact of different build methods on the simulation execution time. The Geant4 toolkit, the standard simulation code for the LHC experiments, consists of a set of libraries which can be either dynamically or statically linked to the simulation executable. Dynamic libraries are currently the preferred build method.In this work, three versions of the GCC compiler, namely 4.8.5, 6.2.0 and 8.2.0 have been used. In addition, a comparison between four optimization levels (Os, O1, O2 and O3) has also been performed.Static builds for all the GCC versions considered, exhibit a reduction in execution times of about 10%. Switching to newer GCC version results in an average of 30% improvement in the execution time regardless of the build type. In particular, a static build with GCC 8.2.0 leads to an improvement of about 34% with respect to the default configuration (GCC 4.8.5, dynamic, O2). The different GCC optimization flags do not affect the execution times.}},
  author       = {{Marcon, Caterina and Smirnova, Oxana and Muralidharan, Servesh}},
  issn         = {{2100-014X}},
  language     = {{eng}},
  month        = {{01}},
  pages        = {{05037--05037}},
  publisher    = {{EDP Sciences}},
  series       = {{EPJ Web of Conferences}},
  title        = {{Impact of different compilers and build types on Geant4 simulation execution time}},
  url          = {{http://dx.doi.org/10.1051/epjconf/202024505037}},
  doi          = {{10.1051/epjconf/202024505037}},
  volume       = {{245}},
  year         = {{2020}},
}