Skip to content

Commit e003bb0

Browse files
authored
Merge pull request #756 from OpenGATE/kochebina-patch-4
Update compilation instructions for GATE V9.4.2
2 parents eec5447 + 5c6623f commit e003bb0

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

docs/compilation_instructions.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _compilation_instructions-label:
22

3-
Compiling GATE V9.4.1
3+
Compiling GATE V9.4.2
44
=====================
55

66

@@ -35,10 +35,10 @@ Direct dependencies of GATE
3535
---------------------------
3636

3737

38-
For compiling GATE V9.4.1, the required dependencies are
38+
For compiling GATE V9.4.2, the required dependencies are
3939

40-
* Geant4 11.3.0 (available in http://geant4.web.cern.ch/geant4/support/download.shtml).
41-
* ROOT (ROOT 6.xx) # still required, but it may become optional in the future
40+
* Geant4 11.4.0 (available in http://geant4.web.cern.ch/geant4/support/download.shtml).
41+
* ROOT (ROOT 6.xx) # still required
4242

4343
Geant4 needs to be compiled. ROOT is avalaible as binary on some platform (or has to be compiled)
4444

@@ -133,19 +133,19 @@ In some configuration, the following path should also be set ::
133133

134134
We recommend you to use libtorch version 1.10.1 but other version may works. You can download libtorch from (pytorch)[https://pytorch.org/get-started/locally], select "LibTorch" in the matrix.
135135

136-
GATE V9.4.1
136+
GATE V9.4.2
137137
-----------
138138

139-
First, download the GATE sources at this address: https://github.com/OpenGATE/Gate/archive/v9.4.1.zip
139+
First, download the GATE sources at this address: https://github.com/OpenGATE/Gate/archive/v9.4.2.zip
140140
Unzip the downloaded file::
141141

142-
unzip Gate-9.4.1.zip
142+
unzip Gate-9.4.2.zip
143143

144-
Alternatively, if you are familiar with git, then instead of downloading and extracting the tar file, you can also clone the sources from github and check out the *v9.4* release tag.
144+
Alternatively, if you are familiar with git, then instead of downloading and extracting the tar file, you can also clone the sources from github and check out the *v9.4.2* release tag.
145145

146146
git clone https://github.com/OpenGATE/Gate.git Gate
147147
cd Gate
148-
git checkout v9.4.1
148+
git checkout v9.4.2
149149

150150
Create two directories to build and install GATE::
151151

@@ -158,7 +158,7 @@ Move into the GATE build directory::
158158

159159
Run ccmake as follows::
160160

161-
ccmake ../Gate-9.4.1
161+
ccmake ../Gate-9.4.2
162162

163163
You need to change the *CMAKE_INSTALL_PREFIX*, it should be set to the install directory (defined above). The default given by CMake is */usr/local*; if you have root/sudo permissions on your machine then it's possible to install Gate there, but it's not recommended, especially if you need to work with more than one version of Gate (for instance, if you want to do development on Gate, or if you want to verify that a new release is compatible with the old release that you have been using).
164164
You should get something like this (the screen shot is taken from the 8.0 release, the only difference is the version number):
@@ -221,7 +221,7 @@ This file should be defined as follows:
221221
setenv PATH ${PATH}:/PATH_TO/2.3.4.3/CLHEP/bin
222222
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/PATH_TO/2.3.4.3/CLHEP/lib
223223

224-
Save this file in */PATH_TO/gate_v9.4.1-install/bin*. Finally, before to start a GATE session::
224+
Save this file in */PATH_TO/gate_v9.4.2-install/bin*. Finally, before to start a GATE session::
225225

226226
source /PATH_TO/gate-install/bin/gate_env.sh
227227

@@ -361,9 +361,9 @@ Installation of cluster tools
361361
jobsplitter
362362
~~~~~~~~~~~
363363

364-
Go to /PATH_TO/gate_v9.4.1/cluster_tools/jobsplitter::
364+
Go to /PATH_TO/gate_v9.4.2/cluster_tools/jobsplitter::
365365

366-
cd /PATH_TO/gate_v9.4.1/cluster_tools/jobsplitter
366+
cd /PATH_TO/gate_v9.4.2/cluster_tools/jobsplitter
367367

368368
Make sure ROOT and Geant4 environment variables are set::
369369

@@ -376,12 +376,12 @@ Compile::
376376

377377
Copy the gjs executable file to the correct place::
378378

379-
cp /PATH_TO/gate_v9.4.1/cluster_tools/jobsplitter/gjs /PATH_TO/gate_v9.4.1-install/bin
379+
cp /PATH_TO/gate_v9.4.2/cluster_tools/jobsplitter/gjs /PATH_TO/gate_v9.4.2-install/bin
380380

381381
filemerger
382382
~~~~~~~~~~~
383383

384-
Go to /PATH_TO/gate_v9.4.1/cluster_tools/filemerger
384+
Go to /PATH_TO/gate_v9.4.2/cluster_tools/filemerger
385385
Make sure ROOT and Geant4 environment variables are set::
386386

387387
source /PATH_TO/root_v6.XX/bin/thisroot.sh
@@ -393,6 +393,6 @@ Compile::
393393

394394
Copy the gjs executable file to the correct place::
395395

396-
cp /PATH_TO/gate_v9.4.1/cluster_tools/filemerger/gjm /PATH_TO/gate_v9.4.1-install/bin
396+
cp /PATH_TO/gate_v9.4.2/cluster_tools/filemerger/gjm /PATH_TO/gate_v9.4.2-install/bin
397397

398398

0 commit comments

Comments
 (0)