[Gate-users] GateMaterials.db ald /gate/phisics/ problems. please help.

Michal Knap michal.knap at gmail.com
Wed Jun 11 20:05:27 CEST 2014


Problem solved!
Thanks to Moica

All you need to do is to recompile Geant4.

When you extract it, open the file source/interfaces/common/src/
G4Qt.cc and add
    setlocale (LC_NUMERIC, "C");
to the same place as you see in
http://trac.macports.org/browser/trunk/dports/science/geant4/files/patch-upstream-source-interfaces-common-src-G4Qt.cc.496.diff

and then run make/make install again to rebuild geant4.

Thans one more time to Moica.

Can anybody tell me how set up phisics in Gate v7.0? I found some wiki link
but still don't know how to do this.
Thanks in advance.

Z wyrazami szacunku
Michał Knap


2014-06-08 17:27 GMT+02:00 Michal Knap <michal.knap at gmail.com>:

> Hi all,
> I would like to use a Gate v7.0 with qt5. When i try to rub my .mac file
> in qt i get a message
>
> *-------- EEEE ------- G4Exception-START -------- EEEE -------*
>
> **** G4Exception : DecodingException*
>
> * issued by : GateMDBFieldDecoder::DecodingException*
>
> *The definition of the element/material 'Vacuum' is incorrect: The unit
> found for the density field ('.000001 g/cm3')*
>
> * is not in the list of autorised units
> ('g/cm3','g/m3','g/mm3','kg/cm3','kg/m3','kg/mm3','mg/cm3','mg/m3','mg/mm3')
> for this field.*
>
> *You should check this definition in the database file.*
>
> **** Fatal Exception *** core dump ****
>
> *-------- EEEE -------- G4Exception-END --------- EEEE -------*
>
> this is my definition of Vacuum in GateMaterials.db :
>
>
>
> *[Materials]Vacuum: d=0.000001 g/cm3 ; n=1         +el: name=Hydrogen   ;
> n=1*
>
> What is wrong? Can anybody tell me how to fix it?
>
> When i try to run .mac file without qt5 i have this:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Idle> control/execute minigamma1pointsourceoncollimator1.macWARNING:
> G4VisCommandSceneHandlerCreate::SetNewValue: using fallback graphics
> system.G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--10-100-75-75-m-60-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--11-80-100-100-m-60-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--14-100-100-100-m-90-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--20-140-100-100-m-110-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--24-240-75-75-m-150-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--25-180-100-100-m-150-iso8859-1G4OpenGLXViewer::CreateFontLists
> XLoadQueryFont failed for font
> -adobe-courier-bold-r-normal--34-240-100-100-m-200-iso8859-1WARNING: The
> vis manager will keep up to 100 events.   This may use a lot of memory.  It
> may be changed with, e.g., "/vis/scene/endOfEventAction accumulate
> 10". GateDetectorConstruction::insertARFSD  entered  created a ARF
> Sensivitive Detector  created command
> /gate/systems/SPECThead/arf/setARFStage
>  Rmin/gate/Phantom/geometry/setRmin Rmin/gate/movsource/geometry/setRmin*****
> COMMAND NOT FOUND </gate/physics/gamma/selectRayleigh lowenergy> **********
> Batch is interrupted!! ******
>
> Is there problems with phisics? How sholud i set up phisics?
>
> ​Your Sincerely
>> Michał Kna
> ​p​
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140611/d19fd4da/attachment.html>


More information about the Gate-users mailing list