[Gate-users] benchmarkPET and examples digitizer command not found

John Norton jnorton at physics.smu.edu
Wed Jul 25 17:55:10 CEST 2007


During compilation I wrote all of stdout to a log file.  I monitored the 
build, so as to catch messages written to stderr.  The only ones where 
normal messages from `ar' not even build warnings or errors.  The log file 
is basically just the usual:
Makeing Dependecy file for <somefile> ... repeat
Compiling <somefile> ... repeat
creating <somepath>/libGate.a
linking gate
done!

thats about it.  I will try building again to see if I missed anything 
(this time redirecting stdout and stderr to the log file) but I am 
doubtfull.

Thanks,

Jack

On Wed, 25 Jul 2007, yuxuan.zhang at di.mdacc.tmc.edu wrote:

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



More information about the Gate-users mailing list