View on GitHub

Geant4 Zero to Hero

The Definitive Guide for End Users

Run Geant4

Run Geant4 through HTCondor

ssh username@ap20.uc.osg-htc.org
git clone https://github.com/jintonic/geant4.git
cd geant4/run/condor
condor_submit gears.submit
condor_watch_q

gears.submit is used to submit 5 jobs:

These macro files differ from each other in their random seeds to ensure unique MC simulation results. They call setup.mac for configurations common for all jobs. Detection definition is in detector.tg.

Access point, ap20.uc.osg-htc.org, of OSPool is used to submit these [HTCondor] jobs. Docker image physino/geant4 is used to create an Apptainer image (~375 MB), which is transferred to execution points (remote computers). Transferred together are Geant4 datasets packed in a tar.gz file (~1.6 GB). Output ROOT files are output0~4.root.