[Gate-users] Building Geant4.10.02.p01 for Gate 7.2

Lukas Curakovic lu.curakovic at fz-juelich.de
Mon Apr 11 08:40:15 CEST 2016


Yes, I did solve my problem and it was somewhat my own fault. Apparently
cmake used an older version of the gcc than I thought. Even though the
selected one should have been a link to the correct version.
I edited the options for gcc and g++ and then everything worked fine.

Regards,
Lukas

Am 08.04.2016 um 20:48 schrieb David Boersma:
> Hi Lukas,
> 
> Did you solve your problem?
> 
> If yes, it would be nice if you could inform the Gate-user mailing list
> what the solution was.
> 
> If no, what did you try to solve it? I checked the Geant4 installation &
> configuration mailing list, but I did not see you in the archive.
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig.html
> 
> Regards,
> 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