[Gate-users] GATE installation

yuxuan.zhang at di.mdacc.tmc.edu yuxuan.zhang at di.mdacc.tmc.edu
Tue May 15 16:40:05 CEST 2007


you need to set the environment $GATEHOME in your .cshrc file.





danieljw at phas.ubc.ca
Sent by: gate-users-bounces at lists.healthgrid.org
05/14/2007 07:04 PM

 
        To:     gate-users at lists.healthgrid.org
        cc: 
        Subject:        Re: [Gate-users] GATE installation


Hi,

I have installed GATE and run the introductory tutorial and everything
seems fine. The problem is I have been trying to set up   Gate so that it
is properly configured every time I login. For example if I try to run
Gate in my home directory I get:

/home.mirg/danieljw> pwd
/home.mirg/danieljw
/home.mirg/danieljw> Gate

*************************************************************
 Geant4 version Name: geant4-08-01-patch-02    (10-November-2006)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************


GateMDBFile::GateMDBFile:
        Could not open material database file 'GateMaterials.db'.
        Computation aborted.


*** G4Exception: Aborting execution ***
Abort
/home.mirg/danieljw>

If I cd to /home.mirg/danieljw/GATE/gate_v3.1.1 which contains all of the
Gate files including 'GateMaterials.db':

GATE/gate_v3.1.1> pwd
/home.mirg/danieljw/GATE/gate_v3.1.1
GATE/gate_v3.1.1> ls
add_to_env_gate.txt  examples              gateSingles.dat  README
benchmarks           G4History.macro       GNUmakefile ReleaseNotes.pdf
bin                  Gate.cc               include          src
Cluster_Tools        gateCoincidences.dat  license          Surfaces.xml
env_gate.csh         gate_make.txt         Materials.xml    tmp
env_gate.csh~        GateMaterials.db      noverbose.mac    work
env_gate.sh          gateRun.dat           prerunGate.mac
GATE/gate_v3.1.1>

Then Gate runs fine. If I try and run Gate anywhere else I get the same
problem as above. Does anyone have any suggestions? I have pasted the
relevant part of my .cshrc file below.

Thanks for the help.

Daniel


#.cshrc file

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

#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}






_______________________________________________
Gate-users mailing list
Gate-users at lists.healthgrid.org
http://lists.healthgrid.org/mailman/listinfo/gate-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070515/450f0865/attachment.htm>


More information about the Gate-users mailing list