[Gate-users] GATE INSTALLATION on Fedora 15 Linux

Dr.Dimitrios Nikolopoulos dniko at teipir.gr
Sat Mar 3 00:24:12 CET 2012


Dear all.

I 've trying for the last 8 hours to install GATE, unfortunately, with 
no success. I am working on two laptops with Fedora 15.

I have followed all the new instructions. More specifically:

1.Installed all the Package requirements
---------------------------------------------------


2.Installed
---------------------------------------------------
     Clhep from                                        
www.cern.ch/clhep              VER 2.1.0.1
     Root from                                         root.cern.ch    
                      VER 5.32
     Geant4 and all data files from           www.cern.ch/geant4        
      VER 4.9.4. patch 03 (I have not found patch 01)
     Ecat7 from                                       
http://www.opengatecollaboration.org/



3.For GATE i followed the ERRATA in GATE v.6.1 
http://wiki.opengatecollaboration.org/index.php/ERRATA_in_GATEv6.1_sources
---------------------------------------------------
a.GATEfastAnalysis
==================
I located the file
/source/digits_hits/src/GateFastAnalysis.cc

In the file GateFastAnalysis.cc, change line 105 from
(*CHC)[iHit]->SetSourcePosition(-1);
to
(*CHC)[iHit]->SetSourcePosition(G4ThreeVector(-1,-1,-1));

b.env_gate.sh
=============
inside GATE directory...

b1. After the first comment block I added

export GATEHOME=/home/Dimitrios/opt/simulation(GATE)/gate6_1
export G4INSTALL=/home/Dimitrios/opt/simulation(GATE)geant4_9_4_p03 <=== 
I HAD THE THIRD PATCH!!!!!!!!!
export G4VERSION=9.4
export ROOTSYS=/home/Dimitrios/opt/simulation(GATE)/root_5_28
export ECAT7_HOME=/home/Dimitrios/opt/simulation(GATE)/ecat7
export LMF_HOME=/home/Dimitrios/opt/simulation(GATE)/lmf_3_0
  (This informed GATE of the location of the corresponding software 
packages)

/home/Dimitrios/opt/simulation(GATE)/ is the installation directory

b3.Above the lines

export G4ANALYSIS_USE_GENERAL=1
export G4_USE_G4BESTUNIT_FOR_VERBOSE=1

I added

export 
LD_LIBRARY_PATH=$ROOTSYS/lib:$ROOTSYS/lib/root:/home/Dimitrios/opt/simulation(GATE)/CLHEP_2_1_0_1/lib
export PATH=$PATH:$ROOTSYS/bin:$GATEHOME/bin/$G4SYSTEM
export 
DYLD_LIBRARY_PATH=$ROOTSYS/lib:/home/Dimitrios/opt/simulation(GATE)/CLHEP_2_1_0_1/lib

In order to activate GATE support for optical transport, I edited lines 
135ff
#unset GATE_USE_OPTICAL
export GATE_USE_OPTICAL=1

I changed G4WORKDIR to /home/Dimitrios/simulation (GATE)

b4.GNUmakefile
I changed multiple files,

gate6_1/source/arf/GNUmakefile
gate6_1/source/digits_hits/GNUmakefile
gate6_1/source/general/GNUmakefile
gate6_1/source/geometry/GNUmakefile
gate6_1/source/physics/GNUmakefile

In all of these change line 8-10 from

if $(G4WORKDIR)=='.'
    G4WORKDIR=../..
endif

towards

ifeq ($(G4WORKDIR),'.')
G4WORKDIR=../..
endif


b5.Then wrote in terminal source env_gate.sh

b6.Then
=================================
I CHANGED ALL GNUMAKE FILES
Here all included
otherwise it searched for info to nowhere!!!!!
================================================

b7. Finally I wrote make
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       Q  U  E  S  T  I  O  N

GATE config-script produced the object files, but failed to produce the 
libGATE.so and the
executables

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


CAN ANYBODY PROVIDE ANY HELP?????


Thank you in advance

-- 
Dr.Dimitrios Nikolopoulos
Environmental-Medical Physics
_________________________________________________________
Department of Physics, Chemistry and Material Science,
Technological Educational Institution (TEI) of Piraeus,
Petrou Ralli&Thivon 250, 122 44,Aigaleo,Athens, Greece

e-mail   : dniko at teipir.gr
            NikolopoulosDimitrios at gmail.com

Mobile   : +0030-6977-208318
Home     : +0030-210-9859051
Tel (TEI): +0030-210-5381229
Fax (TEI): +0030-210-5381161

Skype    : dr.dimitrios.nikolopoulos
_________________________________________________________



More information about the Gate-users mailing list