Gate

GATE is an advanced opensource software developed by the international OpenGATE collaboration and dedicated to numerical simulations in medical imaging and radiotherapy. It currently supports simulations of Emission Tomography (Positron Emission Tomography - PET and Single Photon Emission Computed Tomography - SPECT), Computed Tomography (CT) and Radiotherapy experiments.

See the Gate homepage (http://www.opengatecollaboration.org) for further details.

Availability on Wesley

  Version      Date Installed    Setup Module  
6.1.0  Aug 15, 2012none, source setup script

Submitting Gate jobs to the queue

As an example, assume your Gate macro file is named mainMacro.mac

First create a Torque/PBS qsub script as follows:

#!/bin/bash -l

# Go to the same directory that we had submitted the job from
cd $PBS_O_WORKDIR

# Setup environment for running Gate 6.1.0
source /shared/gate/6.1.0/gate6_1/env_gate.sh

# Run Gate specifying our Macro.
Gate mainMacro.mac

Next, submit it to the queue with a qsub command similar to the following:

qsub -l walltime=2:30:00 MyGateJob.qsub

Note: The walltime=2:30:00 tells the queueing system that this job should only be allowed to run for a maximum of 2 hours and 30 minutes, after which it should be automatically killed. Be sure to adjust your walltime appropriately.

Running interactively with a visualization window

It is acceptable to run small interactive simulations with visualization on wesley's headnode. Please limit yourself to one case at a time and to simulations that will not run for more than an hour. To allow the graphics display to open you will need to logon using either X11 forwarding, or VNC