[gate-users] splitting a GATE simulation by Activity (or TIME?)

Mutanga Theodore muathe02 at student.umu.se
Thu Nov 4 11:05:58 CET 2004


Hello there,

Since no one has answered most of my previous posts, I have been thinking
about the problem i have...

About splitting a simulation by activity, I was thinking that if for
instance i have a big simulation with source of activity 10 Bq, and I want
to split the simulation to say five simulations.
For the five simulations, can I write five different macros, where in each
the source definitions would be
    /gate/source/NAME/setActivity 2 Bq   ?

And then use
           qsub <pbs_submitfile1>
           qsub <pbs_submitfile2>
           ...
           qsub <pbs_submitfile5>

( or a while loop can implement this)

where the submitfiles scripts, contains SOURCE ENV_GATE.CSH for setting up
the environmental variables needed to run GATe, and the paths to all
required files to run GATE, GateMaterials.db etc.

About submitting the job(s) there is no problem, I have found out how to
do that by preparing the pbs submitfile scripts.

I just want to get some clarification on the way I have split the
simulations does it look reasonable ? If so do I just merge all the output
files (say all the *.root , *.S )at the end of the jobs to generate the
root  output and Sinogram output, respectively,  for example  from which I
can reconstruct an image ?


Thanks for your kind attention , waiting for your asnwers

Theo


More information about the Gate-users mailing list