[gate-users] Re: [gate-devel] Big problems to compile GATE public code - Lydia'spost

Sebastien Jan jan at shfj.cea.fr
Mon May 17 15:24:36 CEST 2004


ok, very nice Guillaume !

Thank you

So, finally the GATE public release is probably not a very bad version......

Keep cool Gaters !

Cheers

Seb


> Hi Gaters,
>
> Gate public code compile very well on CC-in2p3.
> You must use ggc-2.95.3 by setting :
> setenv GCC2 /usr/local/gcc/2.95.3
> setenv PATH ${GCC2}/bin:${PATH}
> setenv LD_LIBRARY_PATH
> ${GCC2}/lib':'${GCC2}/lib/gcc-lib/i686-pc-linux-gnu/2.95.3':'${LD_LIBRARY_PATH}
>
> then check gcc version with gcc -version
>
> The GATE  compilation problem resides in the fact that geant4.5.2.ref02
> has been compiled with gcc2.95.2 or 2.96.
> To avoid this problem we have localy compiled geant4 with gcc2.95.3.
> Another solution, perhaps more stable, is to make the demand at CC in2p3
> to install geant4.5.2.ref02 with gcc2.95.3.
>
> Cheers, Guillaume.
>
> Jean-Marc Vieira a écrit :
>
> > Post from Lydia
> >
> >>
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >> Subject:
> >> Big problems to compile GATE public code
> >> From:
> >> "Lydia Maigne" <maigne at clermont.in2p3.fr>
> >> Date:
> >> Fri, 14 May 2004 15:32:17 +0200
> >> To:
> >> "gate-devel at iphepet1.unil.ch" <gate-devel at lphe1pet1.epfl.ch>
> >>
> >>
> >> Hi everybody,
> >>
> >> Now that the Gate release is done, users encounter big problems to
> >> compile the new code (far more problems than with the previous
> >> version use by Gaters)
> >> I have been contacted by the Centre de Calcul de Lyon to help them to
> >> compile GATE.
> >> They use redhat 7.2 and gcc2.96 by default, we finally compile since
> >> the file GateOpticalPhysics.cc and then the compilation crash with:
> >>
> >> Compiling GateOpticalPhysics.cc ...
> >> src/GateOpticalPhysics.cc: In method `void
> >> GateOpticalPhysics::ConstructOp()':
> >> src/GateOpticalPhysics.cc:84: no matching function for call to
> >> `G4Scintillation::SetScintillationYield (const double)'
> >> src/GateOpticalPhysics.cc:85: no matching function for call to
> >> `G4Scintillation::SetResolutionScale (const double)'
> >> src/GateOpticalPhysics.cc:86: no matching function for call to
> >> `G4Scintillation::SetScintillationTime (const double)'
> >> src/GateOpticalPhysics.cc:93: no matching function for call to
> >> `G4Scintillation::SetScintillationYield (const double)'
> >> src/GateOpticalPhysics.cc:94: no matching function for call to
> >> `G4Scintillation::SetResolutionScale (const double)'
> >> src/GateOpticalPhysics.cc:95: no matching function for call to
> >> `G4Scintillation::SetScintillationTime (const double)'
> >> src/GateOpticalPhysics.cc:102: no matching function for call to
> >> `G4Scintillation::SetScintillationYield (const double)'
> >> src/GateOpticalPhysics.cc:103: no matching function for call to
> >> `G4Scintillation::SetResolutionScale (const double)'
> >> src/GateOpticalPhysics.cc:104: no matching function for call to
> >> `G4Scintillation::SetScintillationTime (const double)'
> >> gmake: ***
> >> [/home/biome/gate_release/tmp/Linux-g++/Gate/GateOpticalPhysics.o]
> >> Error 1
> >>
> >> I obtained exactly the same error message on redhat6.2 and gcc 2.95.3
> >> (versions that I use for compiling the previous Gate versions).
> >>
> >> If we want that the code be used by a large community of user, we
> >> have to make the code NOT dependant of the OS or the compiler
> >> version!!!!!!
> >> Perhaps provide to the users precompiled version on different OS and
> >> compiler.
> >> We tried with other compiler version at CCIN2P3 gcc3.2, gcc3.3,
> >> gcc2.95.3, etc.... but it is worse, nothing works better than gcc2.96.
> >> The system administrators are a little bit astonished that GATE is so
> >> dependant of the compiler and OS version.
> >> Is there anybody that can help us and all the future Gate users
> >> community?
> >>
> >> Thanks a lot,
> >> Lydia.
> >>
> >>
> >> ***********************************************************************
> >> Lydia MAIGNE
> >> Laboratoire de Physique Corpusculaire, équipe PCSV
> >> 24, avenue des Landais
> >> 63177 Aubière cedex
> >> FRANCE
> >>
> >> Tel : 04 73 40 78 49 (direct)
> >> Fax: 04 73 26 45 98
> >>
> >> ***********************************************************************
> >
> >
> >
> > _______________________________________________
> > gate-devel mailing list
> > gate-devel at lphe1pet1.epfl.ch
> > http://lphe1pet1.epfl.ch/mailman/listinfo/gate-devel
> >
> >
>
> --
> Guillaume LARGERON
>
> Tel: (+33) 4 72 44 79 77
> FAX: (+33) 4 72 43 12 43
> Web: http://etoile.univ-lyon1.fr
>
> IPNL (Groupe Hadronthérapie)
> Bâtiment Van De Graaff
> Université Claude Bernard Lyon-1
> Domaine scientifique de la Doua
> 18, Bd Niels Bohr
> 69622 Villeurbanne cedex, France
>
> _______________________________________________
> gate-devel mailing list
> gate-devel at lphe1pet1.epfl.ch
> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-devel

--
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/20040517/04c7ff5a/attachment.htm>


More information about the Gate-users mailing list