[Gate-users] Gate-users Digest, Vol 128, Issue 29
Chekdob Bagdob
checkdobbagdob at gmail.com
Mon Jan 30 04:39:43 CET 2017
Hi Michal,
Myself Satyajit. Recently I had installed GATE v7.2 on Ubuntu
16.04 and that time I also came across the same problem. After having some
suggestion from a GATE member I successfully installed GATE. Here are the
steps which you need to follow,
1. That 'kCanRebin' error is related to root. So at first you download
root 5.34 version. If you are using Ubuntu 16.04 then you will not get
binary version, so you have to download and installed the source version.
If you have to installed the source version then choose "Environment driven
build" method explained in your downloaded file /root_v5.34/README/INSTALL.
2. Then you go to /path/to//gate_v7.2-build/CMakeCache.txt and if you
find a string like "ROOT_CONFIG_EXECUTABLE" in that text file then that
means your building process is actually directing to root 6.08. So you have
to delete that text file.
3. Then before going to GATE installation itself please run this
command >> source /path/to/root_v5.34/bin/thisroot.sh (for bash shell).
4. Then you can install GATE.
Hope this will help you. Best of luck.
Satyajit
On Sun, Jan 29, 2017 at 4:30 PM, <
gate-users-request at lists.opengatecollaboration.org> wrote:
> Send Gate-users mailing list submissions to
> gate-users at lists.opengatecollaboration.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
> gate-users-request at lists.opengatecollaboration.org
>
> You can reach the person managing the list at
> gate-users-owner at lists.opengatecollaboration.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gate-users digest..."
>
>
> Today's Topics:
>
> 1. Problem in setting material in a volume (Chekdob Bagdob)
> 2. Issue while install Gate 7.2 (Michal Knap)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 29 Jan 2017 10:40:36 +0530
> From: Chekdob Bagdob <checkdobbagdob at gmail.com>
> To: gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] Problem in setting material in a volume
> Message-ID:
> <CAD_bN0iEt91_L6rvCdd3DjMoCdmDc=1eATq3P6W=_Pj=
> v5boCA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear GATE users,
>
> I am using GATE 7.2 on a Ubuntu 16.04 LTS. Recently I was
> reading manual for version 7.2 and when I tried this code,
>
>
> >> /gate/world/daughters/name cylindricalPET
> >> /gate/world/daughters/insert cylinder
> CREATED THE COMMAND /gate/systems/cylindricalPET/addAnewRsector
>
> >> /gate/cylindricalPET/setMaterial Water
>
> GateMaterialDatabase.cc (l.131): GateMaterialDatabase: could not find the
> definition for material 'Water' in material files
>
> And after that Idle prompt disappears and usual terminal command prompt
> comes.
>
>
> Some useful info:
>
> 1. Geant4:: geant4.10.01.p02
> 2. root:: root_v5.34 source version
> 3. clhep:: 2.3.1.1
>
> Besides, I want to ask another question. When I googled this problem I get
> various websites like
>
> http://comments.gmane.org/gmane.comp.science.opengate.user/3939
>
> but I can't open those websites. It just shows ArchivedAt Nothing found -
> bye.
>
>
> Satyajit
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/
> attachments/20170129/106c94dc/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 29 Jan 2017 11:20:03 +0100
> From: Michal Knap <michal.knap at gmail.com>
> To: "gate-users at lists.opengatecollaboration.org"
> <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] Issue while install Gate 7.2
> Message-ID:
> <CAL4D=H+w_fHTMncws1xr+CLOsJkABw46T94g619Z3xxAxdyGtA@
> mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear All,
> I'm trying to install Gate 7.2 on Ubuntu 16.04 LTS.
> I successfully installed :
>
> 1. Root 6.08.04
> 2. Geant4 10.02.p03
> 3. gcc-5.2.0
> 4. cmake version 3.5.1
>
> While make -j2 during Gate7.2 installation i have this error
>
>
> -- Downloaded object:
> > "/home/mknap/gate_v7.2-build/ExternalData/Objects/MD5/
> e431bc10c74d61ad9cee40559b9e95b9"
> > [ 63%] Built target GateExampleData
> > [ 63%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/
> GateOpticalAdderMessenger.cc.o
> > [ 63%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/GateSinogram.cc.o
> > [ 63%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/GateGPUSPECTActor.cc.o
> > [ 63%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/
> GateDiffCrossSectionActorMessenger.cc.o
> > [ 63%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/GateHitFileReader.cc.o
> > [ 63%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/
> GateTrackLengthActorMessenger.cc.o
> > [ 64%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/GateTrack.cc.o
> > [ 64%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/GateSinoToEcat7.cc.o
> > [ 64%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/GateROOTBasicOutputMessenger.
> cc.o
> > [ 64%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/
> GatePhysicsExtractorActorMessenger.cc.o
> > [ 64%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/GateVImageActor.cc.o
> > [ 64%] Building CXX object
> > CMakeFiles/Gate.dir/source/digits_hits/src/GateSecondaryProductionActor.
> cc.o
> > /home/mknap/gate_v7.2/source/digits_hits/src/
> GateSecondaryProductionActor.cc:
> > In member function ‘virtual void GateSecondaryProductionActor::
> Construct()’:
> > /home/mknap/gate_v7.2/source/digits_hits/src/
> GateSecondaryProductionActor.cc:61:18:
> > error: ‘kCanRebin’ is not a member of ‘TH1’
> > pFrag->SetBit(TH1::kCanRebin);
> > ^
> > CMakeFiles/Gate.dir/build.make:8966: recipe for target
> > 'CMakeFiles/Gate.dir/source/digits_hits/src/
> GateSecondaryProductionActor.cc.o'
> > failed
> > make[2]: ***
> > [CMakeFiles/Gate.dir/source/digits_hits/src/
> GateSecondaryProductionActor.cc.o]
> > Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/Gate.dir/all'
> failed
> > make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
> > Makefile:127: recipe for target 'all' failed
> > make: *** [all] Error 2
>
>
>
>
> *Could you be so kind and help me this issue? *
> What does it mean?
>
> > >
> > home/mknap/gate_v7.2/source/digits_hits/src/
> GateSecondaryProductionActor.cc:
> > In member function ‘virtual void GateSecondaryProductionActor::
> Construct()’:
> > >
> > /home/mknap/gate_v7.2/source/digits_hits/src/
> GateSecondaryProductionActor.cc:61:18:
> > error: ‘kCanRebin’ is not a member of ‘TH1’
> > > pFrag->SetBit(TH1::kCanRebin);
>
>
> I will be very thankfull for all your advices and suggestions.
>
> Kind Regards
>
> *Michał Knap*
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/
> attachments/20170129/5f2bee5e/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> ------------------------------
>
> End of Gate-users Digest, Vol 128, Issue 29
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170130/31717423/attachment.html>
More information about the Gate-users
mailing list