<div dir="ltr"><div><div><div>Dear Michal,<br><br></div>I assume you are typing "<i>root@mknap-HP:/home/mknap/Gate# Gate --qt Minigamma1pointonsourcecollimator/minigamma1pointsourceoncollimator.mac" <br></i></div>
to run the full macro. Instead, just type "<i>root@mknap-HP:/home/mknap/Gate# Gate --qt" </i>which should display the stand-alone Qt interface. Then type each line one by one and pay attention to the line "setMaterial....". Perhaps "GateMaterials.db" is not present in your working directory (which is <i>root@mknap-HP:/home/mknap/Gate"). </i>Or perhaps this file is corrupted. I am using Ubuntu 12.04 LTS with Gate 7.0 installed with its built-in CLHEP. I ran your macro again. It does <b>not</b> show any error till the point wherein you are adding Physics Processes. Please try it again.<br>
<br></div>deba999<br><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 29, 2014 at 11:34 PM, Michal Knap <span dir="ltr"><<a href="mailto:michal.knap@gmail.com" target="_blank">michal.knap@gmail.com</a>></span> wrote:<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"><span lang="en"><span>Dear</span> <span>Debendranath</span><span>,</span> <br>
<span>I tried to</span> <span>run the file</span> <span>that I received</span> <span>from you</span> <span>but still</span> <span>there is a problem</span> <span>with</span> <span>GateMaterials.db</span><span>.</span> <span>I attach</span> <span>screenshots</span> <span>of</span> <span>qt</span><span>.</span> <span>I do not</span> <span>see</span> <span>GateMaterials.db</span> <span>and when</span> <span>given</span> <span>the full path</span> <span>to the file</span> <span>in the file</span> <span>GateMaterials.db</span><span>.</span> <span>Mac</span> <span>indicates an error</span> <span>in units</span> <span>(</span><span>2</span> <span>screenshot</span><span>)</span><span>.</span> <span>Is there something</span> <span>wrong with the</span> <span>linking</span><span>?</span> <span>How</span> <span>to fix it?</span> <span>Thank you very much</span> <span>for your help.</span> <br>
<span>Yours sincerely</span> <br><span>Michael</span> <span>Knap</span></span></div></div><div class="gmail_extra"><div><br clear="all"><div><div dir="ltr"><font face="verdana,sans-serif">Z wyrazami szacunku<br>
Michał Knap</font></div></div>
<br><br></div><div class="gmail_quote">2014-05-29 20:00 GMT+02:00 Michal Knap <span dir="ltr"><<a href="mailto:michal.knap@gmail.com" target="_blank">michal.knap@gmail.com</a>></span>:<div><div><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"><span lang="en"><span>Dear</span> <span>Debendranath</span><span>,</span> <br><span>I tried</span> <span>uruchumić</span> <span>file</span> <span>that I received</span> <span>from you</span> <span>but still</span> <span>there is a problem</span> <span>with</span> <span>GateMaterials.db</span><span>.</span> <span>I attach</span> <span>screenshots</span> <span>of</span> <span>qt</span><span>.</span> <span>I do not</span> <span>see</span> <span>GateMaterials.db</span> <span>and when</span> <span>given</span> <span>the full path</span> <span>to the </span></span><span lang="en"><span><span lang="en"><span>GateMaterials.db</span><span> </span></span>file</span> <span>in the </span><span>.</span><span>mac</span> <span>i get an error</span> <span>in units</span> <span>(</span><span>2</span> <span>screenshot</span><span>)</span><span>.</span> <span>Is there something</span> <span>wrong with the</span> <span>linking</span><span>?</span> <span>How</span> <span>to fix it?</span> <span>Thank you very much</span> <span>for your help.</span> <br>
<span>Yours sincerely</span> <br><span>Michael</span> <span>Knap</span></span></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-05-29 10:12 GMT+02:00 Debendranath Sahoo <span dir="ltr"><<a href="mailto:deba999@gmail.com" target="_blank">deba999@gmail.com</a>></span>:<div><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Dear Michal,<br><br></div>You have to add "/gate/geometry/setMaterialDatabase GateMaterials.db" after Visualization coding lines. Also, use "/vis/open OGLSQt" instead of OGLSX--since you are using Gate --qt startup. I have not debugged your full macro file, but made some changes-- the file is attached herewith. Hope it helps.<br>
<br></div><div>Also make sure the "GateMaterials.db" file is there in your working directory.<br></div><div><br></div>deba999<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>
On Thu, May 29, 2014 at 10:10 AM, Michal Knap <span dir="ltr"><<a href="mailto:michal.knap@gmail.com" target="_blank">michal.knap@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">
<p style="margin:0px;text-indent:0px">HI All,</p><p style="margin:0px;text-indent:0px">I'm Trying to run my simulation bu t when i type <br></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">
<i>root@mknap-HP:/home/mknap/Gate# Gate --qt Minigamma1pointonsourcecollimator/minigamma1pointsourceoncollimator.mac</i></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">i get this in QT5.</p>
<p style="margin:0px;text-indent:0px">I'm using Ubuntu 12.04, Gate 7.0, Geant4.9.6.p03, root 5.34/18, CLHEP 2.1.3.1.</p><p style="margin:0px;text-indent:0px">Please tell me how to fix it.</p><p style="margin:0px;text-indent:0px">
I attach my .mac file.</p><p style="margin:0px;text-indent:0px"><span style="color:rgb(255,0,0)"><br></span></p><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p>
<i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--10-100-75-75-m-60-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--11-80-100-100-m-60-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--14-100-100-100-m-90-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--20-140-100-100-m-110-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--24-240-75-75-m-150-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--25-180-100-100-m-150-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)"> -adobe-courier-bold-r-normal--34-240-100-100-m-200-iso8859-1</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(0,0,0)">WARNING: The vis manager will keep up to 100 events.</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(0,0,0)"> This may use a lot of memory.</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(0,0,0)"> It may be changed with, e.g., "/vis/scene/endOfEventAction accumulate 10".</span></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">***** COMMAND NOT FOUND </gate/geometry/enableAutoUpdate> *****</span></i></p><i>
</i><p style="margin:0px;text-indent:0px;color:rgb(255,0,0)"><i><br></i></p><i>
</i><p style="margin:0px;text-indent:0px"><i><span style="color:rgb(255,0,0)">***** Batch is interrupted!! *****</span></i></p></div><div><div dir="ltr"><i>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>GateMaterialDatabase.cc (l.131): GateMaterialDatabase: could not find the definition for material 'Vacuum' in material files<br>
</i><br><font face="verdana,sans-serif"><span lang="en"><span><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">T</div>hank you in advance</span> <span>for your help<div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">
.</div><br></span></span><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">Best Regards<br></div>Michał Knap<br><br></font></div></div>
</div>
<br></div></div>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><span><font color="#888888"><br></font></span></blockquote>
</div><span><font color="#888888"><br><br clear="all"><br>-- <br><i><b>Dr Debendranath Sahoo</b></i><br>
Honorary Professor<br>Physics Department<br>Sri Sathya Sai Institute of Higher Learning<br>Prashanthi Nilayam<br>Puttaparthy<br>A.P. 515 134<br>e-mail: <a href="mailto:deba999@gmail.com" target="_blank">deba999@gmail.com</a><br>
Mobile: <b>094945-43026</b><br><br>
</font></span></div>
</blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><i><b>Dr Debendranath Sahoo</b></i><br>Honorary Professor<br>Physics Department<br>Sri Sathya Sai Institute of Higher Learning<br>Prashanthi Nilayam<br>Puttaparthy<br>A.P. 515 134<br>
e-mail: <a href="mailto:deba999@gmail.com" target="_blank">deba999@gmail.com</a><br>Mobile: <b>094945-43026</b><br><br>
</div></div></div>