Research Article

Performance Evaluation of Multithreaded Geant4 Simulations Using an Intel Xeon Phi Cluster

Script 7

TestEm12 macro file example (TestEm12.mac).
/control/verbose 0
/run/verbose 0#
/testem/det/setMat G4_WATER
/testem/det/setRadius3cm#
/testem/phys/addPhysicsemstandard_opt3#  em  physics
/run/numberOfThreads 10
/run/initialize
/gun/particle e-
/gun/energy 4 MeV
/analysis/setFileName test
/analysis/h1/set 1 150 0.3.cm    #edep profile
/analysis/h1/set 3 100 0.  3.cm  #true track length
/analysis/h1/set 8 120 0.  1.2none     #normalized edep profile
/testem/applyAutomaticStepMax true
/run/beamOn 1000000