<div dir="ltr"><img class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/6dc793438907b6705f645e8bffb75830c062a834.png?u=3054344" width="0" height="0"><div></div><div>Hi Dear Gate User <br></div><div>Dear Ezzat <br></div><div>Dear Jiri<br></div><div><br></div><div>At first Thanks for answering my question.</div><div><br></div><div>I edit the file "Gate_generated_GateGPUManager.cu.o.cmake" and replace the line <br></div><div><br></div><div><br></div><div>set(CUDA_NVCC_FLAGS -gencode arch=compute_20,code=sm_20;-gencode arch=compute_30,code=sm_30;-use_fast_math;-w;--ptxas-options=-v ;; ) # list<br># Build specific configuration flags</div><div><br></div><div><br></div><div>with the below lines that you suggested to me:</div><div>------------------------------------------------------------------------------------------------------------------<br>SET(CUDA_NVCC_FLAGS "-gencode arch=compute_20,code=sm_20;-gencode arch=compute_30,code=sm_30;-gencode arch=compute_32,code=sm_32;-gencode arch=compute_35,code=sm_35;-gencode arch=compute_37,code=sm_37;-gencode arch=compute_50,code=sm_50;-gencode arch=compute_52,code=sm_52;-gencode arch=compute_52,code=sm_52;-gencode arch=compute_52,code=sm_52;-gencode arch=compute_52,code=sm_52;-use_fast_math;-w;--ptxas-options=-v")<br>list(APPEND CUDA_NVCC_FLAGS "-std c++11;-O2;-DVERBOSE;-D_MWAITXINTRIN_H_INCLUDED;-D_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><div><br></div><div><br></div><div>But I get get the below errors:</div><div><br></div><div><br></div><div>CMake Error at Gate_generated_GateGPUManager.cu.o.cmake:78 (CUDA_ADD_EXECUTABLE):<br>  Unknown CMake command "CUDA_ADD_EXECUTABLE".<br><br><br>CMakeFiles/Gate.dir/build.make:63: recipe for target 'CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_GateGPUManager.cu.o' failed<br>make[2]: *** [CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_GateGPUManager.cu.o] 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></div><div><br></div><div>I wonder if encounter with this error before and have time to solve this issue?</div><div>I will be thankful if you can help me</div><div><br></div><div>best</div><div>Mery<br></div><div><br>‌</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 4, 2018 at 4:58 PM Ezzat Elmoujarkach <<a href="mailto:ezzat.elmo@gmail.com">ezzat.elmo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="m_2155334160411352169gmail-gr_ m_2155334160411352169gmail-gr_57 m_2155334160411352169gmail-gr-alert m_2155334160411352169gmail-gr_spell m_2155334160411352169gmail-gr_inline_cards m_2155334160411352169gmail-gr_run_anim m_2155334160411352169gmail-ContextualSpelling" id="m_2155334160411352169gmail-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;-gencode arch=compute_30,code=sm_30;-gencode arch=compute_32,code=sm_32;-gencode arch=compute_35,code=sm_35;-gencode arch=compute_37,code=sm_37;-gencode arch=compute_50,code=sm_50;-gencode arch=compute_52,code=sm_52;-gencode arch=compute_52,code=sm_52;-gencode arch=compute_52,code=sm_52;-gencode arch=compute_52,code=sm_52;-use_fast_math;-w;--ptxas-options=-v")<br>list(APPEND CUDA_NVCC_FLAGS "-std c++11;-O2;-DVERBOSE;-D_MWAITXINTRIN_H_INCLUDED;-D_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="m_2155334160411352169gmail-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" target="_blank">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" target="_blank">gate-users@lists.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.opengatecollaboration.org/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" target="_blank">gate-users-request@lists.opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gate-users-owner@lists.opengatecollaboration.org" target="_blank">gate-users-owner@lists.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>
----------------------------------------------------------------------<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" target="_blank">mery.mb.mph@gmail.com</a>><br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
Subject: Re: [Gate-users] Install Gate based on GPU<br>
Message-ID:<br>
        <CAKkaMoObYJh3TakRYdjv5ZutNyt3se89PouNHxkK_nL0i=<a href="mailto:vB6Q@mail.gmail.com" target="_blank">vB6Q@mail.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/gpu/src/Gate_generated_GateGPUManager.cu.o<br>
*nvcc fatal   : Unsupported gpu architecture 'compute_20'*<br>
CMake Error at Gate_generated_GateGPUManager.cu.o.cmake:207 (message):<br>
  Error generating<br>
<br>
/home/bioinformatics-lab-03/Behmadi/Build/Gate/CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o<br>
<br>
<br>
CMakeFiles/Gate.dir/build.make:63: recipe for target<br>
'CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_GateGPUManager.cu.o'<br>
failed<br>
make[2]: ***<br>
[CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_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" target="_blank">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" target="_blank">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_source=gmail&utm_medium=signature&utm_campaign=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_source=gmail&utm_medium=signature&utm_campaign=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" target="_blank">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.opengatecollaboration.org/pipermail/gate-users/attachments/20180704/bbe63b34/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 146, Issue 4<br>
******************************************<br>
</blockquote></div><br></div></div>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>