<br><font size=2 face="sans-serif">I used to have similar problems like yours, some commands</font>
<br><font size=2 face="sans-serif">look fine but the GATE just cannot recognized them. Late</font>
<br><font size=2 face="sans-serif">I found out the reason. Those macro files have been opened</font>
<br><font size=2 face="sans-serif">and modified under Windows system, so at the end of each</font>
<br><font size=2 face="sans-serif">line there's 0x0D and 0x0A as the '\n', however, in Linux</font>
<br><font size=2 face="sans-serif">or Unix, there's only 0x0A at the end of a line in a text file.</font>
<br><font size=2 face="sans-serif">Because of the extra 0x0D, the GATE cannot read the text</font>
<br><font size=2 face="sans-serif">correctly. </font>
<br>
<br><font size=2 face="sans-serif">However, you said the macro should be working in its original</font>
<br><font size=2 face="sans-serif">state. So, if you never touch the original benchmarkPET macro files, </font>
<br><font size=2 face="sans-serif">then the problem should not be caused by the macro files.</font>
<br><font size=2 face="sans-serif">Maybe you should check the installation to see if everything</font>
<br><font size=2 face="sans-serif">was correctly installed. Can you put all the output message</font>
<br><font size=2 face="sans-serif">during the installation here?</font>
<br>
<br><font size=2 face="sans-serif">Yuxuan</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>John Norton <jnorton@physics.smu.edu></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">07/25/2007 10:17 AM</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] benchmarkPET and examples digitizer command not found</font></table>
<br>
<br>
<br><font size=2><tt><br>
Hello,<br>
<br>
Yes there are 2 instances of sensitive detector decleration. However, the <br>
macro I am talking about is in fact the benchmarkPET that is included with <br>
the Gate distribution (v3.1.1). So I would think the macro should be <br>
working in it's original state.<br>
<br>
Thanks for your help,<br>
<br>
Jack<br>
<br>
<br>
On Wed, 25 Jul 2007, Kerhoas-Cavata Sophie wrote:<br>
<br>
><br>
><br>
> Hello,<br>
> Did you declare one type of volume of your detectors as a sensitive detector with the command<br>
> /gate/volumename/attachCrystalSD?<br>
> Perhpas it's the reason that Gate doesn't recognize the adder.<br>
> hope this help<br>
> bye<br>
> Sophie<br>
><br>
> -----Original Message-----<br>
> From: gate-users-bounces@lists.healthgrid.org on behalf of John Norton<br>
> Sent: Wed 7/25/2007 12:59 PM<br>
> To: gate-users@lists.healthgrid.org<br>
> Subject: [Gate-users] benchmarkPET and examples digitizer command not found<br>
><br>
><br>
> Hello,<br>
><br>
> I have a fresh compile of all gate and supporting tools, and I would like to<br>
> run the benchmarkPET macro(as well as the example macros) but I am having some<br>
> trouble. I am getting the following error: ***** COMMAND NOT FOUND<br>
> </gate/digitizer/Singles/insert adder> *****<br>
><br>
> I have looked through the gate-users list several times, and have found a<br>
> similar occurance, but no resolve was ever posted. Have I missed something?<br>
> Although I am familiar with geant4, I admit I don't use alot of macros, and I<br>
> don't know how to really find the _real_ problem behind this error.<br>
><br>
> I have tried with both Gate_v3.1.1 and Gate_v3.1.0 with no change in error. It<br>
> also seems that all of the commands in '/gate/digitizer/Singles' can't be<br>
> found.<br>
><br>
> My environment is as follows: redhat EL i386 gcc 3.4.6 CLHEP 1.9.3.2 ROOT 5.12<br>
> geant4 8.1<br>
><br>
> important env variables:<br>
><br>
> GATEHOME=$HOME/GATE/gate_v3.1.0 G4ANALYSIS_USE_ROOT=1<br>
> G4ANALYSIS_USE_ROOT_PLOTTER=1 G4VERSION8=1 G4VERSION8_1=1 G4WORKDIR=/tmp/jng4<br>
> G4SYSTEM=Linux-g++ G4VERSION=8.1 G4INSTALL=$HOME/geant/geant4.8.1<br>
> G4LIB=$G4INSTALL/lib G4LEVELGAMMADATA=$G4INSTALL/data/PhotonEvaporation2.0<br>
> G4RADIOACTIVEDATA=$G4INSTALL/data/RadiativeDecay3.0<br>
> G4LEDATA=$G4INSTALL/data/G4EMLOW4.0<br>
> NeutronHPCrossSections=$G4INSTALL/data/G4NDL3.9<br>
> G4ELASTICDATA=$G4INSTALL/data/G4ELESTIC1.1 CLHEP_BASE_DIR=$HOME/CLHEP<br>
> CLHEP_INCLUDE_DIR=$CLHEP_BASE_DIR/include CLHEP_LIB_DIR=$CLHEP_BASE_DIR/lib<br>
> CLHEP_LIB=CLHEP G4VIS_BUILD_RAYTRACER_DRIVER=1 G4VIS_USE_RAYTRACER_DRIVER=1<br>
> G4VIS_BUILD_OPENGLX_DRIVER=1 G4VIS_USE_OPENGLX=1 G4VIS_BUILD_VRML_DRIVER=1<br>
> G4VIS_USE_VRML_DRIVER=1 G4LIB_USE_GRANULAR=1<br>
><br>
> my geant sims run fine, as do the geant4 examples (the ones I tried).<br>
><br>
> I am sorry if this is an obvious question, but I really could not find the<br>
> answer.<br>
><br>
> Thanks in advance,<br>
><br>
> Jack Norton<br>
> _______________________________________________<br>
> Gate-users mailing list<br>
> Gate-users@lists.healthgrid.org<br>
> http://lists.healthgrid.org/mailman/listinfo/gate-users<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>