<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1454316001163_12858"><span></span></div><div id="yui_3_16_0_1_1454316001163_13047">Hello Loic,</div><div id="yui_3_16_0_1_1454316001163_13121"><br></div><div dir="ltr" id="yui_3_16_0_1_1454316001163_13053">We tried your recommendations with David Boersma.  First we run main macro file for 20 particles and stored output in PhS_new.root file. We got particle's properties(location and energy) in root with Scan command and then we closed root to make sure root will not remember the first output file due to the same tree's name. We run main macro second time with same particle number(20) to get second output file which called PhS_try.root.  In root with scan we obtained particle's properties again for second run. After that we compared two text files which include particle's location and energies and there was no difference between them. </div><div dir="ltr" id="yui_3_16_0_1_1454316001163_13053"><br></div><div dir="ltr" id="yui_3_16_0_1_1454316001163_13053">David Boersma run same macro file in his computer which has Geant4 compiled with multithread OFF, and he obtained different results for same number of primaries. My Geant4 compiled with multithread ON.  We are going to try to compile on my computer with multitherad OFF and on David's computer multithread ON to investigate whether it really depends on the multithreading.</div><div dir="ltr" id="yui_3_16_0_1_1454316001163_13053"><br></div><div dir="ltr" id="yui_3_16_0_1_1454316001163_13053">Best regards.</div><div dir="ltr" id="yui_3_16_0_1_1454316001163_13053"><br></div><div dir="ltr" id="yui_3_16_0_1_1454316001163_13053">Hediye acun</div><div id="yui_3_16_0_1_1454316001163_13052"><br></div><div id="yui_3_16_0_1_1454316001163_13162">PS. It looks like the mailing list not working today. David didn't receive your reply and we didn't see on the archive either.</div> <div class="qtdSeparateBR" id="yui_3_16_0_1_1454316001163_12859"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_1_1454316001163_13474" style="display: block;">  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1454316001163_13473"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1454316001163_13472"> <div dir="ltr" id="yui_3_16_0_1_1454316001163_13471"> <font size="2" face="Arial" id="yui_3_16_0_1_1454316001163_13470"> <hr size="1" id="yui_3_16_0_1_1454316001163_13469"> <b><span style="font-weight:bold;">From:</span></b> Grevillot Loic <loic.grevillot@medaustron.at><br> <b><span style="font-weight: bold;">To:</span></b> hediye acun <acunhediye@yahoo.com>; "gate-users@lists.opengatecollaboration.org" <gate-users@lists.opengatecollaboration.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, February 1, 2016 9:20 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> RE: [Gate-users] problem with random number seed?<br> </font> </div> <div class="y_msg_container"><br><div id="yiv9306514893"><style>#yiv9306514893 #yiv9306514893 --
 
 _filtered #yiv9306514893 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}
 _filtered #yiv9306514893 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
 _filtered #yiv9306514893 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
 _filtered #yiv9306514893 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv9306514893 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 _filtered #yiv9306514893 {font-family:Aharoni;panose-1:2 1 8 3 2 1 4 3 2 3;}
#yiv9306514893  
#yiv9306514893 p.yiv9306514893MsoNormal, #yiv9306514893 li.yiv9306514893MsoNormal, #yiv9306514893 div.yiv9306514893MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv9306514893 a:link, #yiv9306514893 span.yiv9306514893MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv9306514893 a:visited, #yiv9306514893 span.yiv9306514893MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv9306514893 p.yiv9306514893MsoAcetate, #yiv9306514893 li.yiv9306514893MsoAcetate, #yiv9306514893 div.yiv9306514893MsoAcetate
        {margin:0in;margin-bottom:.0001pt;font-size:8.0pt;}
#yiv9306514893 p.yiv9306514893MsoListParagraph, #yiv9306514893 li.yiv9306514893MsoListParagraph, #yiv9306514893 div.yiv9306514893MsoListParagraph
        {margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv9306514893 span.yiv9306514893EmailStyle17
        {color:#1F497D;}
#yiv9306514893 span.yiv9306514893BalloonTextChar
        {}
#yiv9306514893 .yiv9306514893MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv9306514893 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv9306514893 div.yiv9306514893WordSection1
        {}
#yiv9306514893  
 _filtered #yiv9306514893 {}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {font-family:Wingdings;}
 _filtered #yiv9306514893 {}
 _filtered #yiv9306514893 {margin-left:.75in;font-family:Wingdings;}
 _filtered #yiv9306514893 {margin-left:1.25in;}
 _filtered #yiv9306514893 {margin-left:1.75in;font-family:Wingdings;}
 _filtered #yiv9306514893 {margin-left:2.25in;font-family:Symbol;}
 _filtered #yiv9306514893 {margin-left:2.75in;}
 _filtered #yiv9306514893 {margin-left:3.25in;font-family:Wingdings;}
 _filtered #yiv9306514893 {margin-left:3.75in;font-family:Symbol;}
 _filtered #yiv9306514893 {margin-left:4.25in;}
 _filtered #yiv9306514893 {margin-left:4.75in;font-family:Wingdings;}
 _filtered #yiv9306514893 {}
 _filtered #yiv9306514893 {margin-left:20.25pt;}
 _filtered #yiv9306514893 {margin-left:56.25pt;}
 _filtered #yiv9306514893 {margin-left:92.25pt;font-family:Wingdings;}
 _filtered #yiv9306514893 {margin-left:128.25pt;font-family:Symbol;}
 _filtered #yiv9306514893 {margin-left:164.25pt;}
 _filtered #yiv9306514893 {margin-left:200.25pt;font-family:Wingdings;}
 _filtered #yiv9306514893 {margin-left:236.25pt;font-family:Symbol;}
 _filtered #yiv9306514893 {margin-left:272.25pt;}
 _filtered #yiv9306514893 {margin-left:308.25pt;font-family:Wingdings;}
#yiv9306514893 ol
        {margin-bottom:0in;}
#yiv9306514893 ul
        {margin-bottom:0in;}
#yiv9306514893 </style><div>
<div class="yiv9306514893WordSection1">
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">Hello,</span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">  </span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">In my experience the command</span><span style="">"/gate/random/setEngineSeed auto"</span><span style="font-size:11.0pt;">
 works.</span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">In your example you are looking at histograms, but to verify that issue I was thinking about something different:</span></div> 
<div class="yiv9306514893MsoListParagraph" style="margin-left:20.25pt;">
<span style="font-size:11.0pt;"><span style="">-<span style="font:7.0pt;">         
</span></span></span><span style="font-size:11.0pt;">If the seed did not change as you suspect, the physical properties from every single particle stored in your Phase Space one after the other shall
 be exactly the same (position, direction, energy, etc.) for 2 simulations.</span></div> 
<div class="yiv9306514893MsoListParagraph" style="margin-left:20.25pt;">
<span style="font-size:11.0pt;"><span style="">-<span style="font:7.0pt;">         
</span></span></span><span style="font-size:11.0pt;">Could you check that on a particle basis for 10 or 20 particles?</span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">You could even try a very simple example where you could randomly sample 10 particles and look if they are the same for 2 simulations.</span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">  </span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">Let us know!</span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">Thanks</span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;"><img id="yiv9306514893Picture_x0020_1" width="150" height="202" src="cid:image001.jpg@01D15CD1.D059A070" alt="Image:Uncle_Sam_pointing_finger_small.jpg" data-id="754f3a5b-1560-7f4e-0d65-826c9617ebc3"><img id="yiv9306514893Picture_x0020_2" width="150" height="231" src="cid:image002.jpg@01D15CD1.D059A070" alt="Image:We-Need-You1-324x500.jpg" data-id="c9141f74-732a-00b3-5e99-7befb4b81928"><img id="yiv9306514893Picture_x0020_3" width="150" height="140" src="cid:image003.jpg@01D15CD1.D059A070" alt="Image:superdupont-we-need-you.jpg" data-id="f0e8fa9b-52e0-2132-0649-b280b4bab507"><img id="yiv9306514893Picture_x0020_4" width="150" height="190" src="cid:image004.jpg@01D15CD1.D059A070" alt="Image:gsam_want_gnu_small.jpg" data-id="e4ba55b9-aa6b-938f-b054-e4b094223186"></span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">  </span></div> 
<div class="yiv9306514893MsoNormal"><b><i><span style="font-size:11.0pt;">                                                      
</span></i></b><b><i><span style="font-size:14.0pt;">GATE is a </span></i></b><b><i><span style="font-size:14.0pt;">research community</span></i></b><b><i><span style="font-size:14.0pt;">,
</span></i></b><b><i><span style="font-size:14.0pt;"> please contribute!</span></i></b><i><span style="font-size:14.0pt;"></span></i></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:9.5pt;">  </span></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;background:white;">
<b><span style="font-size:11.0pt;">You just started? You found some errors in the examples and the documentation?</span></b></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-bottom:1.2pt;margin-left:.25in;background:white;">
<span style="font-size:10.0pt;font-family:Wingdings;color:black;"><span style="">§<span style="font:7.0pt;"> 
</span></span></span><span style="font-size:11.0pt;"> You can correct the
<a rel="nofollow" shape="rect" target="_blank" href="http://wiki.opengatecollaboration.org/index.php/Main_Page"><span style="color:blue;">documentation</span></a> on the wiki web site</span></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-bottom:1.2pt;margin-left:.25in;background:white;">
<span style="font-size:10.0pt;font-family:Wingdings;color:black;"><span style="">§<span style="font:7.0pt;"> 
</span></span></span><span style="font-size:11.0pt;"> You can share your experience on the user
<a rel="nofollow" shape="rect" target="_blank" href="http://www.opengatecollaboration.org/mailinglist"><span style="color:blue;">mailing-list</span></a></span></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;background:white;">
<b><span style="font-size:11.0pt;">  </span></b></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;background:white;">
<b><span style="font-size:11.0pt;">You have a few months of experience or more?</span></b></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-bottom:1.2pt;margin-left:.25in;background:white;">
<span style="font-size:10.0pt;font-family:Wingdings;color:black;"><span style="">§<span style="font:7.0pt;"> 
</span></span></span><span style="font-size:11.0pt;"> You can correct or even propose new
<a rel="nofollow" shape="rect" target="_blank" href="http://www.opengatecollaboration.org/Examples"><span style="color:blue;">examples</span></a> 
</span></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-bottom:1.2pt;margin-left:.25in;background:white;">
<span style="font-size:10.0pt;font-family:Wingdings;color:black;"><span style="">§<span style="font:7.0pt;"> 
</span></span></span><span style="font-size:11.0pt;"> You can propose a
<a rel="nofollow" shape="rect" target="_blank" href="http://wiki.opengatecollaboration.org/index.php/GateActor"><span style="color:blue;">new gate actor, it is as easy as a plug-in!</span></a></span></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-bottom:1.2pt;margin-left:.25in;background:white;">
<span style="font-size:11.0pt;"></span></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;background:white;">
<b><span style="font-size:11.0pt;">You are now an official Gate addict and you need more?</span></b></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-bottom:1.2pt;margin-left:.25in;background:white;">
<span style="font-size:10.0pt;font-family:Wingdings;color:black;"><span style="">§<span style="font:7.0pt;"> 
</span></span></span><span style="font-size:11.0pt;"> You can participate in Gate C++ source code development: debugging, propose new classes, etc.</span></div> 
<div class="yiv9306514893MsoNormalCxSpMiddle" style="margin-left:.75in;">
<span style="font-size:11.0pt;font-family:Wingdings;color:black;"><span style="">ð<span style="font:7.0pt;"> 
</span></span></span><span style="font-size:11.0pt;">For new developments,
<a rel="nofollow" shape="rect" target="_blank" href="http://www.opengatecollaboration.org/Git"><span style="color:blue;">use git</span></a> and contact the
<a rel="nofollow" shape="rect" target="_blank" href="http://www.opengatecollaboration.org/mailinglist"><span style="color:blue;">gate-devel-mailing-list</span></a> to be guided.</span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">  </span></div> 
<div class="yiv9306514893MsoNormal"><b><i><span style="font-size:11.0pt;">                                            
</span></i></b><b><i><span style="font-size:14.0pt;">Thanks for your contribution, the OpenGate collaboration!</span></i></b></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">  </span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">  </span></div> 
<div class="yiv9306514893MsoNormal"><span style="font-size:11.0pt;">  </span></div> 
<div class="yiv9306514893yqt4613572318" id="yiv9306514893yqt40714"><div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;">
<div class="yiv9306514893MsoNormal"><b><span style="font-size:10.0pt;">From:</span></b><span style="font-size:10.0pt;"> gate-users-bounces@lists.opengatecollaboration.org [mailto:gate-users-bounces@lists.opengatecollaboration.org]
<b>On Behalf Of </b>hediye acun<br clear="none">
<b>Sent:</b> Friday, January 29, 2016 3:46 PM<br clear="none">
<b>To:</b> gate-users@lists.opengatecollaboration.org<br clear="none">
<b>Subject:</b> [Gate-users] problem with random number seed?</span></div> 
</div>
</div>
<div class="yiv9306514893MsoNormal">  </div> 
<div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3081">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">Hello All,</span></div> 
</div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3082">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3083">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">I have Gate "develop" version and at the same time geant4.10.1.0 and root_v5.34.32 on the GPU. My operating system is Linux Mint 17.2 . </span></div> 
</div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3083">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3083">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">I am triying to simulate a linac head to get Phase Space of photons. Just for an example I run Gate for a basic geometry which include only electron
 beam, target filter and Phase space plane inside a linac geometry. When I run Gate two or more times for same "number of primaries" I got the exactly the same Phase Space distributions (histogram of Ekine completely identical). But I am using "/gate/random/setEngineSeed
 auto" command and according to the documentation that should give me the different seed every time when I run it. I would expect some random differences between PhS's from different runs.</span></div> 
</div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3083">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3083">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">Does anyone have any idea about this issue? Thank you in advance.</span></div> 
</div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3083">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div id="yiv9306514893yui_3_16_0_1_1443704826828_3083">
<div class="yiv9306514893MsoNormal" style="background:white;"><span style="">Hediye Acun</span></div> 
</div>
</div></div>
</div>
<div class="yiv9306514893WordSection1">
<div class="yiv9306514893MsoNormal"><small><span style=""></span><b><span lang="EN-GB" style="">Disclaimer:</span></b><br clear="none">
<span lang="EN-GB" style="">Please notice our E-Mail Disclaimer <a rel="nofollow" shape="rect" target="_blank" href="http://www.medaustron.at/email-disclaimer/"><span style="color:rgb(17, 35, 89);">http://www.medaustron.at/email-disclaimer/</span></a></span></small><span style=""></span>  </div> 
</div>
<br clear="none">
</div></div><br><br></div> </div> </div>  </div></div></body></html>