[Gate-users] Problem with installation GATE

Manuele Calussi manuele.calussi at gmail.com
Mon Oct 24 12:34:52 CEST 2011


@*

I meted the problem also, and I solved as follows:

Copy all files from the path ${OPENGATE_HOME}/root/include/root/  to  the
${OPENGATE_HOME}/root/include  folder,

of cause, you can modify your root include path.


I tried but I did not solve the problem;


@G4VERSION should be "9.3", or "9.4". When i tried configurating GATE6, the
same problem came out. It seems like the root file isn't compatible. So i
gave up on GATE6's configuration and tried GATE5. Fortunately, i succeeded
on GATE5. The configuration files i used include clhep-2.0.4.2.tgz,
*
gate_v5.0.0.tgz, geant4.9.2.p04.tar.gz and root_v5.30.02.source.tar.gz. You
can have a try.

good luck!

*I tried but when I compile Gate I obtain, after some warning, this error
message:
Compiling Gate.cc ...
In file included from
./source/mandatory_G4_classes/include/GateRunManager.hh:46,
                 from Gate.cc:18:
/home/manuele/Gate5/geant4.9.2.p04/source/run/include/G4RunManager.hh: In
member function ‘void G4RunManager::SetRandomNumberStoreDir(G4String)’:
/home/manuele/Gate5/geant4.9.2.p04/source/run/include/G4RunManager.hh:352:
warning: ignoring return value of ‘int system(const char*)’, declared with
attribute warn_unused_result
Using granular libraries ...
Linking Gate
/usr/bin/ld.bfd.real: cannot find -lCore
collect2: ld returned 1 exit status
make: *** [bin/Linux-g++/Gate] Errore 1


Please help me. Best regard. Thank you.
*
*


**


*

2011/10/19 wugc <wuguocheng at neusoft.com>

> **
> Hi Manuele
>
>
> I meted the problem also, and I solved as follows:
>
> Copy all files from the path ${OPENGATE_HOME}/root/include/root/  to  the
> ${OPENGATE_HOME}/root/include  folder,
>
> of cause, you can modify your root include path.
>
> **** **
>
> Kind regards,
>
> 2011-10-19
> ------------------------------
>   **
> ------------------------------
>  wugc
>
>  ------------------------------
>  ------------------------------
> *发件人:* gate-users-request
> *发送时间:* 2011-10-19  16:02:00
> *收件人:* gate-users
> *抄送:*
> *主题:* Gate-users Digest, Vol 65, Issue 22
>   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 with installation GATE (Manuele.Calussi at gmail.com)
>    2. What do I open the gate? (???)
>    3. No diagram on root (lupa euy)
>    4. No Coincidences output (?? ?)
>    5. How to open the Gate? (???)
>    6. Re: No Coincidences output (Marlen Priegnitz)
>    7. Re: No Coincidences output (lupa euy)
>    8. question in open GATE (???)
>  ----------------------------------------------------------------------
>  Message: 1
> Date: Tue, 18 Oct 2011 14:44:36 +0000
> From: Manuele.Calussi at gmail.com
> To: gate-users <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] Problem with installation GATE
> Message-ID: <000e0cd1eab02c9b4d04af93c306 at google.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>  Hi gate users,
> I have one problem with the installation of Gate version 6.0; I have
> installed every programs needed to the configuration of this program:
> geant4 version 9.1, root version 5.29 and lmf3.
>
> When I add to the env_gate.sh file the comands, written in the installation
> user guide:
>  export OPENGATE_HOME=/home/manuele/Gate6
>  export GATEHOME=${OPENGATE_HOME}/gate_v6.0_p01
> export G4VERSION="9.1"
> export G4INSTALL=${OPENGATE_HOME}/geant4.9.1.p03
> export LMF_HOME=${OPENGATE_HOME}/lmf_v3.0
> export ROOTSYS=${OPENGATE_HOME}/root
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:/2.0.4.2/CLHEP/lib
> export PATH=$PATH:$ROOTSYS/incude:$GATEHOME/gate_v6.0_p01/bin/:$G4SYSTEM
>  and if call the command
>  source env_gate.sh
>  there is not errors.
> But when I do the 'make' I obtain this error:
>  In file included from ./source/physics/include/GateSourceMgr.hh:20,
> from Gate.cc:21:
> ./source/physics/include/GateSourcePhaseSpace.hh:14:19: error: TROOT.h:
> Nessun file o directory
> ./source/physics/include/GateSourcePhaseSpace.hh:15:19: error: TFile.h:
> Nessun file o directory
> ./source/physics/include/GateSourcePhaseSpace.hh:16:19: error: TTree.h:
> Nessun file o directory
> ./source/physics/include/GateSourcePhaseSpace.hh:17:20: error: TChain.h:
> Nessun file o directory
> ./source/physics/include/GateSourcePhaseSpace.hh:18:18: error: TH1D.h:
> Nessun file o directory
> ./source/physics/include/GateSourcePhaseSpace.hh:19:19: error: TMath.h:
> Nessun file o directory
> ./source/physics/include/GateSourcePhaseSpace.hh:20:18: error: TKey.h:
> Nessun file o directory
> ./source/physics/include/GateSourcePhaseSpace.hh:21:24: error:
> TEntryList.h: Nessun file o directory
> In file included from Gate.cc:33:
> ./source/digits_hits/include/GateROOTBasicOutput.hh:23:17: error: TH1.h:
> Nessun file o directory
> ./source/digits_hits/include/GateROOTBasicOutput.hh:24:17: error: TH2.h:
> Nessun file o directory
> ./source/digits_hits/include/GateROOTBasicOutput.hh:25:22: error:
> TProfile.h: Nessun file o directory
> ./source/digits_hits/include/GateROOTBasicOutput.hh:26:21: error:
> TNtuple.h: Nessun file o directory
> ./source/digits_hits/include/GateROOTBasicOutput.hh:28:21: error:
> TBranch.h: Nessun file o directory
> ./source/digits_hits/include/GateROOTBasicOutput.hh:29:21: error:
> TRandom.h: Nessun file o directory
> Gate.cc:34:28: error: TPluginManager.h: Nessun file o directory
> Entering source/arf ...
>
> I thought that probably the problem is that I did not add the ROOT library
> in the correct mode, but I tried to change some thing but without solving
> the problem.
> Please I search help.
> Best regard
> Manuele
>  ------------------------------
>  Message: 2
> Date: Tue, 18 Oct 2011 22:47:57 +0800
> From: ??? <t891t17 at gmail.com>
> To: Gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] What do I open the gate?
> Message-ID:
> <CAL4Xt0qrgMKhYwMr-4COMhArPRA3b15YTzYNcXjAGbmqRYVuvg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>  Hi Gaters
>  I had success in installing Gate, but I don't know how to open it?
>  what should I do?
>  kind regards
> Willie
>  ------------------------------
>  Message: 3
> Date: Tue, 18 Oct 2011 22:21:23 -0700 (PDT)
> From: lupa euy <lupalagieuy at yahoo.com>
> To: "gate-users at lists.opengatecollaboration.org"
> <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] No diagram on root
> Message-ID:
> <1319001683.20954.YahooMailNeo at web126110.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset=utf-8
>  Hi everyone,
>
> I am running simulation on GATE6.1 and had achieve the root file, but when I browse through the root file, I cannot see the properties of the source x y z location, sinogram?etc.. nothing can be observed/no diagram/picture in the canvas.. And this only for coincedence events..
>  But for HITS events, I can observed all the properties..
>  I actually have disabled the hits flag, but the output file shows
>  command </gate/output/root/setRootHitsFlag 0> not found
>  Any body have any idea what is going on ????
> please help......
>  regards
>  ------------------------------
>  Message: 4
> Date: Wed, 19 Oct 2011 15:44:02 +0900
> From: ?? ?  <takuyama at med.hokudai.ac.jp>
> To: gate-users <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] No Coincidences output
> Message-ID:
> <CADb2yx-Ab9hMHZFUQkXVGtc6X6_m2oUteAdpzFxfithtq9QQjg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>  Hello Gaters,
>  I'm trying to get the output for the coincidences, but somehow it doesn't
> work at all.
> I set the system as PETscanner, and the coincidence output flag as 1, so it
> should give me some coincidences, but the ASCIICoincidences.dat has nothing
> inside it, ROOT neither.
> Singles output is working alright.
> My digitizer setup is as below.
> What do I need to add to this?
>  Thanks.
>  Taku Yamanaka
> ----
> # DIGITIZER
> /gate/digitizer/Singles/insert                adder
> /gate/digitizer/Singles/insert                readout
> /gate/digitizer/Singles/readout/setDepth    2 #9 for digitize PMT?
>  # ENERGY BLURRING
> /gate/digitizer/Singles/insert blurring
> /gate/digitizer/Singles/blurring/setResolution            0.19
> /gate/digitizer/Singles/blurring/setEnergyOfReference    511. keV
>  # ENERGY WINDOW 350-600keV
> /gate/digitizer/Singles/insert                        thresholder
> /gate/digitizer/Singles/thresholder/setThreshold    10. keV
>  # COINCIDENCE SORTER
> /gate/digitizer/Coincidences/setWindow    50. ns
> /gate/digitizer/Coincidences/MultiplesPolicy    takeAllGoods
> /gate/digitizer/Coincidences/setDepth    2
>  ------------------------------
>  Message: 5
> Date: Wed, 19 Oct 2011 14:45:03 +0800
> From: ??? <t891t17 at gmail.com>
> To: Gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] How to open the Gate?
> Message-ID:
> <CAL4Xt0pDxXSyjUNH5obXOdQMk-Y=q2uY=n-h1hN0Gt6bRXFWzw at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>  hi gaters
>
> I had already installing the Gate, but when I run gate I got the following
> problem.
>  [root at IL407-WillieLin gate_v6.1]# gate
> Usage: gate project-file
>  what should I do to run my Gate?
>  ------------------------------
>  Message: 6
> Date: Wed, 19 Oct 2011 08:56:15 +0200
> From: Marlen Priegnitz <m.priegnitz at hzdr.de>
> To: ?? ? <takuyama at med.hokudai.ac.jp>
> Cc: gate-users <gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] No Coincidences output
> Message-ID: <4E9E748F.4000006 at hzdr.de>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>  Hello,
>  what kind of PETscanner do you have?
> Is it a full ring or a double head scanner?
> If it is a double head scanner, maybe it has something to do with
> minSectorDifference?
> Maybe this works:  /gate/digitizer/Coincidences/minSectorDifference 1
>  Kind regards,
> Marlen
>   Am 19.10.2011 08:44, schrieb ?? ?:
> > Hello Gaters,
> >
> > I'm trying to get the output for the coincidences, but somehow it doesn't
> > work at all.
>
> > I set the system as PETscanner, and the coincidence output flag as 1, so it
>
> > should give me some coincidences, but the ASCIICoincidences.dat has nothing
> > inside it, ROOT neither.
> > Singles output is working alright.
> > My digitizer setup is as below.
> > What do I need to add to this?
> >
> > Thanks.
> >
> > Taku Yamanaka
> > ----
> > # DIGITIZER
> > /gate/digitizer/Singles/insert                adder
> > /gate/digitizer/Singles/insert                readout
> > /gate/digitizer/Singles/readout/setDepth    2 #9 for digitize PMT?
> >
> > # ENERGY BLURRING
> > /gate/digitizer/Singles/insert blurring
> > /gate/digitizer/Singles/blurring/setResolution            0.19
> > /gate/digitizer/Singles/blurring/setEnergyOfReference    511. keV
> >
> > # ENERGY WINDOW 350-600keV
> > /gate/digitizer/Singles/insert                        thresholder
> > /gate/digitizer/Singles/thresholder/setThreshold    10. keV
> >
> > # COINCIDENCE SORTER
> > /gate/digitizer/Coincidences/setWindow    50. ns
> > /gate/digitizer/Coincidences/MultiplesPolicy    takeAllGoods
> > /gate/digitizer/Coincidences/setDepth    2
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>   ------------------------------
>  Message: 7
> Date: Wed, 19 Oct 2011 00:57:44 -0700 (PDT)
> From: lupa euy <lupalagieuy at yahoo.com>
> To: Marlen Priegnitz <m.priegnitz at hzdr.de>, ?? ?
> <takuyama at med.hokudai.ac.jp>
> Cc: gate-users <gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] No Coincidences output
> Message-ID:
> <1319011064.51789.YahooMailNeo at web126101.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset=utf-8
>  hi there..
> ?
>
> I have the same problem.. and mine is a full ring scanner. Any suggestions?
> ?
> regards
> ?
>  ________________________________
> From: Marlen Priegnitz <m.priegnitz at hzdr.de>
> To: ?? ? <takuyama at med.hokudai.ac.jp>
> Cc: gate-users <gate-users at lists.opengatecollaboration.org>
> Sent: Wednesday, October 19, 2011 3:56 PM
> Subject: Re: [Gate-users] No Coincidences output
>  Hello,
>  what kind of PETscanner do you have?
> Is it a full ring or a double head scanner?
> If it is a double head scanner, maybe it has something to do with
> minSectorDifference?
> Maybe this works:? /gate/digitizer/Coincidences/minSectorDifference 1
>  Kind regards,
> Marlen
>   Am 19.10.2011 08:44, schrieb ?? ?:
> > Hello Gaters,
> >
> > I'm trying to get the output for the coincidences, but somehow it doesn't
> > work at all.
>
> > I set the system as PETscanner, and the coincidence output flag as 1, so it
>
> > should give me some coincidences, but the ASCIICoincidences.dat has nothing
> > inside it, ROOT neither.
> > Singles output is working alright.
> > My digitizer setup is as below.
> > What do I need to add to this?
> >
> > Thanks.
> >
> > Taku Yamanaka
> > ----
> > # DIGITIZER
> > /gate/digitizer/Singles/insert? ? ? ? ? ? ? ? adder
> > /gate/digitizer/Singles/insert? ? ? ? ? ? ? ? readout
> > /gate/digitizer/Singles/readout/setDepth? ? 2 #9 for digitize PMT?
> >
> > # ENERGY BLURRING
> > /gate/digitizer/Singles/insert blurring
> > /gate/digitizer/Singles/blurring/setResolution? ? ? ? ? ? 0.19
> > /gate/digitizer/Singles/blurring/setEnergyOfReference? ? 511. keV
> >
> > # ENERGY WINDOW 350-600keV
> > /gate/digitizer/Singles/insert? ? ? ? ? ? ? ? ? ? ? ? thresholder
> > /gate/digitizer/Singles/thresholder/setThreshold? ? 10. keV
> >
> > # COINCIDENCE SORTER
> > /gate/digitizer/Coincidences/setWindow? ? 50. ns
> > /gate/digitizer/Coincidences/MultiplesPolicy? ? takeAllGoods
> > /gate/digitizer/Coincidences/setDepth? ? 2
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>  _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>  ------------------------------
>  Message: 8
> Date: Wed, 19 Oct 2011 16:01:47 +0800
> From: ??? <t891t17 at gmail.com>
> To: Gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] question in open GATE
> Message-ID:
> <CAL4Xt0pmd7H2erATfXHgz72+eJ17YqeUOxmb2bj+fBtu_W60eA at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>  hi gaters
> I want to open my gate, but I get the following response.
>  [root at IL407-WillieLin benchSPECT]# gate benchSPECT.mac
> Generating Ada files...
> Couldn't generate Ada code. Exiting.
>  What should I do?
>  King regards
> Willie
>  ------------------------------
>  _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>  End of Gate-users Digest, Vol 65, Issue 22
> ******************************************
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ---------------------------------------------------------------------------------------------------
>


More information about the Gate-users mailing list