[Gate-users] Gate-users Digest, Vol 130, Issue 28

Merisa Saber merisa550 at gmail.com
Wed Apr 19 09:54:00 CEST 2017


Hi Dear All


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
mm2 at the face and 6.95*12.05 mm2 at the end) of trapezoid crystals with
dimension of 0.45*0.45 mm2 and 0.45*0.814 mm2 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.



On Mon, Mar 20, 2017 at 3:30 PM, <
gate-users-request at lists.opengatecollaboration.org> wrote:

> Send Gate-users mailing list submissions to
>         gate-users at lists.opengatecollaboration.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
>         gate-users-request at lists.opengatecollaboration.org
>
> You can reach the person managing the list at
>         gate-users-owner at lists.opengatecollaboration.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gate-users digest..."
>
>
> Today's Topics:
>
>    1. PET crash (was Re:  (no subject)) (David Boersma)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 20 Mar 2017 08:58:12 +0100
> From: David Boersma <david.boersma at physics.uu.se>
> To: <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] PET crash (was Re:  (no subject))
> Message-ID: <e0f11e2b-dda5-9579-f3db-c3e14e8fc572 at physics.uu.se>
> Content-Type: text/plain; charset="utf-8"; format=flowed
>
> Hi Merisa,
>
> On 03/18/2017 08:43 PM, Merisa Saber wrote:
> > Hi
> >
> > I want to simulate a cylindrical PET with trapezoid crystals. I defined
> > the system and attached them. But, when I run my simulation,
> > Segmentation fault (core dumped) error was appeared. The following are
> > some of the threads. Can anyone help me please?
>
> I am not a PET expert, but I suspect that the actual experts will need
> more information about what you did before the crash happened, as well
> as some basic information about your software setup.
>
> We have two goals in this conversation: (1) explain to you how to run
> this simulation, and (2) fix our code so that when the user does
> something wrong she gets a useful error message instead of an
> embarrassing crash.
>
> So could you let us know the following:
>
> 1. software versions, release, distro:
>    - operating system (which distro/release of linux/macosx)?
>    - geant4, ROOT and Qt
>    - GATE
>
> 2. the main macro for your simulation (if there is any proprietary
> information in your geometry, please leave it out)
>
> 3. what command line do you use to run it? if you are running in the
> GUI, could you also tell us the commands that you gave in there?
>
>
> David
>
>
> >
> > ===========================================================
> >
> > There was a crash.
> >
> > This is the entire stack trace of all threads:
> >
> > ===========================================================
> >
> > .
> >
> > .
> >
> > .
> >
> > #29 0x00007f9e7429b975 in ?? () from /usr/lib/x86_64-linux-gnu/
> libQtGui.so.4
> >
> > #30 0x00007f9e7397e87a in QMetaObject::activate(QObject*, QMetaObject
> > const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> >
> > #31 0x00007f9e742a2a6c in QLineControl::processKeyEvent(QKeyEvent*) ()
> > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> >
> > #32 0x00007f9e7429808a in QLineEdit::keyPressEvent(QKeyEvent*) () from
> > /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> >
> > #33 0x00007f9e73eeb3e4 in QWidget::event(QEvent*) () from
> > /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> >
> > #34 0x00007f9e7429d3c1 in QLineEdit::event(QEvent*) () from
> > /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> >
> > #35 0x00007f9e73e9be2c in QApplicationPrivate::notify_helper(QObject*,
> > QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> >
> > #36 0x00007f9e73ea36f1 in QApplication::notify(QObject*, QEvent*) ()
> > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> >
> > #37 0x00007f9e7396a4dd in QCoreApplication::notifyInternal(QObject*,
> > QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> >
> > #38 0x00007f9e73f3b027 in ?? () from /usr/lib/x86_64-linux-gnu/
> libQtGui.so.4
> >
> > #39 0x00007f9e73f3b3c9 in ?? () from /usr/lib/x86_64-linux-gnu/
> libQtGui.so.4
> >
> > #40 0x00007f9e73f15417 in QApplication::x11ProcessEvent(_XEvent*) ()
> > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> >
> > #41 0x00007f9e73f3db32 in ?? () from /usr/lib/x86_64-linux-gnu/
> libQtGui.so.4
> >
> > #42 0x00007f9e6f382e04 in g_main_context_dispatch () from
> > /lib/x86_64-linux-gnu/libglib-2.0.so.0
> >
> > #43 0x00007f9e6f383048 in ?? () from /lib/x86_64-linux-gnu/libglib-
> 2.0.so.0
> >
> > #44 0x00007f9e6f3830ec in g_main_context_iteration () from
> > /lib/x86_64-linux-gnu/libglib-2.0.so.0
> >
> > #45 0x00007f9e739977a1 in
> > QEventDispatcherGlib::processEvents(QFlags<
> QEventLoop::ProcessEventsFlag>)
> > () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> >
> > #46 0x00007f9e73f3dbe6 in ?? () from /usr/lib/x86_64-linux-gnu/
> libQtGui.so.4
> >
> > #47 0x00007f9e739690af in
> > QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> > /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> >
> > #48 0x00007f9e739693a5 in
> > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> > /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> >
> > #49 0x00007f9e7396eb79 in QCoreApplication::exec() () from
> > /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> >
> > #50 0x00007f9e7d7ce16d in G4UIQt::SessionStart (this=0x2922b60) at
> > /home/gate/Progs/Geant4/geant4.10.02/source/interfaces/basic/src/G4UIQt.
> cc:811
> >
> > #51 0x0000000000612075 in main ()
> >
> > ===========================================================
> >
> >
> >
> >
> >
> > Segmentation fault (core dumped)
> > there were 9 pages thread lines. If you want all threads let me know
> > --
> > Merisa Saber
> >
> >
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> >
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> ------------------------------
>
> End of Gate-users Digest, Vol 130, Issue 28
> *******************************************
>



-- 
Merisa Saber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170419/6a53b0b3/attachment-0001.html>


More information about the Gate-users mailing list