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