Cargando…

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

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 Compu...

Descripción completa

Detalles Bibliográficos
Autores principales: Marcon, Caterina, Smirnova, Oxana, Muralidharan, Servesh
Lenguaje:eng
Publicado: 2020
Materias:
Acceso en línea:https://dx.doi.org/10.1051/epjconf/202024505037
http://cds.cern.ch/record/2752845
_version_ 1780969331239157760
author Marcon, Caterina
Smirnova, Oxana
Muralidharan, Servesh
author_facet Marcon, Caterina
Smirnova, Oxana
Muralidharan, Servesh
author_sort Marcon, Caterina
collection CERN
description 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.
id oai-inspirehep.net-1832174
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2020
record_format invenio
spelling oai-inspirehep.net-18321742021-03-01T20:16:23Zdoi:10.1051/epjconf/202024505037http://cds.cern.ch/record/2752845engMarcon, CaterinaSmirnova, OxanaMuralidharan, ServeshImpact of different compilers and build types on Geant4 simulation execution timeComputing and ComputersExperimental 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.oai:inspirehep.net:18321742020
spellingShingle Computing and Computers
Marcon, Caterina
Smirnova, Oxana
Muralidharan, Servesh
Impact of different compilers and build types on Geant4 simulation execution time
title Impact of different compilers and build types on Geant4 simulation execution time
title_full Impact of different compilers and build types on Geant4 simulation execution time
title_fullStr Impact of different compilers and build types on Geant4 simulation execution time
title_full_unstemmed Impact of different compilers and build types on Geant4 simulation execution time
title_short Impact of different compilers and build types on Geant4 simulation execution time
title_sort impact of different compilers and build types on geant4 simulation execution time
topic Computing and Computers
url https://dx.doi.org/10.1051/epjconf/202024505037
http://cds.cern.ch/record/2752845
work_keys_str_mv AT marconcaterina impactofdifferentcompilersandbuildtypesongeant4simulationexecutiontime
AT smirnovaoxana impactofdifferentcompilersandbuildtypesongeant4simulationexecutiontime
AT muralidharanservesh impactofdifferentcompilersandbuildtypesongeant4simulationexecutiontime