[Gate-users] problem with /vis/open OGL

Juan Sebastian Useche Parra js.useche10 at uniandes.edu.co
Tue Nov 30 14:12:37 CET 2021


Hi Sarah,

DAWN is a particular format file to create vectorized images for academic writings, so you have to install the program before seeing something. Here is the link to the program with install instructions (https://geant4.kek.jp/~tanaka/DAWN/About_DAWN.html). Since it is quite cumbersome, I would recommend reinstalling GATE with the flags to use OGL or the libraries you need to use it.


Juan Sebastian Useche
Albert-Ludwigs-Universität Freiburg
Freiburger Materialforschungszentrum (FMF)
Stefan-Meier-Str. 21
79104 Freiburg
Germany



From: Sarah Blind <sarah.blind at univ-lorraine.fr>
Sent: Monday, 29 November 2021 15:13
To: gate-users <gate-users at lists.opengatecollaboration.org>
Subject: Re: [Gate-users] problem with /vis/open OGL

Okey, so I understood that my available viewer is DAWNFILE.

I want now for a start to view a very very simple code describing a world with a cylindrical PET with one daughter.
My file environnement.mac :

 # WORLD
/gate/world/geometry/setXLength 40. cm
/gate/world/geometry/setYLength 40. cm
/gate/world/geometry/setZLength 40. cm

# SYSTEM
/gate/world/daughters/name cylindricalPET
/gate/world/daughters/insert cylinder
/gate/cylindricalPET/setMaterial Water
/gate/cylindricalPET/geometry/setRmax 100 mm
/gate/cylindricalPET/geometry/setRmin 86 mm
/gate/cylindricalPET/geometry/setHeight 18 mm
/gate/cylindricalPET/vis/forceWireframe
/vis/viewer/zoom 3

# ONE DAUGHTER
/gate/cylindricalPET/daughters/name box1
/gate/cylindricalPET/daughters/insert box
/gate/box1/placement/setTranslation 91. 0 0 mm
/gate/box1/geometry/setXLength 10. mm
/gate/box1/geometry/setYLength 17.75 mm
/gate/box1/geometry/setZLength 17.75 mm
/gate/box1/setMaterial Water
/gate/box1/vis/setColor yellow
/gate/box1/vis/forceWireframe

My main file looks the following :
/gate/physics/addPhysicsList QGSP_BERT_EMV
/gate/geometry/setMaterialDatabase ../data/GateMaterials.db

/vis/open DAWNFILE
/control/execute environnement.mac
/vis/drawVolume
/vis/viewer/refresh

I don't understand the output; this code outputs a file .prim which I cannot open.
Does someone sees why I can't obtain any view simulation?

I'm discovering Gate... thank you for your help!

Sarah



----- Le 29 Nov 21, à 11:03, Sarah Blind <sarah.blind at univ-lorraine.fr<mailto:sarah.blind at univ-lorraine.fr>> a écrit :

Dear Gate users,

I'm new to Gate and I encounter the following problem while executing a very simple code:
when I write
/vis/open OGL
in my main.mac I get the following error message:

"OGLSQt" is not compatible with your chosen session, and no fallback system found

Yet OpenGL is installed. Has someone an idea what the problem can be?

I'm working on a virtualbox with Ubuntu 20.04.3 LTS.
I installed Gate 9.1 throught the ubuntu software center.

Many thanks for your help,
Sarah





_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

--
Sarah Blind
Ingénieure de recherche - CNRS
Centre de Recherche en Automatique de Nancy (CRAN)
Département Biologie, Signaux et Systèmes en Cancérologie et Neurosciences (BioSiS)
Site de la faculté de médecine
9, Avenue de la Forêt de Haye
54505 Vandoeuvre les Nancy
Tél : 03.72.74.61.13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20211130/605d8d9b/attachment-0001.html>


More information about the Gate-users mailing list