Dear all,<br>I'm still working with the problem, but I have found some small "solutions" that get rid of most errors. If you change some dimensions, e.g<br><br>/gate/module/geometry/setYLength 7.999999 cm<br>
/gate/module/geometry/setZLength 9.999999 cm<br><br>instead of <br><br>/gate/module/geometry/setYLength 8 cm<br>/gate/module/geometry/setZLength 10 cm<br><br><div class="gmail_quote">Den 24 september 2009 15.53 skrev Ida Häggström <span dir="ltr"><<a href="mailto:ida.haggstrom@radfys.umu.se">ida.haggstrom@radfys.umu.se</a>></span>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear Simon and Niklas,<br>thank you for your quick replies! Ok, so it seems that the geometry overlaps might be the root to my segmentation violations then... The reason I checked the benchmark camera is just cause I ran another one as well, and thought that maybe there was some fault in that setup. When I found errors in the benchmark as well I got really confused... anyway, I will try and dig deeper into this and see how I can change the camera setup to avoid this. Hopefully this will enable me to run with no problems! =) Thank you for your valuable insight, and I'll let you know how it works out! <br>
Sincerely,<br>Ida<br><br><div class="gmail_quote">Den 24 september 2009 10.58 skrev Simon Stute <span dir="ltr"><<a href="mailto:gate.stute@gmail.com" target="_blank">gate.stute@gmail.com</a>></span>:<div><div></div>
<div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ida,<br><br>I have never checked if there is any overlap in the benchmarkPET camera, but I know the Geant4 policy for overlapping volumes.<br>They strickly say that the behaviour of the code in such cases is unknown, and that one must avoid making overlaps in volume geometry.<br>
<br>I have also already experienced some overlaps (between phantom and shielding) and it always resulted in Seg Viol, until I found this overlap.<br>So it could be that !<br><br>Good luck,<br>Simon<br><br><div class="gmail_quote">
2009/9/24 Ida Häggström <span dir="ltr"><<a href="mailto:ida.haggstrom@radfys.umu.se" target="_blank">ida.haggstrom@radfys.umu.se</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>
Hello!<br>I run a main macro in Gate where I have a camera, phantom, source etc described. I added the line "<span style="color: rgb(51, 51, 255);">/geometry/test/recursive_test</span><div>" after I initialize the simulation in my main macro file, to check that the geometry setup is ok. I get some errors like:<br>
<br>
<span style="color: rgb(255, 0, 0);">GeomTest Error: Overlapping daughter volumes</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> The volumes module_P[10] and module_P[9],</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> both daughters of volume head_P[0],</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> appear to overlap at the following points in global coordinates: (list truncated)</span>...<br>
....<br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">GeomTest Error: Overshooting daughter volume</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> The volume LSO_P[0] appears to extend outside the mother volume crystal_P[0]</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> at the following points in global coordinates: (list truncated)</span>...<br>
....<br>
<br>for different parts of my camera and phantom. Even when I comment
out the phantom and just run the camera I get errors. I find this a bit
weird since I've just copied the camera from the benchmarkPET straight
off, no changes. Maybe these errors
aren't important and can be ignored, I don't know. Can these cause
segmentation violations and abort entire runs as I described in a
previous post ("segmentation violation aborts my run")? <br>Thanks!<br>
Ida<br>
</div>
<br></div></div>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.healthgrid.org" target="_blank">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><br>
<br></blockquote></div><br>
</blockquote></div></div></div><br>
</blockquote></div><br>