Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.48 KB

run_g4rt.md

File metadata and controls

35 lines (28 loc) · 1.48 KB

TOML job structure

The main job configuration of the G4RT utilizing the TOML standard (instead of the G4 macro files). See the basic structure of the job: docs/toml_job_structure.md

Get IAEA phsp

Once the simulation conditions are defined for BeamType = "IAEA" in order to run the simulation you need to download these data.
You can download it from Google Drive, LINK.

The IAEA phsp reference has to be specified within the job toml file (without file extenstion), e.g.:

[RunSvc]
BeamType = "IAEA"
PhspInputFileName = "your_path/phsp/Clinac2300-PhSp-Primo/TNSIM157_10x10s2-f0"

Run simulation with G4RT

To run simulation with the job defined in toml file, simply run from cmd line (being inside the build directory):

./executables/g4rt -j 4-o /home/brachwal/Workspace/Dose3D -f -t ../jobs/testbeam/3cells_in_z.toml

where:

  • -j number of CPU threads to run simulation on,
  • -o output directory (defaul value is defined as project_dir/output/),
  • -t path to .toml file with job configuration,
  • -f run full simulation mode.

To print all available options for command line:

./executables/run-toml-mode --help

Predefined Dose3D jobs