<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Problem solved!<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks to Moica<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
All you need to do is to recompile Geant4.<br>
<br>
When you extract it, open the file source/interfaces/common/src/<div id=":18c" class="">G4Qt.cc and add<br>
setlocale (LC_NUMERIC, "C");<br>
to the same place as you see in<br>
<a href="http://trac.macports.org/browser/trunk/dports/science/geant4/files/patch-upstream-source-interfaces-common-src-G4Qt.cc.496.diff" target="_blank">http://trac.macports.org/browser/trunk/dports/science/geant4/files/patch-upstream-source-interfaces-common-src-G4Qt.cc.496.diff</a><br>
<br>
and then run make/make install again to rebuild geant4.<br><br></div><div id=":18c" class="">Thans one more time to Moica.<br><br></div><div id=":18c" class="">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. <br>
</div><div id=":18c" class="">Thanks in advance.<br></div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font face="verdana,sans-serif">Z wyrazami szacunku<br>Michał Knap</font></div></div>
<br><br><div class="gmail_quote">2014-06-08 17:27 GMT+02:00 Michal Knap <span dir="ltr"><<a href="mailto:michal.knap@gmail.com" target="_blank">michal.knap@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><font size="4">Hi all,<br></font></div><div class="gmail_default" style="font-family:verdana,sans-serif"><font size="4">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<br>
</font><br><p style="margin:0px;text-indent:0px"><i>-------- EEEE ------- G4Exception-START -------- EEEE -------</i></p><i>
</i><p style="margin:0px;text-indent:0px"><i>*** G4Exception : DecodingException</i></p><i>
</i><p style="margin:0px;text-indent:0px"><i> issued by : GateMDBFieldDecoder::DecodingException</i></p><i>
</i><p style="margin:0px;text-indent:0px"><i>The definition of the element/material 'Vacuum' is incorrect: The unit found for the density field ('.000001 g/cm3')</i></p><i>
</i><p style="margin:0px;text-indent:0px"><i> 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.</i></p>
<i>
</i><p style="margin:0px;text-indent:0px"><i>You should check this definition in the database file.</i></p><i>
</i><p style="margin:0px;text-indent:0px"><i>*** Fatal Exception *** core dump ***</i></p><i>
</i><p style="margin:0px;text-indent:0px"><i>-------- EEEE -------- G4Exception-END --------- EEEE -------</i></p><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><font size="4">this is my definition of Vacuum in GateMaterials.db :</font><br>
<br><i>[Materials]<br>Vacuum: d=0.000001 g/cm3 ; n=1 <br> +el: name=Hydrogen ; n=1</i><br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><font size="4">What is wrong? Can anybody tell me how to fix it?<br>
<br></font></div><div class="gmail_default" style="font-family:verdana,sans-serif"><font size="4">When i try to run .mac file without qt5 i have this:<br></font><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
<i>Idle> control/execute minigamma1pointsourceoncollimator1.mac<br>WARNING: G4VisCommandSceneHandlerCreate::SetNewValue: using fallback graphics system.<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>
-adobe-courier-bold-r-normal--10-100-75-75-m-60-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br> -adobe-courier-bold-r-normal--11-80-100-100-m-60-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>
-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br> -adobe-courier-bold-r-normal--14-100-100-100-m-90-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>
-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br> -adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>
-adobe-courier-bold-r-normal--20-140-100-100-m-110-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br> -adobe-courier-bold-r-normal--24-240-75-75-m-150-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>
-adobe-courier-bold-r-normal--25-180-100-100-m-150-iso8859-1<br>G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br> -adobe-courier-bold-r-normal--34-240-100-100-m-200-iso8859-1<br>WARNING: The vis manager will keep up to 100 events.<br>
This may use a lot of memory.<br> It may be changed with, e.g., "/vis/scene/endOfEventAction accumulate 10".<br> GateDetectorConstruction::insertARFSD entered <br> created a ARF Sensivitive Detector <br> created command /gate/systems/SPECThead/arf/setARFStage<br>
Rmin/gate/Phantom/geometry/setRmin<br> Rmin/gate/movsource/geometry/setRmin<br>***** COMMAND NOT FOUND </gate/physics/gamma/selectRayleigh lowenergy> *****<br><br>***** Batch is interrupted!! *****</i><br><br></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><font size="4">Is there problems with phisics? How sholud i set up phisics?<br></font></div><div><font face="verdana,sans-serif" size="4"><br></font></div>
<div><font face="verdana,sans-serif" size="4"><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">Your Sincerely<br></div>Michał Kna<div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">
p</div></font></div><div></div>
</div>
</blockquote></div><br></div>