[Gate-users] gate v6.2 installation with clhep2.1.3.1 and geant 4.9.6

Siman ripesweetfruit at gmail.com
Tue Jan 29 18:42:25 CET 2013


Dr. Stiller,

I tried running just "make" itself.  I still get the same error message.
Any insight?  Thanks

[  9%] Building CXX object
CMakeFiles/Gate.dir/source/physics/src/GatePhysicsListMessenger.cc.o
/home/wsiman/gate_v6.2/gate_v6.2/source/physics/src/GateBinaryCascade.cc:
In member function ‘virtual G4HadFinalState*
GateBinaryCascade::ApplyYourself(const G4HadProjectile&, G4Nucleus&)’:
/home/wsiman/gate_v6.2/gate_v6.2/source/physics/src/GateBinaryCascade.cc:203:
error: ‘class G4Nucleus’ has no member named ‘GetN’
/home/wsiman/gate_v6.2/gate_v6.2/source/physics/src/GateBinaryCascade.cc:203:
error: ‘class G4Nucleus’ has no member named ‘GetZ’
/home/wsiman/gate_v6.2/gate_v6.2/source/physics/src/GateBinaryCascade.cc:
In member function ‘G4Fragment* GateBinaryCascade::FindFragments()’:
/home/wsiman/gate_v6.2/gate_v6.2/source/physics/src/GateBinaryCascade.cc:2278:
error: conversion from ‘int’ to non-scalar type ‘CLHEP::HepLorentzVector’
requested
/home/wsiman/gate_v6.2/gate_v6.2/source/physics/src/GateBinaryCascade.cc:
In member function ‘G4LorentzVector
GateBinaryCascade::GetFinalNucleusMomentum()’:
/home/wsiman/gate_v6.2/gate_v6.2/source/physics/src/GateBinaryCascade.cc:2392:
error: conversion from ‘int’ to non-scalar type ‘CLHEP::HepLorentzVector’
requested
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:59:
warning: ‘virtual G4int G4UIsession::ReceiveG4cout(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:459:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cout(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:60:
warning: ‘virtual G4int G4UIsession::ReceiveG4cerr(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:460:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cerr(G4String)’
/home/wsiman/2.1.3.1/CLHEP-install/include/CLHEP/Units/PhysicalConstants.h:
At global scope:
/home/wsiman/
2.1.3.1/CLHEP-install/include/CLHEP/Units/PhysicalConstants.h:80: warning:
‘CLHEP::electron_charge’ defined but not used
/home/wsiman/2.1.3.1/CLHEP-install/include/CLHEP/Random/Randomize.h:68:
warning: ‘CLHEP::HepRandomGenActive’ defined but not used
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:59:
warning: ‘virtual G4int G4UIsession::ReceiveG4cout(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:459:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cout(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:60:
warning: ‘virtual G4int G4UIsession::ReceiveG4cerr(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:460:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cerr(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:59:
warning: ‘virtual G4int G4UIsession::ReceiveG4cout(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:459:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cout(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:60:
warning: ‘virtual G4int G4UIsession::ReceiveG4cerr(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:460:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cerr(G4String)’
make[2]: ***
[CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:59:
warning: ‘virtual G4int G4UIsession::ReceiveG4cout(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:459:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cout(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:60:
warning: ‘virtual G4int G4UIsession::ReceiveG4cerr(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:460:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cerr(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:59:
warning: ‘virtual G4int G4UIsession::ReceiveG4cout(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:459:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cout(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:60:
warning: ‘virtual G4int G4UIsession::ReceiveG4cerr(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:460:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cerr(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:59:
warning: ‘virtual G4int G4UIsession::ReceiveG4cout(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:459:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cout(G4String)’
/home/wsiman/geant4/geant4.9.6-install/include/Geant4/G4UIsession.hh:60:
warning: ‘virtual G4int G4UIsession::ReceiveG4cerr(const G4String&)’ was
hidden
/home/wsiman/gate_v6.2/gate_v6.2/source/general/include/GateMessageManager.hh:460:
warning:   by ‘virtual G4int GateMessageManager::ReceiveG4cerr(G4String)’
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
make: *** [all] Error 2


On Tue, Jan 29, 2013 at 11:34 AM, Stiller, Wolfram <
Wolfram.Stiller at med.uni-heidelberg.de> wrote:

>  Hello Siman,****
>
> ** **
>
> I am not quite sure if this has (been) changed lately, but Gate did not
> use to support parallel compilation with distributed compilation jobs. In
> case this still holds true, using the “-j” switch together with the “make”
> command you issued would result in compilation errors when one of the
> compilation jobs running in parallel would require another one that was
> started before and has still been running to be done already.****
>
> ** **
>
> A solution might be to simply try to make the project without the “jobs”
> switch, i.e. just “make” itself. You might wanna try that. Keep in mind
> that you might need a “make clean” before to get rid of any remnants of
> your previous try at compiling.****
>
> ** **
>
> Good luck & have fun****
>
> ** **
>
> Wolf****
>
> ** **
>
> ** **
>
> ** **
>
> Dr. Wolfram Stiller****
>
> Diplom-Physiker****
>
> ** **
>
> Universitätsklinikum Heidelberg****
>
> Abteilung für Diagnostische und Interventionelle Radiologie****
>
> Im Neuenheimer Feld 110****
>
> D-69120 Heidelberg****
>
> Germany****
>
> ** **
>
> E-mail: wolfram.stiller at med.uni-heidelberg.de<w.stiller at dkfz-heidelberg.de>
> ****
>
> ** **
>
> Tel.: +49 (0) 6221 56 37240 or****
>
>        +49 (0) 6221 56 6434****
>
> ** **
>
> ** **
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.****
>
> ** **
>
> *Von:* gate-users-bounces at lists.opengatecollaboration.org [mailto:
> gate-users-bounces at lists.opengatecollaboration.org] *Im Auftrag von *Siman
> *Gesendet:* Dienstag, 29. Januar 2013 18:27
> *An:* gate-users at lists.opengatecollaboration.org
> *Betreff:* [Gate-users] gate v6.2 installation with clhep2.1.3.1 and
> geant 4.9.6****
>
> ** **
>
> Dear GATE-users,
>
> I have been trying to install the new GATE version 6.2 on redhat.
>
> I have installed CLHEP, ROOT and GEANT4.  and the cmake ./gate_v6.2 was
> successful.  However, when I tried to run the make command: make -J7, I
> receive error messages as the following
>
> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
> make: *** [all] Error 2
>
>
> I was wondering what might have gone wrong.  Please advise.  Thank you for
> your help
>
>
> cheers,
>
> Siman****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130129/8add60dc/attachment.html>


More information about the Gate-users mailing list