Gate icon indicating copy to clipboard operation
Gate copied to clipboard

startDAQCluster fails -> Jobsplitting with gjs stopped working

Open GitFuchs opened this issue 7 years ago • 0 comments

Dear all,

as you know, Gate is delivered with gjs, the Gate job splitter. It splits a large simulation into smaller chunks.

It works by using the startDAQCluster. Basically it adds 4 lines, a random seed, start time, stop time and which part of the slice to calculate: Example:

/gate/application/setTotalNumberOfPrimaries 100000
/gate/random/setEngineSeed 2284840604199009222
/gate/application/setTimeStart 0. s
/gate/application/addSlice     1. s
/gate/application/startDAQCluster 0 0.0001 0 s

In the current dev branch it seems the DAQCluster command stopped working. E.g. the simulation does not stop after the predefined time, but continues until the total number of particles were simulated. I use this functionality only for cluster processing, however, the DAQCluster feature is probably also required for other simulations (PET?).

Potential fixes: a) Fix the function b) Change gjs to split by the number of particles. Caveat: Might break other simulations as well.

What do you think?

All the best, Hermann

GitFuchs avatar Apr 18 '17 14:04 GitFuchs