[Gate-users] /control/verbose 0 error

RAMESHwar rjhaji at gmail.com
Fri Jul 2 12:19:45 CEST 2010


Hello Gate users. Greetings!!
I am new to Gate based simulations. I am using gate version 5 on fedora8.
When I am running main.macro, I am getting error in /control/verbose 0 which
is as follows.I even tried by putting 1 instead of 0 but it gives same
error.
*PreInit> /control/execute MAIN.mac
/control/execute MAIN.mac
/control/verbose 0
: integer expected.
> *****llegal parameter (0) </control/verbose 0*


*My visu.mac is as follows:*
#    V I S U A L I S A T I O N
/vis/open OGLIX
/vis/viewer/set/viewpointThetaPhi 60 60
/vis/viewer/zoom 1.5
/vis/viewer/set/style surface
/vis/drawVolume
/vis/viewer/flush
/tracking/storeTrajectory 1
/vis/scene/endOfEventAction accumulate
/gate/geometry/enableAutoUpdate
*
My MAIN.macro is as follows:*

/control/verbose 0
############################
#Choose the visualisation Parameters
/control/execute visu.mac
/vis/disable
############################
#     W O R L D
/gate/world/geometry/setXLength 200 mm
/gate/world/geometry/setYLength 200 mm
/gate/world/geometry/setZLength 240 mm
############################
/control/execute camera.mac

############################
#    Phantom
/control/execute mousePhantom.mac


###########################
#    Physics
/control/execute physics.mac
###########################

#    I N I T I A L I Z E
/gate/systems/PETscanner/verbose 0
/gate/geometry/enableAutoUpdate
/run/initialize
/geometry/test/recursive_test

##########################
#    D I G I T I Z E R
/control/execute digitizer.mac
##########################
#    V E R B O S I T Y
/control/verbose 0
/grdm/verbose 0
/run/verbose 0
/event/verbose 0
/tracking/verbose 0
/gate/application/verbose 0
/gate/generator/verbose 0
/gate/stacking/verbose 0
/gate/event/verbose 0
/gate/source/verbose 0

############################
#    S O U R C E
/control/execute sources.mac

###########################
#    O U T P U T

/gate/output/verbose 0

/gate/output/ascii/setOutFileHitsFlag 0
/gate/output/ascii/setOutFileSinglesFlag 0
/gate/output/ascii/setOutFileCoincidencesFlag 1
#200MB Output File Size Limit
/gate/output/ascii/setOutFileSizeLimit 200000000
#/gate/output/ascii/setOutFiledelayFlag 0


/gate/output/root/setFileName gate
/gate/output/root/setRootHitFlag 0
/gate/output/root/setRootSinglesFlag 0
/gate/output/root/setRootCoincidencesFlag 1
#/gate/output/root/setRootdelayFlag 0
#/gate/output/root/setRootNtupleFlag 0
#/gate/output/root/setSaveRndmFlag 0

##########################
#    S T A R T
/gate/application/setTimeSlice     0.1 s
/gate/application/setTimeStart     0. s
/gate/application/setTimeStop      3 s
/gate/application/startDAQ

exit

Any help or support will be highly appreciated.
thanks and regards
Ramesh


More information about the Gate-users mailing list