<br><font size=2 face="sans-serif">you need to set the environment $GATEHOME in your </font><font size=2><tt>.cshrc</tt></font><font size=2 face="sans-serif"> file.</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>danieljw@phas.ubc.ca</b></font>
<br><font size=1 face="sans-serif">Sent by: gate-users-bounces@lists.healthgrid.org</font>
<p><font size=1 face="sans-serif">05/14/2007 07:04 PM</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: gate-users@lists.healthgrid.org</font>
<br><font size=1 face="sans-serif"> cc: </font>
<br><font size=1 face="sans-serif"> Subject: Re: [Gate-users] GATE installation</font></table>
<br>
<br>
<br><font size=2><tt>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 : http://cern.ch/geant4<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>
Gate-users@lists.healthgrid.org<br>
http://lists.healthgrid.org/mailman/listinfo/gate-users<br>
</tt></font>
<br>
<br>