[Gate-users] GateMaterialDatabase problem. Gate 7.0
Debendranath Sahoo
deba999 at gmail.com
Fri May 30 07:10:53 CEST 2014
Dear Michal,
I assume you are typing "
*root at mknap-HP:/home/mknap/Gate# Gate --qt
Minigamma1pointonsourcecollimator/minigamma1pointsourceoncollimator.mac" *
to run the full macro. Instead, just type "*root at mknap-HP:/home/mknap/Gate#
Gate --qt" *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 *root at mknap-HP:/home/mknap/Gate"). *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 *not* show any error till the point wherein
you are adding Physics Processes. Please try it again.
deba999
On Thu, May 29, 2014 at 11:34 PM, Michal Knap <michal.knap at gmail.com> wrote:
> Dear Debendranath,
> I tried to run the file that I received from you but still there is a
> problem with GateMaterials.db. I attach screenshots of qt. I do not see
> GateMaterials.db and when given the full path to the file in the file
> GateMaterials.db. Mac indicates an error in units (2 screenshot). Is
> there something wrong with the linking? How to fix it? Thank you very much for
> your help.
> Yours sincerely
> Michael Knap
>
> Z wyrazami szacunku
> Michał Knap
>
>
> 2014-05-29 20:00 GMT+02:00 Michal Knap <michal.knap at gmail.com>:
>
> Dear Debendranath,
>> I tried uruchumić file that I received from you but still there is a
>> problem with GateMaterials.db. I attach screenshots of qt. I do not see
>> GateMaterials.db and when given the full path to the GateMaterials.db
>> file in the .mac i get an error in units (2 screenshot). Is there
>> something wrong with the linking? How to fix it? Thank you very much for
>> your help.
>> Yours sincerely
>> Michael Knap
>>
>> Z wyrazami szacunku
>> Michał Knap
>>
>>
>> 2014-05-29 10:12 GMT+02:00 Debendranath Sahoo <deba999 at gmail.com>:
>>
>> Dear Michal,
>>>
>>> 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.
>>>
>>> Also make sure the "GateMaterials.db" file is there in your working
>>> directory.
>>>
>>> deba999
>>>
>>>
>>> On Thu, May 29, 2014 at 10:10 AM, Michal Knap <michal.knap at gmail.com>
>>> wrote:
>>>
>>>> HI All,
>>>>
>>>> I'm Trying to run my simulation bu t when i type
>>>>
>>>>
>>>> *root at mknap-HP:/home/mknap/Gate# Gate --qt
>>>> Minigamma1pointonsourcecollimator/minigamma1pointsourceoncollimator.mac*
>>>>
>>>>
>>>> i get this in QT5.
>>>>
>>>> I'm using Ubuntu 12.04, Gate 7.0, Geant4.9.6.p03, root 5.34/18, CLHEP
>>>> 2.1.3.1.
>>>>
>>>> Please tell me how to fix it.
>>>>
>>>> I attach my .mac file.
>>>>
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--10-100-75-75-m-60-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--11-80-100-100-m-60-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--14-100-100-100-m-90-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--20-140-100-100-m-110-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--24-240-75-75-m-150-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--25-180-100-100-m-150-iso8859-1*
>>>>
>>>> *G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font*
>>>>
>>>> * -adobe-courier-bold-r-normal--34-240-100-100-m-200-iso8859-1*
>>>>
>>>> *WARNING: 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".*
>>>>
>>>> ****** COMMAND NOT FOUND </gate/geometry/enableAutoUpdate> ******
>>>>
>>>>
>>>> ****** Batch is interrupted!! ******
>>>>
>>>>
>>>>
>>>>
>>>> *WARNING: 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".GateMaterialDatabase.cc (l.131): GateMaterialDatabase: could
>>>> not find the definition for material 'Vacuum' in material files *
>>>> T
>>>> hank you in advance for your help
>>>> .
>>>>
>>>> Best Regards
>>>>
>>>> Michał Knap
>>>>
>>>>
>>>> _______________________________________________
>>>> Gate-users mailing list
>>>> Gate-users at lists.opengatecollaboration.org
>>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>>>
>>>
>>>
>>>
>>> --
>>> *Dr Debendranath Sahoo*
>>> Honorary Professor
>>> Physics Department
>>> Sri Sathya Sai Institute of Higher Learning
>>> Prashanthi Nilayam
>>> Puttaparthy
>>> A.P. 515 134
>>> e-mail: deba999 at gmail.com
>>> Mobile: *094945-43026*
>>>
>>>
>>
>
--
*Dr Debendranath Sahoo*
Honorary Professor
Physics Department
Sri Sathya Sai Institute of Higher Learning
Prashanthi Nilayam
Puttaparthy
A.P. 515 134
e-mail: deba999 at gmail.com
Mobile: *094945-43026*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140530/72764a92/attachment-0001.html>
More information about the Gate-users
mailing list