<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hello!</div>
<div class=""><br class="">
</div>
<div class="">I’m not sure about the exact release and I don’t have access to the system at this very moment. </div>
<div class="">I belive there is a previous version of geant4 installed in another directory, but I think it is geant4.9.6. </div>
<div class="">I did not use the make clean command during the previous recompilation but deleted the build directory etc. so I believe it was completely from scratch?</div>
<div class=""><br class="">
</div>
<div class="">As I mentioned I don’t have access to the system at this moment but I was clever enough to export the ldd Gate output to my private computer so I’ll post it below. At first glance I don’t spot any odd dependencies, all are linked to gate_sources2/geant4.10.01.p03-install/lib64.
I’ll investigate further tomorrow when I have access to the system.</div>
<div class=""><br class="">
</div>
<div class="">//</div>
<div class="">Gustaf</div>
<div class=""><br class="">
</div>
<div class="">ldd Gate output:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>linux-vdso.so.1 => (0x00007fff1a7ff000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4Tree.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4Tree.so (0x00007f4f64ff5000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4FR.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4FR.so (0x00007f4f64de1000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4GMocren.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4GMocren.so (0x00007f4f64ba0000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4visHepRep.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4visHepRep.so (0x00007f4f64919000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4RayTracer.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4RayTracer.so (0x00007f4f646ef000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4VRML.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4VRML.so (0x00007f4f644d8000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4vis_management.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4vis_management.so (0x00007f4f6420c000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4modeling.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4modeling.so (0x00007f4f63f56000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4interfaces.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4interfaces.so (0x00007f4f63d20000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4persistency.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4persistency.so (0x00007f4f63a84000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4analysis.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4analysis.so (0x00007f4f63622000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4error_propagation.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4error_propagation.so (0x00007f4f633e7000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4readout.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4readout.so (0x00007f4f631df000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4physicslists.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4physicslists.so (0x00007f4f62ec5000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4run.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4run.so (0x00007f4f62c5a000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4event.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4event.so (0x00007f4f629eb000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4tracking.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4tracking.so (0x00007f4f627ad000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4parmodels.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4parmodels.so (0x00007f4f62599000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4processes.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4processes.so (0x00007f4f60e4b000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4digits_hits.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4digits_hits.so (0x00007f4f60bab000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4track.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4track.so (0x00007f4f60990000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4particles.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4particles.so (0x00007f4f60636000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4geometry.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4geometry.so (0x00007f4f601c4000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4materials.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4materials.so (0x00007f4f5ff1d000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4graphics_reps.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4graphics_reps.so (0x00007f4f5fcdf000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4intercoms.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4intercoms.so (0x00007f4f5fa94000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4global.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4global.so (0x00007f4f5f84b000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4clhep.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4clhep.so (0x00007f4f5f5bc000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4zlib.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4zlib.so (0x00007f4f5f3a6000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libG4geomUSolids.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4geomUSolids.so (0x00007f4f5f100000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libCore.so => /home/gate/gate_sources2/root/lib/libCore.so (0x00007f4f5e753000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libCint.so => /home/gate/gate_sources2/root/lib/libCint.so (0x00007f4f5ddd1000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libRIO.so => /home/gate/gate_sources2/root/lib/libRIO.so (0x00007f4f5d8c6000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libNet.so => /home/gate/gate_sources2/root/lib/libNet.so (0x00007f4f5d54c000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libHist.so => /home/gate/gate_sources2/root/lib/libHist.so (0x00007f4f5cdda000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libGraf.so => /home/gate/gate_sources2/root/lib/libGraf.so (0x00007f4f5c9d3000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libGraf3d.so => /home/gate/gate_sources2/root/lib/libGraf3d.so (0x00007f4f5c6a7000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libGpad.so => /home/gate/gate_sources2/root/lib/libGpad.so (0x00007f4f5c3a3000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libTree.so => /home/gate/gate_sources2/root/lib/libTree.so (0x00007f4f5bf5b000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libRint.so => /home/gate/gate_sources2/root/lib/libRint.so (0x00007f4f5bd27000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libPostscript.so => /home/gate/gate_sources2/root/lib/libPostscript.so (0x00007f4f5baa7000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libMatrix.so => /home/gate/gate_sources2/root/lib/libMatrix.so (0x00007f4f5b647000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libPhysics.so => /home/gate/gate_sources2/root/lib/libPhysics.so (0x00007f4f5b3a9000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libMathCore.so => /home/gate/gate_sources2/root/lib/libMathCore.so (0x00007f4f5af2f000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libThread.so => /home/gate/gate_sources2/root/lib/libThread.so (0x00007f4f5acdb000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libdl.so.2 => /lib64/libdl.so.2 (0x0000003af2400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003af2800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libSM.so.6 => /usr/lib64/libSM.so.6 (0x0000003afe000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libICE.so.6 => /usr/lib64/libICE.so.6 (0x0000003afe400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003af5000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003af6000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003af6c00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003afd400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libm.so.6 => /lib64/libm.so.6 (0x0000003af2000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003af6400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libc.so.6 => /lib64/libc.so.6 (0x0000003af1c00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libz.so.1 => /lib64/libz.so.1 (0x0000003af2c00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libpcre.so.0 => /lib64/libpcre.so.0 (0x0000003af3800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>/lib64/ld-linux-x86-64.so.2 (0x0000003af1800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003afa800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003b00800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003af6800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003af7400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003af5400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003b00400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003aff800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003afd800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003aff400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003af5800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003affc00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003aff000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003af3c00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003af3400000)</div>
<div class=""><br class="">
</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">1 mars 2016 kl. 18:03 skrev David Boersma <<a href="mailto:david.boersma@physics.uu.se" class="">david.boersma@physics.uu.se</a>>:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hi
Gustaf,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Which
Ubuntu release are you using?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I
tried to reproduce your error on a Ubuntu 14.04 machine, also 64bit.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Since
you mentioned that you are using geant4 10.01.p03, which is relatively new (released Feb 5), I wondered if that is maybe the culprit. But it does not look like it, because I can build and run Gate v7.1 just fine with that release. So my bet is that the errors
that you report are not due to Gate or Geant4 code.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">(I
even tried building geant4 with multithreading enabled -- which one should NOT do for any production purposes because Gate is not yet ready for multithreading -- but even with MT-geant4 Gate can be built and it runs without linking errors, even though the
results with MT are not to be trusted.)</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">So...</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">(1)
Could you just quote the full output of ldd completely here in an e-mail (if the discussion below does not help you to solve it yourself)?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">The
idea is that ldd tells you to which libraries an executable really gets linked. The results are sometimes surprising and instructive. For instance you mention that you used a bash script to set your environment correctly for building Gate, but maybe you still
have similar settings for a different Geant4 version in your ~/.bash* files, which might create all kinds of havoc. The ldd utility can help to identify such issues.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">(2)
The G4GammaParticipants size error makes me suspect that you maybe did not truly recompile from scratch (because its base class G4QGSParticipants depends on Random.hh, which has CLHEP-dependent code, so that class may indeed change size during a rebuild).
Running 'make clean' is not enough. "From scratch" means: start with a new, empty build directory, and run ccmake <sourcedir> in it. Why is this necessary? Well, cmake and make are very clever at keeping track of dependencies, but that is a very hard task
and they are not perfect.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">(3)
I am very mystified by this _ZN12G4AllocStats6numCatE error. With the c++filt utility you can see that this is indeed pointing to the numCat data member of G4AllocStats, which gets *declared* in the Geant4 source tree in this header file:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">./source/geometry/volumes/include/G4EnhancedVecAllocator.hh</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">...
but the funny thing is that this header file does not get included by *any* other source file, neither in the geant4 10.01.p03 sources nor in Gate 7.1 [1]! The only way I can think of this error to pop up is by confusion with a different geant4 version. Do
you have other geant4 versions installed on your system?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hope
that helps,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">David
B.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">[1]
It is mentioned in the sources.cmake file as a header file, of course. But that does not cause it to actually be #included anywhere. The 4.9.6 release notes mention that the use of G4EnhancedVecAllocator is disabled in some navigation class, and probably that
was the only usage. Which suggests that the impostor Geant4 library on your system is older than 4.9.6. :)</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Den
01/03/2016 kl. 13:22, skrev Gustaf Lönn:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Hello!<br class="">
<br class="">
First of all I want to express my gratitude for all the valuable help so<br class="">
far.<br class="">
<br class="">
I did a full recompile from scratch linked Gate to the correct G4. I<br class="">
still receive the symbol errors previously posted.<br class="">
<br class="">
I’m not sure on how I should interpret the results from the ldd command.<br class="">
<br class="">
//<br class="">
Gustaf<br class="">
<blockquote type="cite" class="">1 mars 2016 kl. 11:50 skrev David Sarrut<br class="">
<<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">David.Sarrut@creatis.insa-lyon.fr</a><br class="">
<<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">mailto:David.Sarrut@creatis.insa-lyon.fr</a>>>:<br class="">
<br class="">
Hello,<br class="">
<br class="">
maybe still a linking error. Be sure to recompile everything from<br class="">
scratch and be sure Gate is linked with the correct G4 only ...<br class="">
<br class="">
Check with ldd to List Dynamic Dependencies of an executable, it could<br class="">
help<br class="">
<br class="">
David<br class="">
<br class="">
On Tue, Mar 1, 2016 at 11:29 AM, Gustaf Lönn <<a href="mailto:gustaflo@kth.se" class="">gustaflo@kth.se</a><br class="">
<<a href="mailto:gustaflo@kth.se" class="">mailto:gustaflo@kth.se</a>>> wrote:<br class="">
<br class="">
Hello!<br class="">
<br class="">
I tried to recompile both G4 and Gate without the external clhep.<br class="">
That took care of the initial library error. However, I received<br class="">
the following error when trying to run Gate:<br class="">
<br class="">
Symbol `_ZTV19G4GammaParticipants' has different size in shared<br class="">
object, consider re-linking<br class="">
Gate: symbol lookup error: Gate: undefined symbol:<br class="">
_ZN12G4AllocStats6numCatE<br class="">
<br class="">
I think ”GammaParticipants" originate from G4GammaParicipants.hh<br class="">
and ”AllocStats" from G4EnhancedVectorAllocator.hh<br class="">
<br class="">
In my bash script I removed the path and library path associated<br class="">
with system clhep, otherwise it is unchanged.<br class="">
<br class="">
any ideas?<br class="">
<br class="">
//Gustaf<br class="">
<blockquote type="cite" class=""> 1 mars 2016 kl. 08:01 skrev David Sarrut<br class="">
<<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">David.Sarrut@creatis.insa-lyon.fr</a><br class="">
<<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">mailto:David.Sarrut@creatis.insa-lyon.fr</a>>>:<br class="">
<br class="">
Hello,<br class="">
<br class="">
it should be a path issue. The simplest way is to use the G4<br class="">
embedded clhep and to not use external clhep. Once G4 is<br class="">
compiled, recompile Gate, without external clhep also.<br class="">
<br class="">
hope it helps,<br class="">
David<br class="">
<br class="">
On Mon, Feb 29, 2016 at 6:52 PM, Gustaf Lönn <<a href="mailto:gustaflo@kth.se" class="">gustaflo@kth.se</a><br class="">
<<a href="mailto:gustaflo@kth.se" class="">mailto:gustaflo@kth.se</a>>> wrote:<br class="">
<br class="">
Hello!<br class="">
<br class="">
I have encountered a problem with the CLHEP libraries when<br class="">
I’m trying to run Gate. Instead of searching for the external<br class="">
2.2.0.4 CLHEP library the program wants to use the libG4chlep<br class="">
and therefore terminates. I use x86 Ubuntu 64bit.<br class="">
<br class="">
I have followed the installation/compilation instructions and<br class="">
set the external CLHEP options to ”on” and set the following<br class="">
paths:<br class="">
<br class="">
Geant4<br class="">
CLHEP_CONFIG_EXECUTABLE:<br class="">
/home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config<br class="">
CLHEP_INCLUDE_DIR:<br class="">
/home/gate/gate_sources2/2.2.0.4-install/include<br class="">
CLHEP_LIBRARY:<br class="">
/home/gate/gate_sources2/2.2.0.4-install/lib/libCLHEP.so<br class="">
<br class="">
Gate<br class="">
CLHEP_CONFIG_EXECUTABLE:<br class="">
/home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config<br class="">
CLHEP_INCLUDE_DIR:<br class="">
/home/gate/gate_sources2/2.2.0.4-install/include<br class="">
<br class="">
In my bash script I have the following:<br class="">
<br class="">
export<br class="">
PATH=$PATH:/home/gate/gate_sources2/2.2.0.4-install/bin:<br class="">
/home/gate/gate_sources2/2.2.0.4-install/include<br class="">
<br class="">
export<br class="">
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/2.2.0.4-install/lib<br class="">
<br class="">
source /home/gate/gate_sources2/root/bin/thisroot.sh<br class="">
<br class="">
source<br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/bin/geant4.sh<br class="">
<br class="">
PATH=$PATH:/home/gate/gate_sources2/gate_v7.1-install/bin<br class="">
<br class="">
export<br class="">
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/geant4.10.01.p03-install/lib64<br class="">
<br class="">
Does anyone have any idea about what might be wrong? I’m<br class="">
grateful for any suggestions!<br class="">
<br class="">
Best Regards<br class="">
Gustaf L<br class="">
_______________________________________________<br class="">
Gate-users mailing list<br class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
<<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">mailto:Gate-users@lists.opengatecollaboration.org</a>><br class="">
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
--<br class="">
David Sarrut, Phd<br class="">
Directeur de recherche CNRS<br class="">
CREATIS, UMR CNRS 5220, Inserm U1206<br class="">
Centre de lutte contre le cancer Léon Bérard<br class="">
28 rue Laënnec, 69373 Lyon cedex 08<br class="">
Tel : 04 78 78 51 51 <<a href="tel:04%2078%2078%2051%2051" class="">tel:04%2078%2078%2051%2051</a>> / 06 74 72 05<br class="">
42 <<a href="tel:06%2074%2072%2005%2042" class="">tel:06%2074%2072%2005%2042</a>><br class="">
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" class="">http://www.creatis.insa-lyon.fr/~dsarrut</a><br class="">
_________________________________<br class="">
"2 + 2 = 5, for extremely large values of 2"<br class="">
_________________________________<br class="">
</blockquote>
<br class="">
<br class="">
<br class="">
<br class="">
--<br class="">
David Sarrut, Phd<br class="">
Directeur de recherche CNRS<br class="">
CREATIS, UMR CNRS 5220, Inserm U1206<br class="">
Centre de lutte contre le cancer Léon Bérard<br class="">
28 rue Laënnec, 69373 Lyon cedex 08<br class="">
Tel : 04 78 78 51 51 / 06 74 72 05 42<br class="">
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" class="">http://www.creatis.insa-lyon.fr/~dsarrut</a><br class="">
_________________________________<br class="">
"2 + 2 = 5, for extremely large values of 2"<br class="">
_________________________________<br class="">
</blockquote>
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Gate-users mailing list<br class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br class="">
<br class="">
</blockquote>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Gate-users
mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Gate-users@lists.opengatecollaboration.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></div>
</blockquote>
</div>
<br class="">
</body>
</html>