Skip to main content

topas

TOPAS wraps and extends the Geant4 simulation toolkit, making advanced Monte Carlo simulations for various forms of radiotherapy more accessible to medical physicists. TOPAS can model X-ray and particle therapy treatment heads, model patient geometry based on CT images, score dose and energy, save and replay phase spaces, provide advanced graphics, and handle full 4D processing of beam transport and patient geometry changes during treatment. TOPAS users configure pre-built components (e.g., nozzles, patient geometry, dosimetry, and imaging components) to simulate various radiotherapies without needing to understand the underlying Geant4 toolkit or any programming language. All aspects of the simulation, including all 4D behaviors, are controlled by the unique TOPAS parameter control system.


1. Script Template

#!/bin/bash
#SBATCH --nodes=1 # Number of nodes
#SBATCH --ntasks-per-node=56 # Number of cores per node
#SBATCH --ntasks=56 # Total number of cores
#SBATCH --partition=g1_share # Queue partition; must specify the correct partition
#SBATCH --job-name=hello # Job name
#SBATCH --output=hello.%j.out # Standard output log (%j is the jobId)
#SBATCH --error=hello.%j.err # Error output log (%j is the jobId)

##############################################
# Software Envrironment #
##############################################
unset I_MPI_PMI_LIBRARY # Disable default MPI library, use Intel's built-in
export I_MPI_JOB_RESPECT_PROCESS_PLACEMENT=0 # Parameter modification required for Intel multi-node jobs
# Load Intel environment

##############################################
# Run job #
##############################################
topas view.txt