[Gate-users] Random generation mechanism in Gate 5
Simon Stute
gate.stute at gmail.com
Wed Sep 30 12:48:34 CEST 2009
Hi Yonggang,
It is strange that the first line causes abortion of the simulation ... but
as it is the case, you have to delete it, manually (very annoying) or in the
source code of the gjs program. To do so, open the
Cluster_Tools/jobsplitter/src/GateMacFileParser.cc file and comment line
number 289 (the line that says: 'output<<"/gate/output/root/setSaveRndmFlag
0"<<endl;'), and recompile the gjs program.
The second line is necessary because it will set a different seed for each
job.
The third line, I think, is added when you have not clearly disabled the
ascii output in your original macro file. So add the command
/gate/output/ascii/disable.
Tell us if something goes wrong again.
Cheers,
Simon
On Wed, Sep 30, 2009 at 5:06 AM, Cui, Yonggang <ycui at bnl.gov> wrote:
> Dear All,
>
>
>
> I am trying to run GATE 5 on a cluster machine. “gjs” splits the job and
> always adds the following lines to each “mac” file.
>
>
>
> /gate/output/root/setSaveRndmFlag 0
>
> /gate/random/setEngineSeed …
>
> /gate/output/ascii/setfileName …
>
>
>
> The first line causes abortion of the simulation. It seems that GATE 5
> uses different random generation mechanism.
>
>
>
> Can anybody explain it in detail? How do we control “gjs” and get rid of
> this line?
>
>
>
> Thanks,
>
> Yonggang
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090930/58d8b6b3/attachment.htm>
More information about the Gate-users
mailing list