<div dir="ltr"><div><div><div><div><div><div><div>Hi Goncalo,<br><br></div>Please take a look at the following link as the proposed solution in the link may solve your problem. It solved mine.<br><br><a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-June/009003.html">http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-June/009003.html</a><br><br></div>I solved the problem by modifying and recompiling the GATE source code. In the source code folder, you will see a file named CMakeLists.txt and inside you will find a line with CUDA_NVCC_FLAGS and two "-gencode arch=compute_XX,code=sm_XX;" where XX = 20 or 30 (which corresponds to Compute Capability 2.0 or 3.0).<br><br></div>Compute Capability 2.0 and 3.0 are for GPUs that are ~5+ years old so your GPU most likely will have a Compute Capability that is higher than those two. To identify the Compute Capability of your GPU, please refer to the Compute Capability you see when running CUDA example 5 or the link below:<br><a href="https://developer.nvidia.com/cuda-gpus"><br>https://developer.nvidia.com/cuda-gpus</a><br><br></div>From what I understand, CUDA doesn't come with SDK anymore. While the link to the proposed solution (that I provided earlier) recommended we use the same filepath for both CUDA_TOOLKIT_ROOT_DIR and CUDA_SDK_ROOT_DIR, the example script worked with a blank CUDA_SDK_ROOT_DIR for me.<br><br></div>Hope that helps!<br><br></div>Sincerely,<br><br></div>Ed<br><div><div><div><div><div><div><div><div><div><div><b><br>Goncalo Cosme</b>
<a href="mailto:gate-users%40lists.opengatecollaboration.org?Subject=Re%3A%20%5BGate-users%5D%20Voxelized%20phantom%20and%20source%20-%20GPU%20simulations&In-Reply-To=%3CCAGmJBLYD5MLk9OcTpbZXf4GBu9ve5OqrEgDm2QHAdeiFD4QsFg%40mail.gmail.com%3E" title="[Gate-users] Voxelized phantom and source - GPU simulations">g.cosme at campus.fct.unl.pt
</a><br>
<i>Sat Sep 17 14:06:06 CEST 2016</i>
<ul><li>Previous message: <a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/009159.html">[Gate-users] Multiple Fields
</a></li><li>Next message: <a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/009160.html">[Gate-users] CT images
</a></li><li> <b>Messages sorted by:</b>
<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/date.html#9158">[ date ]</a>
<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/thread.html#9158">[ thread ]</a>
<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/subject.html#9158">[ subject ]</a>
<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/author.html#9158">[ author ]</a>
</li></ul>
<hr>
<pre>Dear GATE users,
I am interested in simulating with GPU, unfortunately I do not have access
to a voxelized phantom and source. The ones in the examples folder don't
seem to work. Can someone ever so kindly provide me with a voxelized
phantom and source to test my GPU simulations?
Thank you very much,
Gonçalo Cosme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160917/b67a5df1/attachment.html">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160917/b67a5df1/attachment.html</a>>
</pre>
<hr>
<ul><li>Previous message: <a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/009159.html">[Gate-users] Multiple Fields
</a></li><li>Next message: <a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/009160.html">[Gate-users] CT images
</a></li><li> <b>Messages sorted by:</b>
<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/date.html#9158">[ date ]</a>
<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/thread.html#9158">[ thread ]</a>
<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/subject.html#9158">[ subject ]</a>
<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/2016-September/author.html#9158">[ author ]</a>
</li></ul>
<hr>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">More information about the Gate-users
mailing list</a></div></div></div></div></div></div></div></div></div></div></div>