[Gate-users] root commands in SPECT benchmark

Daniel Woodsworth danieljw at phas.ubc.ca
Tue May 15 22:34:59 CEST 2007


Hi,

I am trying to run the SPECT benchmark (eg. >Gate SPECTbench.mac).
Everything runs fine until the section RANDOM in the macro:

# RANDOM
# Change the root of the random module to run different simulations
/gate/output/root/setSaveRndmFlag 1

when running, this gives

***** COMMAND NOT FOUND </gate/output/root/setSaveRndmFlag 1> *****
***** Command ignored *****
Graphics systems deleted.
Visualization Manager deleting...

ROOT is installed and runs; my ROOT environment variables are set. However
when I use ls in GATE to look for the root commands, it appears that Gate
simply hasn't installed the root commands:

Idle> ls /gate/output
Command directory path : /gate/output/


Guidance :

 Sub-directories :
   /gate/output/fastanalysis/   ...Title not available...
   /gate/output/analysis/   ...Title not available...
   /gate/output/digi/   ...Title not available...
   /gate/output/ascii/   ...Title not available...
   /gate/output/projection/   ...Title not available...
   /gate/output/interfile/   ...Title not available...
 Commands :
   describe * List of the output manager properties
   verbose * Set GATE output manager verbose level
Idle>

Also there are no titles or descriptions. I wonder if maybe somehow Gate
did not finish building this section. I sourced my env_gat.csh file and
got:

GATE/gate_v3.1.1> source env_gate.csh
Checking your LD_LIBRARY_PATH variable...
 ==> OK: /home.mirg/danieljw/CLHEP/lib is already in your LD_LIBRARY_PATH
Checking your LD_LIBRARY_PATH variable...
 ==> OK: /usr/X11R6/lib is already in your LD_LIBRARY_PATH
The current value of G4INSTALL is: /home.mirg/danieljw/GEANT4/geant4.8.1.p02
The current value of G4VERSION is: 8.0

Launching Geant4 configuration script
/home.mirg/danieljw/GEANT4/geant4.8.1.p02/env.csh

On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/home.mirg/danieljw/GEANT4/geant4.8.1.p02
On this machine the G4LIB=/home.mirg/danieljw/GEANT4/geant4.8.1.p02/lib
On this machine the
G4LEVELGAMMADATA=/home.mirg/danieljw/GEANT4/geant4.8.1.p02/data/PhotonEvaporation2.0
On this machine the
G4RADIOACTIVEDATA=/home.mirg/danieljw/GEANT4/geant4.8.1.p02/data/RadiativeDecay3.0
On this machine the
G4LEDATA=/home.mirg/danieljw/GEANT4/geant4.8.1.p02/data/G4EMLOW4.0
On this machine the
NeutronHPCrossSections=/home.mirg/danieljw/GEANT4/geant4.8.1.p02/data/G4NDL3.9
On this machine the
G4ELASTICDATA=/home.mirg/danieljw/GEANT4/geant4.8.1.p02/data/G4ELASTIC1.1
On this machine the CLHEP_BASE_DIR=/home.mirg/danieljw/CLHEP
On this machine the CLHEP_INCLUDE_DIR=/home.mirg/danieljw/CLHEP/include
On this machine the CLHEP_LIB_DIR=/home.mirg/danieljw/CLHEP/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_RAYTRACERX=1
On this machine the OGLHOME=/usr/X11R6
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XAWFLAGS=
On this machine the XAWLIBS=
On this machine the G4LIB_BUILD_STATIC=1
On this machine the G4LIB_USE_GRANULAR=1
On this machine the G4UI_USE_TCSH=1
In your environment you have the G4WORKDIR=.

Configuring GATE options

G4WORKDIR set to .
G4TMP set to ./tmp
G4BIN set to ./bin
Data analysis and output features enabled
Ascii data output enabled
Transport and generation of optical photons is enabled
Checking your LD_LIBRARY_PATH variable...
 ==> OK: /home.mirg/danieljw/ROOT/root/lib is already in your LD_LIBRARY_PATH
Use of ROOT enabled
ROOT real-time plotter enabled
LMF data output disabled
ECAT7 data output disabled
GATEHOME is set to /home.mirg/danieljw/GATE/gate_v3.1.1
Checking your path variable...
 ==> OK: /home.mirg/danieljw/GATE/gate_v3.1.1/bin/Linux-g++ is already in
your path variable
G4VERSION7 is not set: GATE is compatible with the geant4 version 7.1
G4VERSION8 is set: GATE is compatible with the geant4 version 8.0 and 8.1

Done

and rebuilt Gate, with no errors. As you can see ROOT and ROOT real-time
plotter are both enabled. Has anyone ran into this? I posted part of my
.cshrc file below, as well as some system specs.

Thanks for all the help.

Daniel


OS: SuSe 9.2
CPU: AMD Athlon 64 3500+

GATE:3.1.1
GEANT4: 8.1.p02
ROOT: 5.12
CLHEP 2.0.2.3
gcc: 3.4


#.cshrc file

#PATH
setenv PATH
/home.mirg/danieljw/ROOT/root/bin:/home.mirg/danieljw/GATE/gate_v3.1.1/bin/Linux-g++:${PATH}

#GATE
setenv GATEHOME ${HOME}/GATE/gate_v3.1.1
setenv G4LEDATA ${HOME}/GEANT4/geant4.8.1.p02/data/G4EMLOW4.0


#CLHEP link for GATE
setenv LD_LIBRARY_PATH /home.mirg/danieljw/CLHEP/lib


#FOR ROOT
setenv ROOTSYS /home.mirg/danieljw/ROOT/root
setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:${LD_LIBRARY_PATH}











More information about the Gate-users mailing list