Skip to content

Commit 2d03a89

Browse files
authored
Merge pull request #716 from kochebina/Gate9.5
For Gate 9.4.1 release
2 parents 8420729 + b240e69 commit 2d03a89

File tree

9 files changed

+96
-16
lines changed

9 files changed

+96
-16
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424

2525
env:
2626
ROOT_VERSION: 'v6-32-02'
27-
GEANT4_VERSION: 'v11.2.1'
2827
ITK_VERSION: 'v5.4.2'
28+
GEANT4_VERSION: 'v11.3.0'
2929
ROOT_DIR: $(HOME)/software/root
3030
GEANT4_DIR: $(HOME)/software/geant4
3131

@@ -338,5 +338,5 @@ jobs:
338338
mkdir gate_benchmarks
339339
export GIT_SSL_NO_VERIFY=1
340340
git clone --recursive https://github.com/OpenGATE/GateBenchmarks.git gate_benchmarks
341-
docker run --rm -e "TEST=${{ matrix.strategy_name }}" -v $GITHUB_WORKSPACE:/src -v $GITHUB_WORKSPACE/gate_benchmarks:/home tbaudier/gatebenchmarks:9.4 /home/.github/workflows/runTest.sh
341+
docker run --rm -e "TEST=${{ matrix.strategy_name }}" -v $GITHUB_WORKSPACE:/src -v $GITHUB_WORKSPACE/gate_benchmarks:/home tbaudier/gatebenchmarks:9.4.1 /home/.github/workflows/runTest.sh
342342

CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,13 @@ MESSAGE("Your current Geant4 version is ${Geant4_VERSION}")
312312

313313
#=========================================================
314314
# Display message about this version
315-
MESSAGE("IMPORTANT! This version of GATE (9.4) has still some traces of passage for new digitizer.")
315+
MESSAGE("IMPORTANT! This version of GATE (9.4.1) has still some traces of passage for new digitizer.")
316316
MESSAGE("Please, be aware that some of functionalities are NOT YET re-implemented: ")
317-
MESSAGE("- Coincidence digitizer modules (combining of several Coincidence Sorters)")
318317
MESSAGE("- Output: Sinogram, Ecat7, LMF")
319318
MESSAGE("- ARF may work not properly yet")
320319
MESSAGE("We apologize for this inconvenience and kindly ask for your patience.")
321-
MESSAGE("This functionalities will be added during 2024.")
322-
MESSAGE("Meanwhile, please, use Gate 9.3")
320+
MESSAGE("This functionalities will be added during 2025.")
321+
MESSAGE("Meanwhile, please, use Gate 9.4")
323322

324323

325324

Gate.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void welcome()
158158
{
159159
GateMessage("Core", 0, G4endl);
160160
GateMessage("Core", 0, "*******************************************************" << G4endl);
161-
GateMessage("Core", 0, " GATE version 9.4 (2024)" << G4endl);
161+
GateMessage("Core", 0, " GATE version 9.4.1 (2025)" << G4endl);
162162
GateMessage("Core", 0, " Copyright : OpenGATE Collaboration" << G4endl);
163163
GateMessage("Core", 0, " Reference : Phys. Med. Biol. 49(19) 4543-4561 2004 " << G4endl);
164164
GateMessage("Core", 0, " Reference : Phys. Med. Biol. 56(4) 881-901 2011 " << G4endl);
@@ -256,7 +256,7 @@ int main( int argc, char* argv[] )
256256
break;
257257
case 'v':
258258
ss << G4VERSION_MAJOR << "." << G4VERSION_MINOR << "." << G4VERSION_PATCH;
259-
std::cout << "Gate version is 9.4 ; Geant4 version is " << ss.str() << std::endl;
259+
std::cout << "Gate version is 9.4.1; Geant4 version is " << ss.str() << std::endl;
260260
exit(0);
261261
break;
262262
case 'a':

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ More details : http://www.opengatecollaboration.org
1515

1616
Documentation : https://opengate.readthedocs.io
1717

18-
* The stable version is tag 9.4: https://github.com/OpenGATE/Gate/tree/v9.4 with Geant4 11.2.1
18+
* The stable version is tag 9.4.1: https://github.com/OpenGATE/Gate/tree/v9.4.1 with Geant4 11.3.0
1919
* The current development version is branch 'develop' (default): http://github.com/OpenGATE/Gate/tree/develop
2020
* [Benchmarks](https://github.com/OpenGATE/GateBenchmarks)
2121
* [Examples](https://github.com/OpenGATE/GateContrib)

release_notes/v9.4.1.txt

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# *ooooOOOO0000OOOOoooo* #
2+
# #
3+
# GATE v9.4.1 #
4+
# #
5+
# 02/2025 #
6+
# #
7+
# *ooooOOOO0000OOOOoooo* #
8+
9+
10+
This version is intended to be used with Geant4 11.3.0 only.
11+
Gate cannot be compiled with earlier Geant4 versions.
12+
It *may* works with other ROOT, ITK, libtorch version but it is not tested.
13+
14+
Dependencies:
15+
- Geant4: v11.3.0 (cxx17 is required)
16+
- ROOT: v6-32-08 (must be compiled with -DCMAKE_CXX_STANDARD=17)
17+
- ITK: v5.2.0 (with RTK enabled)
18+
- libtorch: v1.10.1
19+
20+
21+
-----------------
22+
Main new features
23+
-----------------
24+
25+
- Bug corrections:
26+
1) Coincidence Sorter: Remove "keep" options in multiple policy PR #703
27+
2) Init value for Energy Resolution module PR #699
28+
3) Coincidence Sorter: Option for removal of oblique coincidences (setDeltaZMax) #700
29+
30+
From 9.4 version:
31+
1) Some of functionalities are temporarily disabled:
32+
- Outputs: Sino, LMF, Ecat7
33+
34+
New features:
35+
1) Option to save Hits from several sensitive detectors in the same ROOT tree
36+
2) Generalisation of Spatial resolution (x,sigma(x))
37+
3) Coincidence digitizers added (Multiples Killer, Buffer, Time Difference)
38+
4) New Digitizer Module : Virtal Segmentation (for Monolithic crystal)
39+
5)
40+
41+
42+
- additional Benchmarks
43+
https://github.com/OpenGATE/GateBenchmarks
44+
45+
----------
46+
Gate Tools
47+
----------
48+
49+
-------------
50+
Documentation
51+
-------------
52+
53+
GATE home page: http://www.opengatecollaboration.org
54+
GATE documentation: https://opengate.readthedocs.io
55+
GATE examples: https://github.com/OpenGATE/GateContrib
56+
GATE benchmarks: https://github.com/OpenGATE/GateBenchmarks
57+
GATE tools: https://github.com/OpenGATE/GateTools

source/docker/Generate-9.4.1.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/sh
2+
3+
#Variables to modify
4+
Repository=opengatecollaboration
5+
ROOT_Version=v6-24-06
6+
CLHEP_Version=2.4.6.0
7+
Geant4_Version=11.3.0
8+
Gate_Version=9.4.1
9+
10+
#Variables to preserve
11+
Geant4_Tag=$Repository/geant4:$Geant4_Version
12+
Gate_Tag=$Repository/gate:$Gate_Version-docker
13+
14+
docker build -t $Geant4_Tag -f DockerFileGeant \
15+
--build-arg ROOT_Version=$ROOT_Version \
16+
--build-arg CLHEP_Version=$CLHEP_Version \
17+
--build-arg Geant4_Version=v$Geant4_Version .
18+
#docker push $Geant4_Tag
19+
#
20+
#docker build -t $Gate_Tag -f DockerFileGate \
21+
# --build-arg Geant4_Version=$Geant4_Tag \
22+
# --build-arg Gate_Version=v$Gate_Version .
23+
#docker push $Gate_Tag

source/docker/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ login: `docker login`
1010

1111
[build and use]
1212
* build:
13-
* `docker build -t opengatecollaboration/geant4:11.2.1 -f DockerFileGeant --build-arg ROOT_Version=v6-24-06 --build-arg Geant4_Version=v11.2.1 .`
13+
* `docker build -t opengatecollaboration/geant4:11.3.0 -f DockerFileGeant --build-arg ROOT_Version=v6-24-06 --build-arg Geant4_Version=v11.3.0 .`
1414
* push:
1515
* `docker push opengatecollaboration/geant4:$version`
1616
* interactive:
1717
* `docker run -it --rm -v $PWD:/APP opengatecollaboration/geant4:$version /bin/bash`
1818

1919
Where:
2020

21-
* `$version` is `11.2.1` for gate `9.4`
21+
* `$version` is `11.3.0` for gate `9.4.1`
2222

2323
# Second image Gate
2424
## Docker for gate
@@ -29,7 +29,7 @@ login: `docker login`
2929

3030
[build and use]
3131
* build:
32-
* `docker build -t opengatecollaboration/gate:9.4 -f DockerFileGate --build-arg Geant4_Version=opengatecollaboration/geant4:11.2.1 --build-arg Gate_Version=v9.4 .`
32+
* `docker build -t opengatecollaboration/gate:9.4.1 -f DockerFileGate --build-arg Geant4_Version=opengatecollaboration/geant4:11.3.0 --build-arg Gate_Version=v9.4.1 .`
3333
* push:
3434
* `docker push opengatecollaboration/gate:$version`
3535
* run command:
@@ -41,4 +41,4 @@ You can just install docker and then create an alias in your configuration
4141
* ```echo "alias Gate='docker run -i --rm -v $PWD:/APP opengatecollaboration/gate:$version'" >> ~/.bashrc```
4242

4343
Where:
44-
* `$version=9.3`
44+
* `$version=9.4.1`

source/docker/runAll.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
./Generate-8.1.sh
44
./Generate-8.2.sh
55
./Generate-9.0.sh
6-
./Generate-9.1.sh
6+
./Generate-9.1.sh
7+
./Generate-9.4.1.sh

source/docker/vGate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ make
6969
cd
7070
cd Software/Geant4
7171
mkdir src bin install data
72-
git clone -b v11.2.1 https://github.com/Geant4/geant4.git src
72+
git clone -b v11.3.0 https://github.com/Geant4/geant4.git src
7373
cd bin
7474
ccmake ../src -DGEANT4_INSTALL_DATA=ON -DGEANT4_BUILD_MULTITHREADED=OFF -DGEANT4_INSTALL_DATADIR=/home/vgate/Software/Geant4/data -DCMAKE_INSTALL_PREFIX=/home/vgate/Software/Geant4/install -DGEANT4_BUILD_MULTITHREADED=OFF -DGEANT4_USE_QT=ON -DGEANT4_USE_OPENGL_X11=ON
7575
make install
@@ -101,7 +101,7 @@ echo 'source /home/vgate/Software/Geant4/install/bin/geant4.sh' >> /home/vgate/.
101101
cd
102102
cd Software/Gate
103103
mkdir src bin
104-
git clone -b v9.4 https://github.com/OpenGATE/Gate.git src
104+
git clone -b v9.4.1 https://github.com/OpenGATE/Gate.git src
105105
cd bin
106106
ccmake ../src -DGATE_USE_RTK=ON -DGATE_USE_TORCH=ON -DTorch_DIR=/home/vgate/Software/libtorch/share/cmake/Torch -DGATE_COMPILE_GATEDIGIT=ON
107107
make

0 commit comments

Comments
 (0)