[Gate-users] about Gate users guide

open researcher openresearcher90 at gmail.com
Sat Jul 28 11:31:39 CEST 2012


hi everybody

sorry for bothering you all again. Two days back only i installed Gate 6.1.
Now as i want to learn GATE 6.1, i am going through the user manual. While
running the codes given in the manual i got errors regarding 'Volume of the
same name and copy number ("world_phys", copy 0) still exists and is being
used'  but as it was mentioned in the gate-users mailing list i ignored it.
But now the problem is i wrote a macrofile and the commands are -

#                         MY FIRST MACRO

####for visualization

# V I S U A L I Z A T I O N
/vis/open OGLSX
/vis/viewer/reset
/vis/viewer/set/viewpointThetaPhi 60 60
/vis/viewer/zoom 1
/vis/viewer/set/style surface
/vis/drawVolume
/tracking/storeTrajectory 1
/vis/scene/endOfEventAction accumulate
/vis/viewer/update

# M A N D A T O R Y
#####
/gate/geometry/setMaterialDatabase GateMaterials.db

####Defining the world


# W O R L D

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

#####Defining the system

# S Y S T E M

/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

as it is in the users guide. when i run the file using  '/control/execute
myfirstmacro.mac'  in OpenGLSX window i get some lines instead of getting a
cylinder as shown in the guide. One more curious thing that i found was
whenever i close (one of the the) viewer (OpenGLStoredX) window(s)  (as
there were so many windows) and then run my macro file, i get an error like
this-

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server
":0.0"
      after 15233 requests (15222 known processed) with 4 events remaining.

and the IDLE prompt vanishes.

any help or suggestions?


More information about the Gate-users mailing list