The following article is Open access

Creating and Improving Multi-Threaded Geant4

, , , , , and

Published under licence by IOP Publishing Ltd
, , Citation Xin Dong et al 2012 J. Phys.: Conf. Ser. 396 052029 DOI 10.1088/1742-6596/396/5/052029

1742-6596/396/5/052029

Abstract

We document the methods used to create the multi-threaded prototype Geant4MT from a sequential version of Geant4. We cover the Source-to-Source transformations applied, and discuss the process of verifying the correctness of the Geant4MT toolkit and applications based on it. Tools to ensure that the results of a transformed multi-threaded application are exactly equal to the original sequential version are under development. Stand-alone or simple applications can be adapted within 1–2 working days. Geant4MT is shown to scale linearly on an 80-core computer. In the special case of a single worker thread on one core, 30% overhead has been observed. We explain the reasons for this and the improvements introduced to reduce this overhead.

Export citation and abstract BibTeX RIS

Please wait… references are loading.
10.1088/1742-6596/396/5/052029