[Gate-users] (no subject)

Luc SIMON uhqd75 at gmail.com
Thu Mar 9 10:29:50 CET 2017


Hello Parisa (copy to user list, it could be useful for someone else)
Please find 3 ways to install Gate : compilation, vGate and docker

1. compilation of sources
I strongly recommand again to install qt for visualization
Can you tell me on what OS do you work ? Linux ?
First you have to check that ROOT and Geant4 are correctly installed.
ROOT
just type "root" and ".q" to exit. You should see soething like this




















*501 09:54 ~ root  *******************************************
*                                         *  *        W E L C O M E  to  R
O O T       *  *                                         *  *   Version
5.34/32      23 June 2015   *  *                                         *
*  You are welcome to visit our Web site  *  *          http://root.cern.ch
<http://root.cern.ch>            *
*                                         *
*******************************************ROOT 5.34/32 (v5-34-32 at v5-34-32,
Jun 23 2015, 17:58:02 on macosx64)CINT/ROOT C/C++ Interpreter version
5.18.00, July 2, 2010Type ? for help. Commands must be C++
statements.Enclose multiple statements between { }.root [0] .q502 09:54 ~ *
Geant4
In an empty dir (ex. myDir) test an example :
 *cp -rf /Applications/Geant4/10.2/geant4.10.02.p01/examples/basic/B1 .    *
(your path to geant4 must be replaced)





* mkdir build cd build cmake ../B1 make ./exampleB1 *
If it works you should see a window with a geometry

Please copy all physical data (download at
https://geant4.web.cern.ch/geant4/support/download.shtml) in this directory
.../geant4/install/share/Geant4-10.1.2/data

Then if everything is ok Gate should be easy to install
in an empty dir : (in my ex. /Applications/gitGate/
First get the source code (git must be installed) :
*git clone https://github.com/OpenGATE/Gate.git
<https://github.com/OpenGATE/Gate.git>*
A directory Gate is downloaded (/Applications/gitGate/Gate)

*mkdir build*

*mkdir install*

*cd build*

*ccmake ../Gate*
Press
* c *
Press
* e*
Then edit if needed the different flags using arrows and return
In particular you have to change
CMAKE_INSTALL_PREFIX to /Applications/gitGate/install

For me it is the only flag I need to change

Then press
*c* to configure and
*g *to generate and
*e* to exit ccmake

then
make -j4
make install



It should work.

Two simple ways to get GATE if you encounter difficulties.


2.
Install virtual box and then the GATE virtual machine (vGate :
http://wiki.opengatecollaboration.org/index.php/VGate)


3.
Another very simple way that works on all OS but with no visualization (yet)

Install docker (https://docs.docker.com/engine/installation/linux/ubuntu/)

then just type

*docker run -it manureva/ubuntu-gate   *
(first run download needed files) Thank you Maxime Chauvin ;-)
Then you are in ubuntu environnement, just type *Gate* ...
Luc
















2017-03-08 17:19 GMT+01:00 Parisa Naghdi <prsnaghdi at gmail.com>:

> Hello Luc
> I've installed Geant4(Version10.2)-CMAKE(V3.5.2)-ROOT(V6.09/01) and
> gcc(V4.9.4).
> when  I'm going to configure the GATE source file to build folder. I see
> (Error in Configuration process,project files may be invalid).
> would you PLZ help me.
>
>
> regards
>
>


-- 
___________________

SIMON Luc, Physicien Médical, PhD
Département d'Ingénierie et de Physique Médicale - IUCT-Oncopole -
Toulouse, FRANCE
INSERM UMR 1037 (CRCT) - Equipe 15 - Toulouse, FRANCE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170309/933a178a/attachment.html>


More information about the Gate-users mailing list