<div dir="ltr"><div>Good day <span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Mery,</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I also faced the same issue when installing GATE with cuda. After checking around I found this to solve my issue:</span></div><div><br></div><div>In the cmakelists.txt in gate main file this under the <span class="gmail-gr_ gmail-gr_57 gmail-gr-alert gmail-gr_spell gmail-gr_inline_cards gmail-gr_run_anim gmail-ContextualSpelling" id="gmail-57" style="font-size:inherit;color:inherit;display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat">cuda</span> section, find the following and edit it as follows:</div><div><div style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br>%%%%<br>IF(GATE_USE_GPU AND CUDA_FOUND)<br> SET(CUDA_NVCC_FLAGS "-gencode arch=compute_20,code=sm_20;-<wbr>gencode arch=compute_30,code=sm_30;-<wbr>gencode arch=compute_32,code=sm_32;-<wbr>gencode arch=compute_35,code=sm_35;-<wbr>gencode arch=compute_37,code=sm_37;-<wbr>gencode arch=compute_50,code=sm_50;-<wbr>gencode arch=compute_52,code=sm_52;-<wbr>gencode arch=compute_52,code=sm_52;-<wbr>gencode arch=compute_52,code=sm_52;-<wbr>gencode arch=compute_52,code=sm_52;-<wbr>use_fast_math;-w;--ptxas-<wbr>options=-v")<br>list(APPEND CUDA_NVCC_FLAGS "-std c++11;-O2;-DVERBOSE;-D_<wbr>MWAITXINTRIN_H_INCLUDED;-D_<wbr>FORCE_INLINES")<br>SET(CUDA_PROPAGATE_HOST_FLAGS OFF)<br> CUDA_ADD_EXECUTABLE(Gate Gate.cc ${sources} ${sourcesGPU} ${headers})<br>ELSE(GATE_USE_GPU AND CUDA_FOUND)<br> ADD_EXECUTABLE(Gate Gate.cc ${sources} ${headers})<br>ENDIF(GATE_USE_GPU AND CUDA_FOUND)<br>%%%%</div><br class="gmail-Apple-interchange-newline">As far as I understood, this is something related to your GPU Compute Capability, mine was GTX 980M with 5.2 (also written as 52) you can check yours from the link below (6.1 for GTX 1080)</div><div><a href="https://developer.nvidia.com/cuda-gpus">https://developer.nvidia.com/cuda-gpus</a><br></div><div><br></div><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 4, 2018 at 1:00 PM, <span dir="ltr"><<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Gate-users mailing list submissions to<br>
<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.<wbr>opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gate-users-owner@lists.opengatecollaboration.org">gate-users-owner@lists.<wbr>opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Install Gate based on GPU (Mery MB)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 4 Jul 2018 11:51:01 +0430<br>
From: Mery MB <<a href="mailto:mery.mb.mph@gmail.com">mery.mb.mph@gmail.com</a>><br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
Subject: Re: [Gate-users] Install Gate based on GPU<br>
Message-ID:<br>
<<wbr>CAKkaMoObYJh3TakRYdjv5ZutNyt3s<wbr>e89PouNHxkK_nL0i=<a href="mailto:vB6Q@mail.gmail.com">vB6Q@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear Gate User<br>
<br>
As I write before, I want to install Gate based on GPU (Graphic Processing<br>
Unit) to increase my speed on cluster for running my programs.<br>
I change my system to a system with NVIDEA Graphic card (Nvidia GeForce GTX<br>
1080) and installed the Graphic card and CUDA tools<br>
Then I tried to install Gate 7.2 on my system but I get the below error. I<br>
wonder if someone have experience about this issue and can help me?<br>
Is there any special NVIDEA Graphic card for Gate?<br>
<br>
The error:<br>
<br>
[ 6%] Linking CXX static library libMetaIO.a<br>
[ 6%] Built target MetaIO<br>
[ 6%] Building NVCC (Device) object<br>
CMakeFiles/Gate.dir/source/<wbr>gpu/src/Gate_generated_<wbr>GateGPUManager.cu.o<br>
*nvcc fatal : Unsupported gpu architecture 'compute_20'*<br>
CMake Error at Gate_generated_GateGPUManager.<wbr>cu.o.cmake:207 (message):<br>
Error generating<br>
<br>
/home/bioinformatics-lab-03/<wbr>Behmadi/Build/Gate/CMakeFiles/<wbr>Gate.dir/source/gpu/src/./<wbr>Gate_generated_GateGPUManager.<wbr>cu.o<br>
<br>
<br>
CMakeFiles/Gate.dir/build.<wbr>make:63: recipe for target<br>
'CMakeFiles/Gate.dir/source/<wbr>gpu/src/Gate_generated_<wbr>GateGPUManager.cu.o'<br>
failed<br>
make[2]: ***<br>
[CMakeFiles/Gate.dir/source/<wbr>gpu/src/Gate_generated_<wbr>GateGPUManager.cu.o]<br>
Error 1<br>
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/Gate.dir/all' failed<br>
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2<br>
Makefile:127: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
<br>
Best<br>
Mery<br>
<br>
<br>
<br>
On Wed, Jun 27, 2018 at 1:03 PM Mathieu Dupont <<a href="mailto:mdupont@cppm.in2p3.fr">mdupont@cppm.in2p3.fr</a>><br>
wrote:<br>
<br>
> I'm not an expert of GPU but according to the documentation, GATE needs<br>
> CUDA for running on GPU and I see that you have a radeon GPU which is<br>
> not compatible with CUDA (as far as I know)<br>
><br>
> On Wed, 27 Jun 2018 12:37:49 +0430<br>
> Mery MB <<a href="mailto:mery.mb.mph@gmail.com">mery.mb.mph@gmail.com</a>> wrote:<br>
><br>
> > Dear Gate Usre<br>
> ><br>
> > I want to install Gate based on GPU (Graphic Processing Unit) to<br>
> > increase my speed on cluster for running my programs ?<br>
> > I wonder if someone can help me in this issue or have any experience?<br>
> > My Graphic card is as follow based on the script which I write in<br>
> > terminal:<br>
> ><br>
> > lspci -vnn | grep VGA -A 12<br>
> ><br>
> > 04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.<br>
> > [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9]<br>
> > (prog-if 00 [VGA controller])<br>
> > Subsystem: PC Partner Limited / Sapphire Technology Cedar [Radeon<br>
> > HD 5000/6000/7350/8350 Series] [174b:e199]<br>
> > Physical Slot: 2<br>
> > Flags: bus master, fast devsel, latency 0, IRQ 55<br>
> > Memory at e0000000 (64-bit, prefetchable) [size=256M]<br>
> > Memory at f0100000 (64-bit, non-prefetchable) [size=128K]<br>
> > I/O ports at 2000 [size=256]<br>
> > Expansion ROM at f0140000 [disabled] [size=128K]<br>
> > Capabilities: <access denied><br>
> > Kernel driver in use: radeon<br>
> > Kernel modules: radeon<br>
> ><br>
> > 04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI]<br>
> > Cedar HDMI Audio [Radeon HD 5400/6300 Series] [1002:aa68]<br>
> ><br>
> ><br>
> ><br>
> > Best<br>
> > Mery<br>
> ><br>
> ><br>
> > <br>
> > [image: Mailtrack]<br>
> > <<br>
> <a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality1&" rel="noreferrer" target="_blank">https://mailtrack.io?utm_<wbr>source=gmail&utm_medium=<wbr>signature&utm_campaign=<wbr>signaturevirality1&</a><br>
> ><br>
> > Sent<br>
> > with Mailtrack<br>
> > <<br>
> <a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality1&" rel="noreferrer" target="_blank">https://mailtrack.io?utm_<wbr>source=gmail&utm_medium=<wbr>signature&utm_campaign=<wbr>signaturevirality1&</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Mathieu Dupont - Ingénieur de Recherche<br>
> CENTRE DE PHYSIQUE DES PARTICULES DE MARSEILLE<br>
> UMR 7346 - Aix-Marseille Université - CNRS/IN2P3<br>
> 163 avenue de Luminy, Case 902, F -13288 Marseille CEDEX 09<br>
> Tél.: +33 (0) 4 91 82 72 19<br>
> Site : <a href="http://cppm.in2p3.fr" rel="noreferrer" target="_blank">cppm.in2p3.fr</a> - Email : <a href="mailto:mdupont@cppm.in2p3.fr">mdupont@cppm.in2p3.fr</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180704/bbe63b34/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>pipermail/gate-users/<wbr>attachments/20180704/bbe63b34/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 146, Issue 4<br>
******************************<wbr>************<br>
</blockquote></div><br></div></div>