[Gate-users] Installing GATE 8 with GPU support

Clemens S. clem.schmid at gmail.com
Sat Aug 5 12:48:12 CEST 2017


Dear fellow Gate users,

I managed to compile and install Gate with GPU support but with ITK and RTK
turned *off*. I used gcc 5.3 as the cmake and cuda_host compiler which
seemed to solve the problem.

Now I want to validate my install with the gpumacros/ct example. When I
execute the main-gpu.mac, the setup works fine and the GPU memory is used
accordingly, but it seems like only the first 2000 steps of the first
photon are simulated after which the simulation stops with the message

...
sim 2000 0 / 500000 tot
sim 2001 0 / 500000 tot
WARNING - GPU reachs max step
>> GPU: tot time 2.671409e-02
====> GPU STOP
...

Both output-in.mhd and output-out.mhd are generated, however output-out is
0 everywhere and the 1D particle count in detector is also 0.

Has anybody an idea how to troubleshoot this? Or again, is there somebody
who successfully used Gate with GPU and can tell me about known issues or
special steps neccessary to get it working?
Thank you very much for your help.

Kind regards
Clemens Schmid


2017-08-03 14:35 GMT+02:00 Clemens S. <clem.schmid at gmail.com>:

> Dear fellow Gate users,
>
> I am struggling with installing GATE 8 on Ubuntu 16.04 with GPU support.
>
>  I have installed:
>  - ROOT 5.34/30
>  - Geant4 10.3.2
>  - ITK 4.10.1
>  - RTK 1.2
>  - CUDA 8 and SDK
>
> In ccmake, I have set the according paths and
> GATE_USE_GPU=ON
> GATE_USE_ITK=ON
> GATE_USE_RTK=ON.
>
> `make` then raises an error about Gate_generated_GateGPUManager.cu.o.
> See attached *error_1.log.*
>
> When I turn the ITK and RTK flags *off* (as I don't really know what they
> are for to be honest), the compilation reaches 100% and then raises error
> about reference to `GateMessageManager`.
> See attached *error_2.log.*
>
> Has somebody else had similar problems or any idea what I can do?
>
> Thank you very much for your help.
>
> Kind regards
> Clemens Schmid
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20170805/a7b08cba/attachment.html>


More information about the Gate-users mailing list