[Gate-users] Running GATE on GPU

강한규 lovehangulp at naver.com
Wed Nov 18 06:57:06 CET 2020


Dear Zhengzhi and David  
 
As David mentioned, GPU is NO longer maintained after GATE version 7.
It would be better to optimize your GATE simulation conditions (physics cut) or use job splitter to reduce the simulation time.

But if you REALLY want to run GATE simulations with GPU, you can use the following example macro files (PET, CT, and Optical) in GATEv7.1.
https://drive.google.com/file/d/1dl5ltfqzbAI1tsMwGF6N-UWYdhP-GFAR/view?usp=sharing

The simulation time could be shortened about 4 times with GPU in comparison with CPU.(slide#7)

Here is the list of software for the GATEv7.1 simulation with GPU (5 years ago)
=========================================================
-Ubuntu 14.04.1 LTS
-CLHEP 2.2.0.4
-cmake-2.8.10.2
-CUDA-v7.0
-root_v5.34.30
-Geant4.10.01.p02
-GATEv7.1 
=========================================================

Again, GPU is NOT maintained in GATE anymore.

Good luck for your works~!

Best regards,

Han Gyu
--------Han Gyu Kang, Ph.D, Researcher

National Institute of Radiological Sciences (NIRS)
National Institutes for Quantum and Radiological Science and Technology (QST)
 4-9-1 Anagawa, Inage-ku, Chiba 263-8555, JAPAN
 
-----Original Message-----
From: "David Sarrut"<David.Sarrut at creatis.insa-lyon.fr>
To: "Albert Grace Lieu"<albertnew2018 at gmail.com>;
Cc: "gate-users"<gate-users at lists.opengatecollaboration.org>; "Peter Olcott"<polcott at reflexion.com>;
Sent: 2020-11-17 (화) 15:50:40 (GMT+09:00)
Subject: Re: [Gate-users] Running GATE on GPU
 
Hello Zhengzhi, 
 
yes sorry, GPU part is no more maintained. It still is viewable in the history of git to keep the memory, but probably difficult to make it work.  
 
The current best way to speed up simulation is 
1) to optimize your physics (cut), geometry (less voxels), etc
2) to run several Gate in parallel, via several jobs (with 56 cores, this is nice!), providing that you use 'auto' as the random seed to avoid reproducing the exact same simulation. You will have to merge results at the end. 
 
Sincerely, 
David 

On Tue, Nov 17, 2020 at 1:28 AM Albert Grace Lieu <albertnew2018 at gmail.com> wrote: 

Dear Gate users, 
 
First thing first, can we still possibly use the GATE GPU version? I am trying to run a GATE simulation on GPU (GATE V8.2, CUDA-10.1), but end up with a similar problem reported [1] by Thomas Funck. In the post, David Sarrut said "Hello, sorry the GPU part is no more maintained ...". Although it might not be maintained anymore (which is really unfortunate), can one still use, say with the old GATE version? Without CUDA acceleration, GATE running with 56 cores is still painfully slow. Please give me any help.
 
Thanks a lot,
Sincerely
 
Zhengzhi
 
[1] https://github.com/OpenGATE/Gate/issues/188
 

On Fri, Nov 13, 2020 at 2:39 PM Albert Grace Lieu <albertnew2018 at gmail.com> wrote: 

Dear Gate users, 
 
In the user manual, it says " Examples are provided within the GATE source package and users can find a complete example about How To define and run a complete PET simulation set-up by using a GPU architecture.", does anyone know where the example is? (I did not find it)
 
I try to run GATE simulation on GPU but could not find enough information about how to do so. The only pieces of information about running GATE on GPU that I can find are [1, 2] and the user manual. None of them seem to give me an entire picture of running GATE PET simulation on GATE. I am using GATE V8.2 with GATE_USE_GPU enabled along with the Nvidia toolkit 10.1.  
 
I deeply appreciate any suggestions and help.
Sincerely,
 
Zhengzhi
 
 

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

 
--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U1206
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20201118/c330765c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 원자력의학원 데이터 미팅(GATEv7p1_CPU_CUDA-7)(2015_07_16_KangHG).pdf
Type: application/pdf
Size: 549299 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20201118/c330765c/attachment-0001.pdf>


More information about the Gate-users mailing list