hi daniel<br>the file GateMaterials.db needs to be in whatever folder you're running GATE from.<br><br>just copy it over whenever it is required. you shouldn't have any problems.<br><br>lucky<br><br><div><span class="gmail_quote">
On 15/05/07, <b class="gmail_sendername"><a href="mailto:danieljw@phas.ubc.ca">danieljw@phas.ubc.ca</a></b> <<a href="mailto:danieljw@phas.ubc.ca">danieljw@phas.ubc.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I have installed GATE and run the introductory tutorial and everything<br>seems fine. The problem is I have been trying to set up Gate so that it<br>is properly configured every time I login. For example if I try to run
<br>Gate in my home directory I get:<br><br>/home.mirg/danieljw> pwd<br>/home.mirg/danieljw<br>/home.mirg/danieljw> Gate<br><br>*************************************************************<br> Geant4 version Name: geant4-08-01-patch-02 (10-November-2006)
<br> Copyright : Geant4 Collaboration<br> Reference : NIM A 506 (2003), 250-303<br> WWW : <a href="http://cern.ch/geant4">http://cern.ch/geant4</a><br>*************************************************************
<br><br><br>GateMDBFile::GateMDBFile:<br> Could not open material database file 'GateMaterials.db'.<br> Computation aborted.<br><br><br>*** G4Exception: Aborting execution ***<br>Abort<br>/home.mirg/danieljw>
<br><br>If I cd to /home.mirg/danieljw/GATE/gate_v3.1.1 which contains all of the<br>Gate files including 'GateMaterials.db':<br><br>GATE/gate_v3.1.1> pwd<br>/home.mirg/danieljw/GATE/gate_v3.1.1<br>GATE/gate_v3.1.1> ls
<br>add_to_env_gate.txt examples gateSingles.dat README<br>benchmarks G4History.macro GNUmakefile ReleaseNotes.pdf<br>bin Gate.cc include src<br>
Cluster_Tools gateCoincidences.dat license Surfaces.xml<br>env_gate.csh gate_make.txt Materials.xml tmp<br>env_gate.csh~ GateMaterials.db noverbose.mac work<br>env_gate.sh
gateRun.dat prerunGate.mac<br>GATE/gate_v3.1.1><br><br>Then Gate runs fine. If I try and run Gate anywhere else I get the same<br>problem as above. Does anyone have any suggestions? I have pasted the<br>relevant part of my .cshrc file below.
<br><br>Thanks for the help.<br><br>Daniel<br><br><br>#.cshrc file<br><br>#PATH<br>setenv PATH<br>/home.mirg/danieljw/ROOT/root/bin:/home.mirg/danieljw/GATE/gate_v3.1.1/bin/Linux-g++:${PATH}<br><br>#CLHEP link for GATE<br>
setenv LD_LIBRARY_PATH /home.mirg/danieljw/CLHEP/lib<br><br><br>#FOR ROOT<br>setenv ROOTSYS /home.mirg/danieljw/ROOT/root<br>setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:${LD_LIBRARY_PATH}<br><br><br><br><br><br><br>_______________________________________________
<br>Gate-users mailing list<br><a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br><a href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users
</a><br></blockquote></div><br>