[gate-users] Gate_V1.0 installation

Calvat Pascal pcalvat at cc.in2p3.fr
Thu May 13 14:33:48 CEST 2004


Hi Corinne,

we have several version of gcc 2.95.2, 2.95.3, 3.0.4, 3.1, 3.2, 3.2.3, 3.3 ggc-alt-3.2 (version speciale du cern)


egsc (2.92.66) is six years old. 

Normally,in the README file, the required version of gcc is 3.2 to compile gate. I don't understand why it doesn't work with gcc 3.2 on redhat 7.2.

Thank you for your help

Cheers

Pascal Calvat (CC-IN2P3)




  -----Message d'origine-----
  De : Groiselle, Corinne [mailto:gate-users-bounces at lphe1pet1.epfl.ch]De la part de Groiselle, Corinne
  Envoyé : jeudi 13 mai 2004 13:47
  À : GATE feedback and helpline for Users
  Objet : RE: [gate-users] Gate_V1.0 installation


  Hi,
  For info, I have never been able to have GATE running with RH 7.2 and gcc. I used egcs instead and the problem was solved!
  Corinne
    -----Original Message----- 
    From: gate-users-bounces at lphe1pet1.epfl.ch on behalf of Calvat Pascal 
    Sent: Thu 5/13/2004 7:40 AM 
    To: GATE feedback and helpline for Users 
    Cc: 
    Subject: RE: [gate-users] Gate_V1.0 installation


    Hi Sebastien,

    1) I use the following compiler : gcc version 2.95.3 20010315 (release)

    Geant has been compiled with this compiler.

    2) Result of source env_gate:

    The current value of G4INSTALL is: /usr/local/geant4/geant4.5.2.ref02
    The current value of G4VERSION is: 5.2

    Launching Geant4 configuration script /usr/local/geant4/geant4.5.2.ref02/env.csh

    On this machine the G4SYSTEM=Linux-g++
    On this machine the G4INSTALL=/usr/local/geant4/geant4.5.2.ref02
    On this machine the G4INCLUDE=/usr/local/geant4/geant4.5.2.ref02/include
    On this machine the G4LIB=/usr/local/geant4/geant4.5.2.ref02/lib
    On this machine the G4LEVELGAMMADATA=/usr/local/geant4/geant4.5.2.ref02/data/PhotonEvaporation
    On this machine the G4RADIOACTIVEDATA=/usr/local/geant4/geant4.5.2.ref02/data/RadiativeDecay
    On this machine the G4LEDATA=/usr/local/geant4/geant4.5.2.ref02/../G4EMLOW1.1
    On this machine the NeutronHPCrossSections=/usr/local/geant4/geant4.5.2.ref02/../G4NDL3.7
    On this machine the CLHEP_BASE_DIR=/usr/local/lhcxx/CLHEP/1.8.0.0
    On this machine the CLHEP_INCLUDE_DIR=/usr/local/lhcxx/CLHEP/1.8.0.0/include
    On this machine the CLHEP_LIB_DIR=/usr/local/lhcxx/CLHEP/1.8.0.0/lib
    On this machine the CLHEP_LIB_DIR has been added to LD_LIBRARY_PATH
    On this machine the CLHEP_LIB=CLHEP
    On this machine the G4ANALYSIS_USE=1
    On this machine the G4UI_BUILD_XM_SESSION=1
    On this machine the G4UI_USE_XM=1
    On this machine the G4VIS_BUILD_DAWN_DRIVER=1
    On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
    On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=1
    On this machine the G4VIS_USE_DAWN=1
    On this machine the G4VIS_USE_OPENGLX=1
    On this machine the G4VIS_USE_OPENGLXM=1
    On this machine the OGLHOME=/usr
    On this machine the G4LIB_BUILD_G3TOG4=1
    On this machine the G4USE_G3TOG4=1
    On this machine the G4LIB_USE_GRANULAR=1
    G4WORKDIR will be set to HOME=/afs/in2p3.fr/home/c/calvat.

    Configuring GATE options

    G4WORKDIR set to .
    G4TMP set to ./tmp
    G4BIN set to ./bin
    Data analysis and output features enabled
    Ascii data output enabled
    Checking your LD_LIBRARY_PATH variable...
     ==> OK: /usr/local/root/root_v3.10.02.gcc2.95.2/root/lib added to your LD_LIBRARY_PATH
    Use of ROOT enabled
    ROOT real-time plotter disabled
    LMF data output disabled
    ECAT7 data output disabled
    WARNING: variable GATEHOME is not set
             it will be assumed to be the current directory
             ==>  /afs/.in2p3.fr/system/@sys/usr/local/gate
    Checking your path variable...
     ==> OK: /afs/.in2p3.fr/system/@sys/usr/local/gate/bin/Linux-g++ added to your path variable
    G4VERSION4 is not set: GATE will use the code compatible with Geant4 version >= 5.0 
    G4VERSION5_1 is set: GATE will use the run manager compatible with the Geant4 version >= 5.1
    G4VERSION5_2 is set: GATE is compatible with the Geant4 version = 5.2


    Cheers

    Pascal Calvat
      -----Message d'origine-----
      De : gate-users-bounces at lphe1pet1.epfl.ch [mailto:gate-users-bounces at lphe1pet1.epfl.ch]De la part de Sebastien Jan
      Envoyé : jeudi 13 mai 2004 12:35
      À : GATE feedback and helpline for Users
      Objet : Re: [gate-users] Gate_V1.0 installation


      Hi Pascal, 
      What is your compiler ? 

      RH 7.2 et G4.5.2 are not defined in the recommanded set up, but normaly GATE works also with the following version : 

      RH 7.2 
      G4.5.2-p01 
      compiler : egsc 2.91.66 

      Cheers 
      seb 

        Hi, 
        I'm trying to install Gate on the CC-IN2P3 cluster with redhat 7.2 and 
        geant4 (version 5.2ref02) 
        When I run the command "make", I obtain the following message : 

        Compiling GateAnalysis.cc ... 
        In file included from src/GateAnalysis.cc:85: 
        include/GateTrajectoryNavigator.hh:57: syntax error before `::' token 
        include/GateTrajectoryNavigator.hh:69: ISO C++ forbids declaration of 
        `G4std' 
           with no type 
        include/GateTrajectoryNavigator.hh:69: `G4std' declared as an `inline' field 
        include/GateTrajectoryNavigator.hh:69: parse error before `::' token 
        include/GateTrajectoryNavigator.hh: In member function 
        `G4TrajectoryContainer* 
           GateTrajectoryNavigator::GetTrajectoryContainer()': 
        include/GateTrajectoryNavigator.hh:67: `m_trajectoryContainer' undeclared 
           (first use this function) 
        include/GateTrajectoryNavigator.hh:67: (Each undeclared identifier is 
        reported 
           only once for each function it appears in.) 
        include/GateTrajectoryNavigator.hh: In function `G4int 
        GetPositronTrackID()': 
        include/GateTrajectoryNavigator.hh:71: `m_positronTrackID' undeclared (first 
           use this function) 
        include/GateTrajectoryNavigator.hh: In function `void SetVerboseLevel(int)': 
        include/GateTrajectoryNavigator.hh:75: `m_verboseLevel' undeclared (first 
        use 
           this function) 
        include/GateTrajectoryNavigator.hh: At global scope: 
        include/GateTrajectoryNavigator.hh:77: parse error before `protected' 
        include/GateTrajectoryNavigator.hh:82: syntax error before `::' token 
        include/GateTrajectoryNavigator.hh:83: `G4int m_positronTrackID' used prior 
        to 
           declaration 
        include/GateTrajectoryNavigator.hh:87: `G4int m_verboseLevel' used prior to 
           declaration 
        include/GateTrajectoryNavigator.hh:88: parse error before `}' token 
        In file included from include/GateVolumeID.hh:72, 
                         from include/GateCrystalHit.hh:66, 
                         from src/GateAnalysis.cc:92: 
        include/GateVObjectInserter.hh:149: syntax error before `::' token 
        include/GateVObjectInserter.hh: In member function `virtual G4int 
           GateVObjectInserter::GetVolumeNumber() const': 
        include/GateVObjectInserter.hh:119: `m_own_phys_vector' undeclared (first 
        use 
           this function) 
        In file included from include/GateCrystalHit.hh:66, 

        Thank you for your help. 

        _________________________________________ 
        Pascal CALVAT 

        Centre de Calcul IN2P3/CNRS - Lyon (FRANCE) 

        http://cc.in2p3.fr 

        Tel. +33 4.72.69.41.76 | Fax. +33 4.72.69.41.70 | 

        _______________________________________________ 
        gate-users mailing list 
        gate-users at lphe1pet1.epfl.ch 
        http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users

-- 
Sebastien JAN - CEA DSV/DRM/SHFJ    
4 pl. Général Leclerc           Tel (33) 01 69 86 78 21
91406 Orsay France              Fax (33) 01 69 86 77 49
--  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20040513/b8dbc816/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1132 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20040513/b8dbc816/attachment.bin>


More information about the Gate-users mailing list