[Gate-users] Gate-users Digest, Vol 66, Issue 6

Saeed Heidary saeedheidary79 at gmail.com
Sun Nov 6 15:22:10 CET 2011


Dear Michael
maybe you have not installed root correctly

iti sbetter to install root firstly
the CLHEP and Geant and finally Gate

to install root corectly
firstly : export ROOTSYS=/root address
secondly ./configure         "without any additional things like prifix and
so on, just ./configure alone "
thirdly  : make
fourthly : make install

then do what you have done as before to install Gate ( clhep , geant4,
gate6)

On Sat, Nov 5, 2011 at 2: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. Error in installing Gatev6.1 (Michael)
>   2. Re: Error in installing Gatev6.1 (Berker, Yannick)
>   3. [How to use Magnetic Field in GATE] (Kyung-Nam Lee)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 4 Nov 2011 17:35:46 +0800 (CST)
> From: Michael <zb890707 at 126.com>
> To: Gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] Error in installing Gatev6.1
> Message-ID: <e1620f2.1d681.1336def1ce6.Coremail.zb890707 at 126.com>
> Content-Type: text/plain; charset=GBK
>
> Dear Gaters,
> I am trying to install the newest version of GATE_v6.1 and I just met a
> problem.
> I have installed the packages mentioned in the installation guide :
> clhep 2.1.0.1 , geant4.9.4.p02 and root 5.30 (but I did not install the
> 'lmf').
>
> Whlie installing the 'Gate', to define the environment variables
> I add the command at the top of the file "env_gate.sh"  as follows:
>
>          export GATEHOME=/usr/local/gate/GATE_ROOT/gate_v6.1
>          export G4INSTALL=/usr/local/gate/GATE_ROOT/geant4
>          export G4VERSION=9.4
>          export ROOTSYS=/usr/local/gate/GATE_ROOT/root
>          export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:/usr/local/gate/GATE_ROOT/clhep/lib
>          export PATH=$PATH:$ROOTSYS/lib:$GATEHOME/bin/$G4SYSTEM
>
> I have run the command "source env_gate.sh", and everything is ok as far
> as i konw,
> but when I 'make' ,  there comes to be a fatal error as follows:
>
> Compiling GateEMStandardProcessMessenger.cc ...
> Compiling GateeMultipleScatteringPB.cc ...
> Compiling GateFakePhysicsList.cc ...
> Compiling GateFastI124.cc ...
> In file included from ../physics/include/GateSourceMgr.hh:20:0,
>                 from src/GateFastI124.cc:14:
> ../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h:
> ?????????
> compilation terminated.
> make[1]: *** [../../tmp/Linux-g++/Gate/GateFastI124.o] ?? 1
> source/physics finished
> Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> Compiling Gate.cc ...
> In file included from ./source/physics/include/GateSourceMgr.hh:20:0,
>                 from Gate.cc:21:
> ./source/physics/include/GateSourcePhaseSpace.hh:14:19: fatal error:
> TROOT.h: ?????????
> compilation terminated.
> make: *** [tmp/Linux-g++/Gate/exe/Gate.o] ?? 1
>
> Anybody have any idea what is going on ?
> What should I do?
>
> Thank you
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 4 Nov 2011 11:35:22 +0000
> From: "Berker, Yannick" <Yannick.Berker at philips.com>
> To: "gate-users at lists.opengatecollaboration.org"
>        <gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] Error in installing Gatev6.1
> Message-ID:
>        <
> 8B967663AF960949A7CDDBD35753F812F8F3 at 011-DB3MPN1-041.MGDPHG.emi.philips.com
> >
>
> Content-Type: text/plain; charset="gb2312"
>
> Hi Michael,
> try adding this to your env_gate.sh:
> export CPATH=$CPATH:$ROOTSYS/include
>
> Apparently, your C compiler does not find the ROOT include files, and this
> might fix it. At least it worked for me when I had a very similar issue
> using the exact same setup yesterday.
>
> Best regards,
> Yannick
>
> ________________________________________
> From: gate-users-bounces at lists.opengatecollaboration.org [
> gate-users-bounces at lists.opengatecollaboration.org] on behalf of Michael [
> zb890707 at 126.com]
> Sent: Friday, November 04, 2011 10:35
> To: Gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] Error in installing Gatev6.1
>
> Dear Gaters,
> I am trying to install the newest version of GATE_v6.1 and I just met a
> problem.
> I have installed the packages mentioned in the installation guide :
> clhep 2.1.0.1 , geant4.9.4.p02 and root 5.30 (but I did not install the
> 'lmf').
>
> Whlie installing the 'Gate', to define the environment variables
> I add the command at the top of the file "env_gate.sh"  as follows:
>
>          export GATEHOME=/usr/local/gate/GATE_ROOT/gate_v6.1
>          export G4INSTALL=/usr/local/gate/GATE_ROOT/geant4
>          export G4VERSION=9.4
>          export ROOTSYS=/usr/local/gate/GATE_ROOT/root
>          export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:/usr/local/gate/GATE_ROOT/clhep/lib
>          export PATH=$PATH:$ROOTSYS/lib:$GATEHOME/bin/$G4SYSTEM
>
> I have run the command "source env_gate.sh", and everything is ok as far
> as i konw,
> but when I 'make' ,  there comes to be a fatal error as follows:
>
> Compiling GateEMStandardProcessMessenger.cc ...
> Compiling GateeMultipleScatteringPB.cc ...
> Compiling GateFakePhysicsList.cc ...
> Compiling GateFastI124.cc ...
> In file included from ../physics/include/GateSourceMgr.hh:20:0,
>                 from src/GateFastI124.cc:14:
> ../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h:
> ?????????
> compilation terminated.
> make[1]: *** [../../tmp/Linux-g++/Gate/GateFastI124.o] ?? 1
> source/physics finished
> Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> Compiling Gate.cc ...
> In file included from ./source/physics/include/GateSourceMgr.hh:20:0,
>                 from Gate.cc:21:
> ./source/physics/include/GateSourcePhaseSpace.hh:14:19: fatal error:
> TROOT.h: ?????????
> compilation terminated.
> make: *** [tmp/Linux-g++/Gate/exe/Gate.o] ?? 1
>
> Anybody have any idea what is going on ?
> What should I do?
>
> Thank you
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> ________________________________
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby
> notified that any use, forwarding, dissemination, or reproduction of this
> message is strictly prohibited and may be unlawful. If you are not the
> intended recipient, please contact the sender by return e-mail and destroy
> all copies of the original message.
>
> ------------------------------
>
> Message: 3
> Date: Sat, 5 Nov 2011 00:47:52 +0900
> From: "Kyung-Nam Lee" <leeronaldo at naver.com>
> To: <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] [How to use Magnetic Field in GATE]
> Message-ID:
>
>  <!&!AAAAAAAAAAAYAAAAAAAAAMYAu7zsCkpHg3PcJpRoV2jCgAAAEAAAAAcBGC4a1iVGvf93QMLteRkBAAAAAA==@
> naver.com>
>
> Content-Type: text/plain;       charset="us-ascii"
>
> Hello, GATE users in the world.
>
>
>
> I have used GATE for simulation of dose distribution after passing through
> passive beam nozzle in particle therapy.
>
>
>
> For adding geometry of wobbler magnet, we want to generate magnetic field.
>
>
>
> After some internet based search, I have got some grateful hints.
>
>
>
> when we want to use uniform magnetic field with specific direction, we can
> use following commands
>
>
>
> #For z-direction
>
> /gate/geometry/setMagField 0 0 3.0 T
>
> # For x-direction
>
> /gate/geometry/setMagField 10.0 0.0 0.0 T
>
>
>
> However, if we want to use general function of magnetic field with time,
> what is the commands can be used ??
>
>
>
> I really hope to your comment.
>
>
>
> Thank you^^
>
>
>
> ============================================================
>
> Kyung-Nam Lee, M.S.
>
> Research Physicist
>
> Medical Physics Research Team
>
> Dept. of Heavy Ion Clinical Research
>
> Korea Heavy Ion Medical Accelerator (KHIMA)
>
> KOREA INSTITUTE of RADIOLOGICAL & MEDICAL SCIENCE (KIRAMS)
>
> #215-4 Gongneung-dong Nowon-gu
>
> Seoul 139-709, Korea
>
> Tel: 82-2-2258-7504
>
> Fax: 82-2-2258-7506
>
> Mobile:82-10-6366-9161
>
> E-Mail: leeronaldo at kirams.re.kr, leeronaldo at naver.com (with big file)
>
> ============================================================
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> End of Gate-users Digest, Vol 66, Issue 6
> *****************************************
>


More information about the Gate-users mailing list