[Gate-users] GATE installation

Lakshal Perera lp20 at uow.edu.au
Tue May 15 03:55:29 CEST 2007


hi daniel
the file GateMaterials.db needs to be in whatever folder you're running GATE
from.

just copy it over whenever it is required. you shouldn't have any problems.

lucky

On 15/05/07, danieljw at phas.ubc.ca <danieljw at phas.ubc.ca> wrote:
>
> 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/d01de2d9/attachment.htm>


More information about the Gate-users mailing list