<div dir="ltr"><div><br></div><span lang=""><div><span lang="EN"><font color="#000000" face="Calibri" size="3">Hi Dear All</font></span></div><div><span lang="EN"><font color="#000000" face="Calibri" size="3"><br></font></span></div><font color="#000000" face="Times New Roman" size="3"><div><br></div></font><p style="margin:0in 0in 10pt;text-align:justify;line-height:115%"><span lang="EN"><font face="Calibri"><font color="#000000"><font size="3">I use
vGate72.vdi, Ubuntu 64-bit in Oracle VirtualBox.5.1.8_2. I know what is the
problem but I don't know how to solve it. The problem is in attaching system.
Every system has a defined shape and layers according to Gate Users’ Guide
V.7.2. page 137. The system which I want to simulate has 16 trapezoid detectors
which are 14*14 arrays (with dimensions of 6.95*6.95 mm</font><sup><font size="2">2</font></sup><font size="3"> at the face
and 6.95*12.05 mm</font><sup><font size="2">2</font></sup><font size="3"> at the end) of trapezoid crystals with dimension
of 0.45*0.45 mm</font><sup><font size="2">2</font></sup><font size="3"> and 0.45*0.814 mm</font><sup><font size="2">2</font></sup><font size="3"> at the front and back
respectively. I used PETscanner with a single trapezoid crystal and there was
no problem when I attach it to system. Since 14 trapezoid crystals have
different orientation and length from center to the edge I have to define them
separately in box module then I can repeat that module on the other direction.
So I will have 14 sublayers. I can decrease it to 7 sublayers by repeating the
submodule that they are embedded in, right below the original one inversely.
But in PETscanner we can attach just 5 levels and there are no sublevels. I
can’t define crystals in different levels in PETscanner because they are for
the same depth. I checked it for 2 crystals and when I attached the system and
ran it there was an error “COMMAND NOT FOUND </gate/systems/PETscanner/level5/attach
crystal2”. Then, I tried a trick. I used OPET instead, which have 5 depths and
8 layers in the last depth. I defined the rsector, module and the crystal as a
box and defined the layers as trapezoid crystals. But in OPET the last level
should be wedge. So when I run the simulation I encounter that crash that I
send you before. I want to know if there is any solution in which I can define
a system with trapezoid crystals and at least 7 layer in the same depth. Please
help me.</font></font></font></span></p><p><font color="#000000" face="Times New Roman" size="3">
<span><span> </span></span></font></p></span><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 20, 2017 at 3:30 PM, <span dir="ltr"><<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Send Gate-users mailing list submissions to<br>
<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank" rel="noreferrer">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.<wbr>opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gate-users-owner@lists.opengatecollaboration.org">gate-users-owner@lists.<wbr>opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. PET crash (was Re: (no subject)) (David Boersma)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Mon, 20 Mar 2017 08:58:12 +0100<br>
From: David Boersma <<a href="mailto:david.boersma@physics.uu.se">david.boersma@physics.uu.se</a>><br>
To: <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>><br>
Subject: [Gate-users] PET crash (was Re: (no subject))<br>
Message-ID: <<a href="mailto:e0f11e2b-dda5-9579-f3db-c3e14e8fc572@physics.uu.se">e0f11e2b-dda5-9579-f3db-<wbr>c3e14e8fc572@physics.uu.se</a>><br>
Content-Type: text/plain; charset="utf-8"; format=flowed<br>
<br>
Hi Merisa,<br>
<br>
On 03/18/2017 08:43 PM, Merisa Saber wrote:<br>
> Hi<br>
><br>
> I want to simulate a cylindrical PET with trapezoid crystals. I defined<br>
> the system and attached them. But, when I run my simulation,<br>
> Segmentation fault (core dumped) error was appeared. The following are<br>
> some of the threads. Can anyone help me please?<br>
<br>
I am not a PET expert, but I suspect that the actual experts will need<br>
more information about what you did before the crash happened, as well<br>
as some basic information about your software setup.<br>
<br>
We have two goals in this conversation: (1) explain to you how to run<br>
this simulation, and (2) fix our code so that when the user does<br>
something wrong she gets a useful error message instead of an<br>
embarrassing crash.<br>
<br>
So could you let us know the following:<br>
<br>
1. software versions, release, distro:<br>
- operating system (which distro/release of linux/macosx)?<br>
- geant4, ROOT and Qt<br>
- GATE<br>
<br>
2. the main macro for your simulation (if there is any proprietary<br>
information in your geometry, please leave it out)<br>
<br>
3. what command line do you use to run it? if you are running in the<br>
GUI, could you also tell us the commands that you gave in there?<br>
<br>
<br>
David<br>
<br>
<br>
><br>
> ==============================<wbr>=============================<br>
><br>
> There was a crash.<br>
><br>
> This is the entire stack trace of all threads:<br>
><br>
> ==============================<wbr>=============================<br>
><br>
> .<br>
><br>
> .<br>
><br>
> .<br>
><br>
> #29 0x00007f9e7429b975 in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #30 0x00007f9e7397e87a in QMetaObject::activate(QObject*<wbr>, QMetaObject<br>
> const*, int, void**) () from /usr/lib/x86_64-linux-gnu/<wbr>libQtCore.so.4<br>
><br>
> #31 0x00007f9e742a2a6c in QLineControl::processKeyEvent(<wbr>QKeyEvent*) ()<br>
> from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #32 0x00007f9e7429808a in QLineEdit::keyPressEvent(<wbr>QKeyEvent*) () from<br>
> /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #33 0x00007f9e73eeb3e4 in QWidget::event(QEvent*) () from<br>
> /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #34 0x00007f9e7429d3c1 in QLineEdit::event(QEvent*) () from<br>
> /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #35 0x00007f9e73e9be2c in QApplicationPrivate::notify_<wbr>helper(QObject*,<br>
> QEvent*) () from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #36 0x00007f9e73ea36f1 in QApplication::notify(QObject*, QEvent*) ()<br>
> from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #37 0x00007f9e7396a4dd in QCoreApplication::<wbr>notifyInternal(QObject*,<br>
> QEvent*) () from /usr/lib/x86_64-linux-gnu/<wbr>libQtCore.so.4<br>
><br>
> #38 0x00007f9e73f3b027 in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #39 0x00007f9e73f3b3c9 in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #40 0x00007f9e73f15417 in QApplication::x11ProcessEvent(<wbr>_XEvent*) ()<br>
> from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #41 0x00007f9e73f3db32 in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #42 0x00007f9e6f382e04 in g_main_context_dispatch () from<br>
> /lib/x86_64-linux-gnu/libglib-<wbr>2.0.so.0<br>
><br>
> #43 0x00007f9e6f383048 in ?? () from /lib/x86_64-linux-gnu/libglib-<wbr>2.0.so.0<br>
><br>
> #44 0x00007f9e6f3830ec in g_main_context_iteration () from<br>
> /lib/x86_64-linux-gnu/libglib-<wbr>2.0.so.0<br>
><br>
> #45 0x00007f9e739977a1 in<br>
> QEventDispatcherGlib::<wbr>processEvents(QFlags<<wbr>QEventLoop::ProcessEventsFlag><wbr>)<br>
> () from /usr/lib/x86_64-linux-gnu/<wbr>libQtCore.so.4<br>
><br>
> #46 0x00007f9e73f3dbe6 in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libQtGui.so.4<br>
><br>
> #47 0x00007f9e739690af in<br>
> QEventLoop::processEvents(<wbr>QFlags<QEventLoop::<wbr>ProcessEventsFlag>) () from<br>
> /usr/lib/x86_64-linux-gnu/<wbr>libQtCore.so.4<br>
><br>
> #48 0x00007f9e739693a5 in<br>
> QEventLoop::exec(QFlags<<wbr>QEventLoop::ProcessEventsFlag><wbr>) () from<br>
> /usr/lib/x86_64-linux-gnu/<wbr>libQtCore.so.4<br>
><br>
> #49 0x00007f9e7396eb79 in QCoreApplication::exec() () from<br>
> /usr/lib/x86_64-linux-gnu/<wbr>libQtCore.so.4<br>
><br>
> #50 0x00007f9e7d7ce16d in G4UIQt::SessionStart (this=0x2922b60) at<br>
> /home/gate/Progs/Geant4/<wbr>geant4.10.02/source/<wbr>interfaces/basic/src/G4UIQt.<wbr>cc:811<br>
><br>
> #51 0x0000000000612075 in main ()<br>
><br>
> ==============================<wbr>=============================<br>
><br>
><br>
><br>
><br>
><br>
> Segmentation fault (core dumped)<br>
> there were 9 pages thread lines. If you want all threads let me know<br>
> --<br>
> Merisa Saber<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Gate-users mailing list<br>
> <a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
> <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank" rel="noreferrer">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
><br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank" rel="noreferrer">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 130, Issue 28<br>
******************************<wbr>*************<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="line-height:115%;font-family:"Edwardian Script ITC";font-size:24pt"><font color="#000000">Merisa
Saber</font></span></div></div>
</div></div>