<div dir="ltr"><div class="gmail_extra">I tried to use Ranlux64 and JamesRandom random generators and it works! Thank you very much!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best regards,</div><div class="gmail_extra">Elnur<br>
<br><div class="gmail_quote">2016-08-25 12:46 GMT+03:00 Barbara Genocchi <span dir="ltr"><<a href="mailto:Barbara.Genocchi@icr.ac.uk" target="_blank">Barbara.Genocchi@icr.ac.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p>have you tried to change random engine?</p>
<p>In my Gate for some reason Marsenne Twister doesn't work.....</p>
<p><br>
</p>
<p>Hope this help!</p>
<p>Barbara<br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.<wbr>opengatecollaboration.org</a>> on behalf of Elnur Sadihov <<a href="mailto:forward1292@gmail.com" target="_blank">forward1292@gmail.com</a>><br>
<b>Sent:</b> 25 August 2016 08:11<br>
<b>To:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<b>Subject:</b> [Gate-users] Crash when running an example macros simu_ct.mac</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>Hello, Gate users!<br>
<br>
</div>
I'd like to simulate CT system. For this reason I've downloaded an example tp_CT_solution.tar.gz which can be downloaded on the next link:
<a href="http://www.opengatecollaboration.org/Materials2015/PracticalExercises2015/CT" target="_blank">
http://www.<wbr>opengatecollaboration.org/<wbr>Materials2015/<wbr>PracticalExercises2015/CT</a> .<br>
</div>
<div><br>
</div>
<div>I've untared this file and I'm trying to run the main macros simu_ct.mac. But something goes wrong. I use Ubuntu 14.04 LTS, root v5.34/34, geant4-09-06-patch-03, gate_v7.0. When I type:
<br>
Gate simu_ct.mac<br>
</div>
<div>the next lines appear in the terminal:<br>
<br>
g4user@g4user:~/My_programs/<wbr>gate_v7.0/examples/tp_CT_<wbr>solution/solution$ Gate simu_ct.mac
<br>
[G4] <br>
[G4] ******************************<wbr>******************************<wbr>*<br>
[G4]  Geant4 version Name: geant4-09-06-patch-03    (14-March-2014)<br>
[G4]                       Copyright : Geant4 Collaboration<br>
[G4]                       Reference : NIM A 506 (2003), 250-303<br>
[G4]                          <wbr>   WWW : <a href="http://cern.ch/geant4" target="_blank">http://cern.ch/geant4</a><br>
[G4] ******************************<wbr>******************************<wbr>*<br>
[G4] <br>
[Core-0] Initialization of geometry<br>
[Core-0] Initialization of physics<br>
[Physic-0] WARNING: manual physic lists are being deprecated.<br>
Please, use physic list builder mechanism instead. Related documentation can be found at:<br>
<a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Setting_up_the_physics" target="_blank">http://wiki.<wbr>opengatecollaboration.org/<wbr>index.php/Users_Guide_V7.0:<wbr>Setting_up_the_physics</a><br>
[Core-0] Initialization of actors<br>
[Core-0] <br>
[Core-0] ******************************<wbr>******************************<wbr>**********<br>
[Core-0]  GATE version name: gate_v7.0                     <wbr>                    <br>
[Core-0]                     Copyright : OpenGATE Collaboration                <br>
[Core-0]                     Reference : Phys. Med. Biol. 49 (2004) 4543-4561  <br>
[Core-0]                     Reference : Phys. Med. Biol. 56 (2011) 881-901    <br>
[Core-0]                     WWW : <a href="http://www.opengatecollaboration.org" target="_blank">
http://www.<wbr>opengatecollaboration.org</a>     <wbr>   <br>
[Core-0] ******************************<wbr>******************************<wbr>**********<br>
[Core-0] <br>
[Core-0] You are using Geant4 version 9.6.3<br>
[Core-0] Starting macro simu_ct.mac<br>
 Rmin/gate/aluminiumBall/<wbr>geometry/setRmin<br>
 Rmin/gate/spineBoneBall/<wbr>geometry/setRmin<br>
<br>
<br>
List of Enabled processes:<br>
<br>
<br>
   ===  Process: eMultipleScattering  ===<br>
Particle: e+<br>
    * Model(s):<br>
       - Urban95Model<br>
Particle: e-<br>
    * Model(s):<br>
       - Urban95Model<br>
<br>
   ===  Process: PhotoElectric  ===<br>
Particle: gamma<br>
    * Model(s):<br>
       - StandardModel<br>
<br>
   ===  Process: Compton  ===<br>
Particle: gamma<br>
    * Model(s):<br>
       - StandardModel<br>
<br>
   ===  Process: Bremsstrahlung  ===<br>
Particle: e+<br>
    * Model(s):<br>
       - StandardModel<br>
Particle: e-<br>
    * Model(s):<br>
       - StandardModel<br>
<br>
   ===  Process: ElectronIonisation  ===<br>
Particle: e+<br>
    * Model(s):<br>
       - StandardModel<br>
Particle: e-<br>
    * Model(s):<br>
       - StandardModel<br>
<br>
   ===  Process: RayleighScattering  ===<br>
Particle: gamma<br>
    * Model(s):<br>
       - PenelopeModel<br>
<br>
<br>
<br>
<br>
List of initialized processes:<br>
<br>
<br>
<br>
[Core-0] Initialization of geometry<br>
[Core-0] Initialization of physics<br>
[Physic-0] WARNING: manual physic lists are being deprecated.<br>
Please, use physic list builder mechanism instead. Related documentation can be found at:<br>
<a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Setting_up_the_physics" target="_blank">http://wiki.<wbr>opengatecollaboration.org/<wbr>index.php/Users_Guide_V7.0:<wbr>Setting_up_the_physics</a><br>
[Core-0] Initialization of actors<br>
Verbosity Set to: 0<br>
GateSourceMgr::ListSources: List of the sources in the source manager<br>
Source --------------> xraygun<br>
  ID                 : 0<br>
  type               : gps<br>
  activity (Bq)      : 0<br>
  startTime (s)      : 0<br>
  time (s)           : 0<br>
  forcedUnstable     : 0<br>
  forcedHalfLife (s) : -0.693147<br>
  verboseLevel       : 0<br>
  relative to vol    : World<br>
---------------------- <br>
<br>
[Acquisition-0]               <wbr>                       <br>
[Acquisition-0] ============= Source initialization =============<br>
[Acquisition-0]               <wbr>                       <br>
[Acquisition-0] ============= Acquisition starts! =============<br>
[Acquisition-0] Simulation start time = 0 sec<br>
[Acquisition-0] Simulation end time   = 1 sec<br>
[Acquisition-0] Simulation will have  = 1 run(s)<br>
<br>
--------- MTwist engine status ---------<br>
 Initial seed      = 1234<br>
 Current index     = 131<br>
 Array status mt[] = <br>
1234 3159640283 4062961311 3954462607 3112783424<br>
2849714703 731821095 2232873578 1251953424 3917199038<br>
231030171 268845362 2344188614 1849447265 2383103214<br>
2227731755 1714639421 1491439037 462325566 5081481<br>
737186849 236395034 2597008984 1186503577 323074832<br>
</div>
<div>..............................<wbr>..............................<wbr>.......................... ( here is a lot of lines with numbers like above)<br>
 *** Break *** segmentation violation<br>
<br>
<br>
<br>
==============================<wbr>=============================<br>
There was a crash.<br>
This is the entire stack trace of all threads:<br>
==============================<wbr>=============================<br>
#0  0x00007fce8a8b15cc in __libc_waitpid (pid=12263, stat_loc=stat_loc<br>
entry=0x7fff2e36ab40, options=options<br>
entry=0) at ../sysdeps/unix/sysv/linux/<wbr>waitpid.c:31<br>
#1  0x00007fce8a8361d2 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148<br>
#2  0x00007fce8d267f23 in TUnixSystem::StackTrace() () from /home/g4user/My_programs/root_<wbr>v5.34/lib/libCore.so<br>
#3  0x00007fce8d269b4c in TUnixSystem::DispatchSignals(<wbr>ESignals) () from /home/g4user/My_programs/root_<wbr>v5.34/lib/libCore.so<br>
#4  <signal handler called><br>
#5  0x00007fce8d736de0 in CLHEP::MTwistEngine::<wbr>showStatus() const () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4clhep.so<br>
#6  0x0000000000825f21 in GateApplicationMgr::StartDAQ() ()<br>
#7  0x0000000000805fe0 in GateApplicationMgrMessenger::<wbr>SetNewValue(G4UIcommand*, G4String) ()<br>
#8  0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#9  0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#10 0x00007fce8dbe78d7 in G4UIbatch::ExecCommand(<wbr>G4String const&) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#11 0x00007fce8dbe8f6b in G4UIbatch::SessionStart() () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#12 0x00007fce8dc0aaf3 in G4UImanager::ExecuteMacroFile(<wbr>char const*) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#13 0x00007fce8dc02142 in G4UIcontrolMessenger::<wbr>SetNewValue(G4UIcommand*, G4String) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#14 0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#15 0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#16 0x00000000004e7223 in main ()<br>
==============================<wbr>=============================<br>
<br>
<br>
The lines below might hint at the cause of the crash.<br>
If they do not help you then please submit a bug report at<br>
<a href="http://root.cern.ch/bugs" target="_blank">http://root.cern.ch/bugs</a>. Please post the ENTIRE stack trace<br>
from above as an attachment in addition to anything else<br>
that might help us fixing this issue.<br>
==============================<wbr>=============================<br>
#5  0x00007fce8d736de0 in CLHEP::MTwistEngine::<wbr>showStatus() const () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4clhep.so<br>
#6  0x0000000000825f21 in GateApplicationMgr::StartDAQ() ()<br>
#7  0x0000000000805fe0 in GateApplicationMgrMessenger::<wbr>SetNewValue(G4UIcommand*, G4String) ()<br>
#8  0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#9  0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#10 0x00007fce8dbe78d7 in G4UIbatch::ExecCommand(<wbr>G4String const&) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#11 0x00007fce8dbe8f6b in G4UIbatch::SessionStart() () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#12 0x00007fce8dc0aaf3 in G4UImanager::ExecuteMacroFile(<wbr>char const*) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#13 0x00007fce8dc02142 in G4UIcontrolMessenger::<wbr>SetNewValue(G4UIcommand*, G4String) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#14 0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#15 0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from /home/g4user/My_programs/<wbr>geant4.9.6.p03-install/lib/<wbr>libG4intercoms.so<br>
#16 0x00000000004e7223 in main ()<br>
==============================<wbr>=============================<br>
<br>
</div>
<div>Please help me to solve this problem. Thanks in advance!<br>
<br>
</div>
<div>Best regards,<br>
</div>
<div>Elnur<br>
</div>
</div>
</div>
</div>
<br clear="both">
The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.<br>
<br>
This e-mail message is confidential and for use by the addressee only.  If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.<br>
</div>

</blockquote></div><br></div></div>