[gate-users] successful compile under Cygwin

M A Lewis, Ph.D. Matthew.Lewis at utsouthwestern.edu
Fri May 14 23:58:56 CEST 2004



In case anyone is wondering, I was successful in compiling  Gate.exe 
under Cygwin/Windows XP Pro/Geant4 5.1p2.  I have no idea if it works 
properly since I am new to Geant also and am learning how to analyze 
outputs. But in summary, here are the issues that I needed to address:
1) remove SIGQUIT code -> doesn't exist under Windows
2) casts to (double) for some troublesome fabs() calls
3) "fstream.h" -> <fstream> in readers
4) hard code LITTLEENDIAN in Interfile writer
5) rint(x) ->  x - floor(x) < 0.5 ? floor (x) : ceil(x)
6) remove G4UItsch code..... just use session = new GateUIterminal;
I am running benchmarkPet.mac right now.
These COMMAND NOT FOUND warnings don't look good, but simulation is 
doing something....

salut
m a lewis
ut southwestern medical center at dallas

output
------

mlewis at casey ~/GATE/gate_v1.0/benchmarks/benchmarkPET
$ ~/geant4/bin/WIN32-VC7/Gate benchmarkPET.mac
**********************************************
  Geant4 version $Name: geant4-05-01-patch-01 $
                                 (19-May-2003)
              Copyright : Geant4 Collaboration
**********************************************
Time set to (s) 0
[GateSystemListManager::CheckScannerAutoCreation:
         Creating new system based on volume inserter 'cylindricalPET'
***** COMMAND NOT FOUND </gate/digitizer/Singles/insert adder> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/digitizer/Singles/insert readout> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/digitizer/Singles/readout/setDepth 1> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/digitizer/Singles/insert blurring> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/digitizer/Singles/blurring/setResolution 
0.26> **
***
***** Command ignored *****
***** COMMAND NOT FOUND 
</gate/digitizer/Singles/blurring/setEnergyOfReference 5
11. keV> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/digitizer/Singles/insert thresholder> *****
***** Command ignored *****
***** COMMAND NOT FOUND 
</gate/digitizer/Singles/thresholder/setThreshold 350. k
eV> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/digitizer/Singles/insert upholder> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/digitizer/Singles/upholder/setUphold 650. 
keV> **
***
***** Command ignored *****

GATE object:        'systems/cylindricalPET'
Components:

GATE object:        'systems/cylindricalPET/base'
Attached to volume: cylindricalPET
Nb of children:       1

         GATE object:        'systems/cylindricalPET/rsector'
         Attached to volume: head
         Nb of children:       1

                 GATE object:        'systems/cylindricalPET/module'
                 Attached to volume: module
                 Nb of children:       1

                         GATE object: 
'systems/cylindricalPET/submodule'
                         Attached to volume: block
                         Nb of children:       1

                                 GATE object: 
'systems/cylindricalPET/crys
tal'
                                 Attached to volume: crystal
                                 Nb of children:       4

                                         GATE object: 
'systems/cylindrical
PET/layer0'
                                         Attached to volume: LSO
                                         Nb of children:       0

                                         GATE object: 
'systems/cylindrical
PET/layer1'
                                         Attached to volume: BGO
                                         Nb of children:       0

                                         GATE object: 
'systems/cylindrical
PET/layer2'
                                         Attached to volume: ---
                                         Nb of children:       0

                                         GATE object: 
'systems/cylindrical
PET/layer3'
                                         Attached to volume: ---
                                         Nb of children:       0
geometrical design type: 1
ring diameter: 86.5 cm
rsector axial pitch: 0 fm
rsector azimuthal pitch: 51.4286 degree
rsector tangential size: 32 cm
rsector axial size: 40.2 cm
module axial size: 10 cm
module tangential size: 8 cm
module axial pitch: 10 cm
module tangential pitch: 8 cm
submodule axial size: 1.99 cm
submodule tangential size: 1.59 cm
submodule axial pitch: 2 cm
submodule tangential pitch: 1.6 cm
crystal radial size: 3 cm
crystal axial size: 3.8 mm
crystal tangential size: 3 mm
crystal axial pitch: 4 mm
crystal tangential pitch: 3.2 mm
layer0 radial size: 1.5 cm
in layer0 interaction length: 7.5 mm
layer1 radial size: 1.5 cm
in layer1 interaction length: 7.5 mm
Axial nb of rsectors: 1
Azimuthal nb of rsectors: 8
Axial nb of modules: 4
Tangential nb of modules: 4
Axial nb of submodules: 5
Tangential nb of submodules: 5
Axial nb of crystals: 5
Tangential nb of crystals: 5
Radial nb of layers: 2

phot:  Total cross sections from Sandia parametrisation.
WARNING !
  SetCutValueForOthers became obsolete.
  It is harmless to remove this invokation without any side effects.
  This dummy method implementation will be removed soon.
  Ignoring confine condition
  Ignoring confine condition
GateSourceMgr::ListSources: List of the sources in the source managaer
Source --------------> F18LineSource
   ID                 : 0
   type               :
   activity (Bq)      : 100000
   startTime (s)      : 0
   time (s)           : 0
   forcedUnstable     : 1
   forcedHalfLife (s) : 6586.2
   verboseLevel       : 0
----------------------

Source --------------> O15LineSource
   ID                 : 1
   type               :
   activity (Bq)      : 100000
   startTime (s)      : 0
   time (s)           : 0
   forcedUnstable     : 1
   forcedHalfLife (s) : 122.24
   verboseLevel       : 0
----------------------

***** COMMAND NOT FOUND </gate/output/lmf1/disable> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/ascii/setOutFileHitsFlag 0> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/ascii/setOutFileSinglesFlag 0> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/ascii/setOutFileCoincidencesFlag 
0> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/root/setFileName benchmarkPET> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/root/setRootHitFlag 0> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/root/setRootSinglesFlag 0> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/root/setRootCoincidencesFlag 1> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/root/setRootNtupleFlag 0> *****
***** Command ignored *****
***** COMMAND NOT FOUND </gate/output/root/setSaveRndmFlag 0> *****
***** Command ignored *****
Time set to (s) 0

compt:  Total cross sections from a parametrisation. Good description 
from 10 Ke
V to (100/Z) GeV.
        Scattered gamma energy according Klein-Nishina.
         PhysicsTables from 1 keV to 100 GeV in 80 bins.

eBrem:  Total cross sections from a NEW parametrisation based on the 
EEDL data l
ibrary.
  Good description from 1 KeV to 100 GeV.
         log scale extrapolation above 100 GeV
         Gamma energy sampled from a parametrised formula.
         PhysicsTables from 1 keV to 100 TeV in 100 bins.

eIoni:  delta cross sections from Moller+Bhabha. Good description from 1 
KeV to
100 GeV.
         delta ray energy sampled from  differential Xsection.
         PhysicsTables from 1 keV to 100 TeV in 100 bins.
         Step function: finalRange(mm)= 1,  dRoverRange= 0.2

msc:   Tables of transport mean free paths.
           New model of MSC , computes the lateral
           displacement of the particle , too.
         PhysicsTables from 100 eV  to 100 TeV in 100 bins.

annihil:  Total cross section from Heilter formula(annihilation into 2 
photons).

         gamma energies sampled according Heitler
         PhysicsTables from 10 keV to 10 TeV in 100 bins.

annihil:  Total cross section from Heilter formula(annihilation into 2 
photons).

         gamma energies sampled according Heitler
         PhysicsTables from 10 keV to 10 TeV in 100 bins.

hIoni:    Knock-on electron cross sections .
          Good description above the mean excitation energy.
          delta ray energy sampled from  differential Xsection.
         PhysicsTables from 1 keV to 100 TeV in 100 bins.
         Step function: finalRange(mm)= 1,  dRoverRange= 0.2

msc:   Tables of transport mean free paths.
           New model of MSC , computes the lateral
           displacement of the particle , too.
         PhysicsTables from 100 eV  to 100 TeV in 100 bins.

========= Table of registered couples ==============================

Index : 0     used in the geometry : Yes     recalculation needed : No
  Material : Air
  Range cuts        :  gamma 1 mm     e- 30 cm     e+ 1 mm
  Energy thresholds :  gamma 990 eV     e- 174.223 keV    e+ 990 eV
  Region(s) which use this couple :
     DefaultRegionForTheWorld

Index : 1     used in the geometry : Yes     recalculation needed : No
  Material : Lead
  Range cuts        :  gamma 1 mm     e- 30 cm     e+ 1 mm
  Energy thresholds :  gamma 100.909 keV    e- 24.8311 GeV    e+ 1.28002 MeV
  Region(s) which use this couple :
     DefaultRegionForTheWorld

Index : 2     used in the geometry : Yes     recalculation needed : No
  Material : Tungsten
  Range cuts        :  gamma 1 mm     e- 30 cm     e+ 1 mm
  Energy thresholds :  gamma 105.401 keV    e- 2.08778 TeV    e+ 2.14666 MeV
  Region(s) which use this couple :
     DefaultRegionForTheWorld

Index : 3     used in the geometry : Yes     recalculation needed : No
  Material : LSO
  Range cuts        :  gamma 1 mm     e- 30 cm     e+ 1 mm
  Energy thresholds :  gamma 70.1042 keV    e- 1.91846 GeV    e+ 1.02561 MeV
  Region(s) which use this couple :
     DefaultRegionForTheWorld

Index : 4     used in the geometry : Yes     recalculation needed : No
  Material : BGO
  Range cuts        :  gamma 1 mm     e- 30 cm     e+ 1 mm
  Energy thresholds :  gamma 78.3228 keV    e- 1.82628 GeV    e+ 976.329 keV
  Region(s) which use this couple :
     DefaultRegionForTheWorld

Index : 5     used in the geometry : Yes     recalculation needed : No
  Material : Water
  Range cuts        :  gamma 1 mm     e- 30 cm     e+ 1 mm
  Energy thresholds :  gamma 2.90186 keV    e- 78.1448 MeV    e+ 338.695 keV
  Region(s) which use this couple :
     DefaultRegionForTheWorld

====================================================================




More information about the Gate-users mailing list