<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Batang;
        panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:Gulim;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Gulim;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:Batang;
        panose-1:2 3 6 0 0 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-autospace:none;
        word-break:break-hangul;
        font-size:10.0pt;
        font-family:Batang;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:Gulim;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Gulim;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:99.25pt 3.0cm 3.0cm 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=KO link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'>Hi Simon~<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'>I work around
by modifying the </span></font><font size=2 color=navy face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'>&#8220;</span></font><font
size=2 color=navy face=&#44404;&#47548;><span lang=EN-US style='font-size:10.0pt;
font-family:Gulim;color:navy'>job-splitter </span></font><font size=2
color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:
Arial;color:navy'>&#8220;</span></font><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'> for the SERIAL
running</span></font><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>&#8230;</span></font><font
size=2 color=navy face=&#44404;&#47548;><span lang=EN-US style='font-size:10.0pt;
font-family:Gulim;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:40.0pt'><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'>because I
found that the Gate reads endOfRun.rndm properly</span></font><font size=2
color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:
Arial;color:navy'>&#8230;</span></font><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:40.0pt'><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'>and I like
fast one</span></font><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>&#8230;</span></font><font
size=2 color=navy face=&#44404;&#47548;><span lang=EN-US style='font-size:10.0pt;
font-family:Gulim;color:navy'>:)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'>Anyway, I look
forward to new version</span></font><font size=2 color=navy face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'>&#8230;</span></font><font
size=2 color=navy face=&#44404;&#47548;><span lang=EN-US style='font-size:10.0pt;
font-family:Gulim;color:navy'>:)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'>When I have a break,
I will work on patch the </span></font><font size=2 color=navy face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'>&#8220;</span></font><font
size=2 color=navy face=&#44404;&#47548;><span lang=EN-US style='font-size:10.0pt;
font-family:Gulim;color:navy'>job-splitter</span></font><font size=2
color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:
Arial;color:navy'>&#8221;&#8230;</span></font><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'>Thank you~
^0^/<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p><font size=2 color=navy face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;color:navy'>Cordially yours,<br>
MJ<br>
<br>
//=================================================<br>
//&nbsp; Park MinJae<br>
//&nbsp; SNU BME Ph.D. Candidate<br>
//<br>
//&nbsp; DialTo:+82-17-711-7809<br>
//&nbsp; <a href="MailTo:MJ@ToTi.us">MailTo:MJ@ToTi.us</a><br>
//<br>
//&nbsp; Make the Dream True...<br>
//=================================================</span></font><span
lang=EN-US><o:p></o:p></span></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
gate-users-bounces@lists.healthgrid.org
[mailto:gate-users-bounces@lists.healthgrid.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Simon Stute<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, April 09, 2009
7:17 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Park MinJae<br>
<b><span style='font-weight:bold'>Cc:</span></b>
gate-users@lists.healthgrid.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Gate-users] Same
runing on GATE 4.0...</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>Hi MJ,<br>
<br>
In Gate_v4 the random generator has changed. Now this is the Mersenne Twister,
that is more stable, longer period and faster than the old one (JamesRandom).<br>
Unfortunately people who changed this stuff forgot to update the gjs program.
So the gjs program still products JamesRandom seed files, and those files are
ignored by the Mersenne Twister generator ... That is why you always get the
default seed value (fixed in CLHEP) and the same results for all splited
macros.<br>
<br>
To fix it:<br>
<br>
In the main program, Gate.cc file, there are few lines at the beginning of the
main concerning the random generator:<br>
<br>
//<br>
// random engine<br>
//<br>
<br>
&nbsp; //CLHEP::HepJamesRandom randomEngine;<br>
&nbsp; //CLHEP::Ranlux64Engine randomEngine;<br>
&nbsp;&nbsp;&nbsp; CLHEP::MTwistEngine randomEngine;<br>
&nbsp;&nbsp;&nbsp; CLHEP::HepRandom::setTheEngine(&amp;randomEngine);<br>
<br>
So just comment the line concerning the Mersenne Twister and uncomment the line
concerning the JamesRandom engine, and recompile:<br>
<br>
//<br>
// random engine<br>
//<br>
<br>
&nbsp; CLHEP::HepJamesRandom randomEngine;<br>
&nbsp; //CLHEP::Ranlux64Engine randomEngine;<br>
&nbsp; //CLHEP::MTwistEngine randomEngine;<br>
&nbsp;&nbsp;&nbsp; CLHEP::HepRandom::setTheEngine(&amp;randomEngine);<br>
<br>
So you will use the old generator but it will work with the gjs random seed
files...<br>
<br>
And don't worry, this is fixed for the next version and new macro commands to
control everything concerning the random generators will be provided (type of
generator, automatic randomized seed, fixed seed, use of seed files, etc...).
Coming soon.<br>
<br>
Cheers,<br>
Simon<br>
<br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>On Thu, Apr 9, 2009 at 8:01 AM, Park MinJae &lt;<a
href="mailto:MJ@toti.us">MJ@toti.us</a>&gt; wrote:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><br>
Dear Gaters,<br>
<br>
Long time, no see~ :)<br>
<br>
<br>
I recently changed 3.12 to 4.00 on x64...<br>
<br>
Everything of Gate works fine...but the split jobs generated SAME results...<br>
<br>
I checked the seed-files...Initial Seed were same...9876...<br>
<br>
I took a look into the source files of Gate and tried to put one more<br>
randomization step at the initial seeds...I couldn't...<br>
<br>
Thank you for any information about it...:)<br>
<br>
Cordially yours,<br>
MJ<br>
<br>
//=================================================<br>
// &nbsp;Park MinJae<br>
// &nbsp;SNU BME Ph.D. Candidate<br>
//<br>
// &nbsp;DialTo:+82-17-711-7809<br>
// &nbsp;MailTo:<a href="mailto:MJ@ToTi.us">MJ@ToTi.us</a><br>
//<br>
// &nbsp;Make the Dream True...<br>
//=================================================<br>
<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
<a href="http://lists.healthgrid.org/mailman/listinfo/gate-users"
target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>