[Gate-users] [SOLVED] Crash with DoseActor enabled - Gate-users Digest, Vol 79, Issue 24
Giuseppe Magro
beppe.magro at gmail.com
Thu Jan 31 14:43:45 CET 2013
Hello Gaters!
This configuration for the Physics of Neutrons solves my problem:
/gate/physics/addProcess NeutronCapture
/gate/physics/processes/NeutronCapture/setModel G4LCapture
/gate/physics/addProcess Fission
/gate/physics/processes/Fission/setModel G4LFission
/gate/physics/addProcess NeutronInelastic
/gate/physics/processes/NeutronInelastic/setModel PreCompound
Other models seem not to work when a doseActor is enabled.
Regards.
*Giuseppe Magro*
*
*
*M.Sc.
*
*Ph.D. Student*
*Physics Department, University of Pavia*
*Via Bassi, 6, I-27100 Pavia, Italy
*
E-Mail: giuseppe.magro01 at ateneopv.it (work)
On Dec 18, 2012, at 4:58 PM, Giuseppe Magro wrote:
>
> Hello Gaters,
>
> 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.
>
> Thanks for your help!
>
> Regards.
>
>
> actors.mac
>
> /gate/actor/addActor DoseActor doseDistribution
> /gate/actor/doseDistribution/save output/protonDose.root
> /gate/actor/doseDistribution/attachTo UserBox
> /gate/actor/doseDistribution/stepHitType random
> /gate/actor/doseDistribution/setSize 5. 5. 400. mm
> /gate/actor/doseDistribution/setPosition 0. 0. 0. mm
> #/gate/actor/doseDistribution/setVoxelSize 5. 5. 2. mm
> /gate/actor/doseDistribution/saveEveryNSeconds 60
> /gate/actor/doseDistribution/enableEdep true
> /gate/actor/doseDistribution/enableUncertaintyEdep false
> /gate/actor/doseDistribution/enableSquaredEdep false
> /gate/actor/doseDistribution/enableDose true
> /gate/actor/doseDistribution/enableUncertaintyDose false
> /gate/actor/doseDistribution/enableSquaredDose false
> /gate/actor/doseDistribution/enableNumberOfHits false
> /gate/actor/doseDistribution/normaliseDose true
>
> Crash:
>
> *** Break *** segmentation violation
>
>
>
> ===========================================================
> There was a crash (#7 0xb52a53ab in SigHandler(ESignals) () from
> /opt/simulation/root/5.34.02/lib/libCore.so).
> This is the entire stack trace of all threads:
> ===========================================================
> ?.
> #10 0xb688ec49 in G4NeutronHPData::DoPhysicsVector(G4NeutronHPVector*) ()
> from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
> #11 0xb68ba1ea in
> G4NeutronHPInelasticData::BuildPhysicsTable(G4ParticleDefinition const&) ()
> from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
> #12 0xb62ebbad in
> G4CrossSectionDataStore::BuildPhysicsTable(G4ParticleDefinition const&) ()
> from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
> #13 0xb63141a0 in
> G4HadronicProcess::BuildPhysicsTable(G4ParticleDefinition const&) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4processes.so
> #14 0xb73ebe2a in
> G4VUserPhysicsList::BuildPhysicsTable(G4ParticleDefinition*) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
> #15 0xb73eca82 in G4VUserPhysicsList::BuildPhysicsTable() () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
> #16 0xb73df0d3 in G4RunManagerKernel::BuildPhysicsTables() () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
> #17 0xb73df538 in G4RunManagerKernel::RunInitialization() () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
> #18 0xb73dae97 in G4RunManager::RunInitialization() () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
> #19 0x0839689a in GateRunManager::RunInitialization() ()
> #20 0xb73d7b13 in G4RunManager::BeamOn(int, char const*, int) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4run.so
> #21 0x083c6706 in GateApplicationMgr::StartDAQ() ()
> #22 0x083a9350 in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*,
> G4String) ()
> #23 0xb587d958 in G4UIcommand::DoIt(G4String) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #24 0xb5893e8e in G4UImanager::ApplyCommand(char const*) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #25 0xb5894565 in G4UImanager::ApplyCommand(G4String) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #26 0xb586e015 in G4UIbatch::ExecCommand(G4String const&) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #27 0xb586f337 in G4UIbatch::SessionStart() () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #28 0xb588f97e in G4UImanager::ExecuteMacroFile(char const*) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #29 0xb5888b59 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*,
> G4String) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #30 0xb587d958 in G4UIcommand::DoIt(G4String) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #31 0xb5893e8e in G4UImanager::ApplyCommand(char const*) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #32 0xb5894565 in G4UImanager::ApplyCommand(G4String) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4intercoms.so
> #33 0xb742b19d in G4UIterminal::ExecuteCommand(G4String) () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4interfaces.so
> #34 0xb742ca1c in G4UIterminal::SessionStart() () from
> /opt/simulation/geant4/9.5.p01/geant4.9.5.p01-install/lib/libG4interfaces.so
> #35 0x080fe6e8 in main ()
> ===========================================================
>
> ?
>
> Giuseppe Magro
> M.Sc.
> Ph.D. Student - Physics
> University of Pavia
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org<mailto:
> Gate-users at lists.opengatecollaboration.org>
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121218/645b4cb7/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 19 Dec 2012 13:46:07 +0530
> From: open researcher <openresearcher90 at gmail.com>
> To: gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] libcrypto.so.6 and libssl.so.6
> Message-ID:
> <
> CAOdjMUwJT2AGUamQ+FJZDZrexEZC0k25XAxgOs8pJ8tjJh2BnA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hello gate users
> I am trying to install gate 6.2, (I have installed geant4.9.5, CLHEP
> 2.1.1.0, ROOT 5.34 successfully)
>
> After ccmake if I type make -j2 I am getting following error
> -----------------------------------------------------------
>
> avinash at avinash-desktop:~/sim/gate.6.2-build$ make -j2
> [ 2%] Built target itkzlib
> [ 7%] Built target ITKMetaIO
> Linking CXX executable Gate
> /usr/bin/ld: warning: libcrypto.so.6, needed by
> /home/avinash/sim/root_v5.34/lib/libNet.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libssl.so.6, needed by
> /home/avinash/sim/root_v5.34/lib/libNet.so, not found (try using -rpath or
> -rpath-link)
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_set_quiet_shutdown'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_load_verify_locations'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_peek'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_read'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_connect'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_free'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_new'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `EVP_sha1'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_new'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_set_fd'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_use_certificate_chain_file'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_shutdown'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_get_error'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSLv23_method'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_use_PrivateKey_file'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_library_init'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_write'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to `HMAC'
> /home/avinash/sim/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_free'
> collect2: ld returned 1 exit status
> make[2]: *** [Gate] Error 1
> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
> make: *** [all] Error 2
>
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> I think this is problem related to OS, I am using ubuntu 10.10 and after
> some search in the Internet I found that these two files (libcrypto.so.6
> and libssl.so.6) are related to openssl package but I have already
> installed it. (Till now I was using gate 6.1 and it is running fine). I
> think I have to create a softlink to these files but I am new to ubuntu and
> still searching a way to do this. Has anybody encountered with this
> problem?
> Any help ?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121219/826a70e2/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> End of Gate-users Digest, Vol 79, Issue 24
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130131/4ec6d990/attachment.html>
More information about the Gate-users
mailing list