[Gate-users] Building Geant4.10.02.p01 for Gate 7.2
David Boersma
david.boersma at physics.uu.se
Tue Apr 5 16:36:52 CEST 2016
Hi Lukas,
Could you tell us on what kind of system you are compiling?
Which OS, which release, and most importantly (I think): which compiler
version?
Also: this is not a Gate issue, but a geant4 issue, so in principle,
strictly speaking, you should post this question on a geant4 mailing
list. But it's quite possible that you are not the only Gate user who
runs into this. So let's see how far we can help you.
FWIW: I was able to compile gate 7.2 with geant4 10.2.p01 on a
Scientific Linux 6.7 machine, not using the standard gcc but gcc version
5.3.0. I did not need to do anything special for CLHEP, it worked out of
the box. Maybe gcc 5.3.0 is overkill, but if your compiler is older than
(say) 4.8 then that would be the first thing I'd try to change.
HTH,
David
Den 05/04/2016 kl. 13:58, skrev Lukas Curakovic:
> Hello,
>
> I am currently encountering a problem while parallel building Geant4:
>
> make -j4
> [ 0%] Built target G4ABLA
> [ 0%] Built target G4EMLOW
> [ 0%] Built target G4ENSDFSTATE
> [ 0%] Built target G4NDL
> [ 1%] Built target G4NEUTRONXS
> [ 1%] Built target G4PII
> [ 2%] Built target G4SAIDDATA
> [ 2%] Built target PhotonEvaporation
> [ 2%] Built target RadioactiveDecay
> [ 2%] Built target RealSurface
> [ 3%] Built target G4zlib
> [ 4%] Built target G4gl2ps
> [ 5%] Built target G4global
> [ 6%] Built target G4intercoms
> [ 6%] Built target G4materials
> [ 7%] Built target G4graphics_reps
> [ 8%] Built target G4interfaces
> [ 10%] Built target G4analysis
> [ 17%] Built target G4geometry
> [ 23%] Built target G4particles
> [ 24%] Built target G4track
> [ 27%] Built target G4digits_hits
> [ 27%] Building CXX object
> source/processes/CMakeFiles/G4processes.dir/electromagnetic/dna/processes/src/G4DNABrownianTransportation.cc.o
> [ 27%] Building CXX object
> source/processes/CMakeFiles/G4processes.dir/electromagnetic/dna/processes/src/G4DNAMolecularDissociation.cc.o
> [ 27%] Building CXX object
> source/processes/CMakeFiles/G4processes.dir/electromagnetic/dna/processes/src/G4DNAPositronium.cc.o
> [ 27%] Building CXX object
> source/processes/CMakeFiles/G4processes.dir/electromagnetic/dna/processes/src/G4DNARotExcitation.cc.o
> In file included from
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/management/include/G4ITNavigator.hh:54:0,
> from
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/management/include/G4ITTransportationManager.hh:56,
> from
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/processes/src/G4DNAMolecularDissociation.cc:44:
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/management/include/G4ITNavigator2.hh:602:1:
> error: 'G4ITNavigator::G4NavigatorState::G4NavigatorState' names constructor
> In file included from
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/management/include/G4ITNavigator.hh:54:0,
> from
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/processes/src/G4DNABrownianTransportation.cc:58:
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/management/include/G4ITNavigator2.hh:602:1:
> error: 'G4ITNavigator::G4NavigatorState::G4NavigatorState' names constructor
> In file included from
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/processes/src/G4DNABrownianTransportation.cc:59:0:
> /localdata1/geant4.10.02.p01/source/processes/electromagnetic/dna/management/include/G4ITSafetyHelper.hh:145:1:
> error: 'G4ITSafetyHelper::State::State' names constructor
> [ 27%] Building CXX object
> source/processes/CMakeFiles/G4processes.dir/electromagnetic/dna/processes/src/G4DNAWaterDissociationDisplacer.cc.o
> [ 27%] Building CXX object
> source/processes/CMakeFiles/G4processes.dir/electromagnetic/dna/processes/src/G4DNASecondOrderReaction.cc.o
> make[2]: ***
> [source/processes/CMakeFiles/G4processes.dir/electromagnetic/dna/processes/src/G4DNAMolecularDissociation.cc.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: ***
> [source/processes/CMakeFiles/G4processes.dir/electromagnetic/dna/processes/src/G4DNABrownianTransportation.cc.o]
> Error 1
> make[1]: *** [source/processes/CMakeFiles/G4processes.dir/all] Error 2
> make: *** [all] Error 2
>
> unfortunately I am unable to get the right information out of this
> message. It is very likely, that the problem has something to do with
> CLHEP, as I was forced to install the required version instead of using
> the one coming with Geant4, in order to solve another issue while
> building G4processes. If anyone has encountered such a problem before or
> has an idea on how to fix this, please let me know.
>
> Thanks in advance
> Lukas
>
>
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
More information about the Gate-users
mailing list