<div dir="ltr"><div style>Hello Gaters!</div><div style><br></div><div style>This configuration for the Physics of Neutrons solves my problem:</div><div style><br></div><div>/gate/physics/addProcess NeutronCapture</div><div>
/gate/physics/processes/NeutronCapture/setModel G4LCapture<br></div><div>/gate/physics/addProcess Fission<br></div><div>/gate/physics/processes/Fission/setModel G4LFission<br></div><div>/gate/physics/addProcess NeutronInelastic<br>
</div><div>/gate/physics/processes/NeutronInelastic/setModel PreCompound<br></div><div><br></div><div class="gmail_extra"><div><div dir="ltr"><div style>Other models seem not to work when a doseActor is enabled.</div><div style>
<br></div><div style>Regards.</div><div><br></div>
<div><b><font face="trebuchet ms, sans-serif">Giuseppe Magro</font></b> 
<div><i><font size="1" face="arial narrow,sans-serif"><br></font></i></div>
<div><i><font size="1" face="arial narrow,sans-serif">M.Sc.<br></font></i></div>
<div><i><font size="1" face="arial narrow, sans-serif">Ph.D. Student</font></i> 
<div><i><font size="1" face="arial narrow, sans-serif">Physics Department, University of Pavia</font></i></div></div>
<div><font size="1" face="arial narrow, sans-serif"><i><span style="text-align:justify;color:rgb(0,0,0)">Via Bassi, 6, I-27100 Pavia, Italy</span><br></i></font></div>
<div><font size="1" face="arial narrow, sans-serif">E-Mail: </font><a href="mailto:giuseppe.magro01@ateneopv.it" target="_blank" style="font-family:'courier new',monospace"><font size="1">giuseppe.magro01@ateneopv.it</font></a><font size="1"><font face="courier new, monospace"> </font><font face="arial narrow,sans-serif">(work)</font><font face="courier new, monospace"> </font></font></div>

<div><font size="1" face="courier new, monospace">     </font></div></div>
<div><font size="1" face="courier new, monospace"><br></font></div></div></div>
<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Dec 18, 2012, at 4:58 PM, Giuseppe Magro wrote:<br>

<br>
Hello Gaters,<br>
<br>
  I'm trying to build a simulation of dosimetry in a simple water box hit by protons. All the macros seem to be written correctly, in fact the MC works if all the Actors are disabled and the "No Output Mode" (/gate/output/allowNoOutput) is selected. The same happens with the only SimulationStatisticActor activated. However a crash is registered when the DoseActor is enabled. Examples and RTbench by GATE work on my PC with the DoseActor enabled, so I tried a rough copy-&-paste on my own simulation (changing volume name and size), but this did not solve the problem! Here follow my actors.mac and the reported crash.<br>

<br>
Thanks for your help!<br>
<br>
Regards.<br>
<br>
<br>
actors.mac<br>
<br>
/gate/actor/addActor DoseActor doseDistribution<br>
/gate/actor/doseDistribution/save output/protonDose.root<br>
/gate/actor/doseDistribution/attachTo UserBox<br>
/gate/actor/doseDistribution/stepHitType random<br>
/gate/actor/doseDistribution/setSize 5. 5. 400. mm<br>
/gate/actor/doseDistribution/setPosition 0. 0. 0. mm<br>
#/gate/actor/doseDistribution/setVoxelSize  5. 5. 2. mm<br>
/gate/actor/doseDistribution/saveEveryNSeconds 60<br>
/gate/actor/doseDistribution/enableEdep true<br>
/gate/actor/doseDistribution/enableUncertaintyEdep false<br>
/gate/actor/doseDistribution/enableSquaredEdep false<br>
/gate/actor/doseDistribution/enableDose true<br>
/gate/actor/doseDistribution/enableUncertaintyDose false<br>
/gate/actor/doseDistribution/enableSquaredDose false<br>
/gate/actor/doseDistribution/enableNumberOfHits false<br>
/gate/actor/doseDistribution/normaliseDose true<br>
<br>
Crash:<br>
<br>
 *** Break *** segmentation violation<br>
<br>
<br>
<br>
===========================================================<br>
There was a crash (#7 0xb52a53ab in SigHandler(ESignals) () from /opt/simulation/root/5.34.02/lib/libCore.so).<br>
This is the entire stack trace of all threads:<br>
===========================================================<br>
?.<br>
#10 0xb688ec49 in G4NeutronHPData::DoPhysicsVector(G4NeutronHPVector*) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so<br>
#11 0xb68ba1ea in G4NeutronHPInelasticData::BuildPhysicsTable(G4ParticleDefinition const&) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so<br>
#12 0xb62ebbad in G4CrossSectionDataStore::BuildPhysicsTable(G4ParticleDefinition const&) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so<br>
#13 0xb63141a0 in G4HadronicProcess::BuildPhysicsTable(G4ParticleDefinition const&) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so<br>
#14 0xb73ebe2a in G4VUserPhysicsList::BuildPhysicsTable(G4ParticleDefinition*) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so<br>
#15 0xb73eca82 in G4VUserPhysicsList::BuildPhysicsTable() () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so<br>
#16 0xb73df0d3 in G4RunManagerKernel::BuildPhysicsTables() () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so<br>
#17 0xb73df538 in G4RunManagerKernel::RunInitialization() () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so<br>
#18 0xb73dae97 in G4RunManager::RunInitialization() () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so<br>
#19 0x0839689a in GateRunManager::RunInitialization() ()<br>
#20 0xb73d7b13 in G4RunManager::BeamOn(int, char const*, int) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so<br>
#21 0x083c6706 in GateApplicationMgr::StartDAQ() ()<br>
#22 0x083a9350 in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()<br>
#23 0xb587d958 in G4UIcommand::DoIt(G4String) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#24 0xb5893e8e in G4UImanager::ApplyCommand(char const*) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#25 0xb5894565 in G4UImanager::ApplyCommand(G4String) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#26 0xb586e015 in G4UIbatch::ExecCommand(G4String const&) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#27 0xb586f337 in G4UIbatch::SessionStart() () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#28 0xb588f97e in G4UImanager::ExecuteMacroFile(char const*) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#29 0xb5888b59 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#30 0xb587d958 in G4UIcommand::DoIt(G4String) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#31 0xb5893e8e in G4UImanager::ApplyCommand(char const*) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#32 0xb5894565 in G4UImanager::ApplyCommand(G4String) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so<br>
#33 0xb742b19d in G4UIterminal::ExecuteCommand(G4String) () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4interfaces.so<br>
#34 0xb742ca1c in G4UIterminal::SessionStart() () from /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4interfaces.so<br>
#35 0x080fe6e8 in main ()<br>
===========================================================<br>
<br>
?<br>
<br>
Giuseppe Magro<br>
M.Sc.<br>
Ph.D. Student  -  Physics<br>
University of Pavia<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><mailto:<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>><br>

<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121218/645b4cb7/attachment-0001.html" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121218/645b4cb7/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 19 Dec 2012 13:46:07 +0530<br>
From: open researcher <<a href="mailto:openresearcher90@gmail.com">openresearcher90@gmail.com</a>><br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br>
Subject: [Gate-users] libcrypto.so.6 and libssl.so.6<br>
Message-ID:<br>
        <<a href="mailto:CAOdjMUwJT2AGUamQ%2BFJZDZrexEZC0k25XAxgOs8pJ8tjJh2BnA@mail.gmail.com">CAOdjMUwJT2AGUamQ+FJZDZrexEZC0k25XAxgOs8pJ8tjJh2BnA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
hello gate users<br>
I am trying to install gate 6.2, (I have installed geant4.9.5, CLHEP<br>
2.1.1.0, ROOT 5.34 successfully)<br>
<br>
After ccmake if I type make -j2 I am getting following error<br>
-----------------------------------------------------------<br>
<br>
avinash@avinash-desktop:~/sim/gate.6.2-build$ make -j2<br>
[  2%] Built target itkzlib<br>
[  7%] Built target ITKMetaIO<br>
Linking CXX executable Gate<br>
/usr/bin/ld: warning: libcrypto.so.6, needed by<br>
/home/avinash/sim/root_v5.34/lib/libNet.so, not found (try using -rpath or<br>
-rpath-link)<br>
/usr/bin/ld: warning: libssl.so.6, needed by<br>
/home/avinash/sim/root_v5.34/lib/libNet.so, not found (try using -rpath or<br>
-rpath-link)<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_set_quiet_shutdown'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_CTX_load_verify_locations'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_peek'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_read'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_connect'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_free'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to `SSL_new'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`EVP_sha1'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_CTX_new'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_set_fd'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_CTX_use_certificate_chain_file'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_shutdown'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_get_error'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSLv23_method'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_CTX_use_PrivateKey_file'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_library_init'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_write'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to `HMAC'<br>
/home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to<br>
`SSL_CTX_free'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [Gate] Error 1<br>
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2<br>
make: *** [all] Error 2<br>
-------------------------------------------------------------------------------------------------------------------------------------------<br>
<br>
I think this is problem related to OS, I am using ubuntu 10.10 and after<br>
some search in the Internet I found that these two files (libcrypto.so.6<br>
and libssl.so.6) are related to openssl package but I have already<br>
installed it. (Till now I was using gate 6.1 and it is running fine). I<br>
think I have to create a softlink to these files but I am new to ubuntu and<br>
still searching a way to do this. Has anybody encountered with this<br>
problem?<br>
Any help ?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121219/826a70e2/attachment.html" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121219/826a70e2/attachment.html</a>><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
End of Gate-users Digest, Vol 79, Issue 24<br>
******************************************<br>
</blockquote></div><br></div></div>