<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(0,0,255)">Thanks all for your help,Simon.</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(0,0,255)">I will try it again when i am at home :)</div><div class="gmail_default"><span style="color:rgb(0,0,255);font-family:'trebuchet ms',sans-serif">As for using  Cuda in remote control, i can handle it:just like what Chao said, change lab computer to TCC. </span></div><div class="gmail_default"><span style="color:rgb(0,0,255);font-family:'trebuchet ms',sans-serif"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,255);font-family:'trebuchet ms',sans-serif">What confused me at the beginning is that a cuda error shown while i did not call cuda at all, and thanks for fixing it.</span></div><div class="gmail_default"><span style="color:rgb(0,0,255);font-family:'trebuchet ms',sans-serif">Regards </span></div><div class="gmail_default"><span style="color:rgb(0,0,255);font-family:'trebuchet ms',sans-serif">Guangming</span></div><div class="gmail_default"><span style="color:rgb(0,0,255);font-family:'trebuchet ms',sans-serif"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,255);font-family:'trebuchet ms',sans-serif"><br></span></div><div class="gmail_default"><span style="color:rgb(0,0,255);font-family:'trebuchet ms',sans-serif"><br></span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="line-height:23.32400131225586px" face="arial, helvetica, sans-serif" color="#674ea7"><b><i>Guangming Zang (Alex)</i></b></font><div style="line-height:23.32400131225586px"><font face="arial, helvetica, sans-serif"><b><i><font color="#0b5394">King Abdullah University of Science and Technology</font><font color="#073763">(KAUST)</font></i></b></font></div><div style="line-height:23.32400131225586px"><span style="font-family:arial;font-size:13px;line-height:20.020000457763672px"><font color="#0b5394"><b><i>University of Chinese Academy of Sciences(UCAS)</i></b></font></span><font face="arial, helvetica, sans-serif"><b><i><font color="#073763"><br></font></i></b></font></div><div style="line-height:23.32400131225586px"><span style="font-family:arial;font-size:13px;line-height:20.020000457763672px"><font color="#0b5394"><b><i><br></i></b></font></span></div><div style="line-height:23.32400131225586px"><span style="font-family:arial;font-size:13px;line-height:20.020000457763672px"><font color="#0b5394"><b><i><br></i></b></font></span></div><div style="line-height:23.32400131225586px"><br></div></div></div></div></div></div>
<br><div class="gmail_quote">2015-07-06 12:32 GMT+03:00 Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Guangming and all,<br>Thanks for reporting this change of behavior. My first answer is that what you find simple is not so simple... but you're right, v1.0.0 allowed to compile RTK with CUDA and to run it without a CUDA device. After a bit of trakcing, I found that the change of behavior has been introduced with <a href="https://github.com/SimonRit/RTK/commit/435c858b598f2bdad01d41760109acf347c98fb4" target="_blank">this patch</a> so you can blame me. It has now fixed this issue with <a href="https://github.com/SimonRit/RTK/commit/3a549c10193ecdbcd3a9192db53feb7b34eb80da" target="_blank">this patch</a>, which seems to work on my laptop, I hope it does on your computer as well.<br>I can't help you with the fact that you can't run CUDA software with remote control.<span class="HOEnZb"><font color="#888888"><br>Simon</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 4, 2015 at 4:19 PM, louie L <span dir="ltr"><<a href="mailto:ghostcz@hotmail.com" target="_blank">ghostcz@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>I think because in most cases people use their graphics in TCC mode for scientific computations or don't use gpu at all where the rtk_use_cuda is false.</div><div>Cheers,</div><div><br></div><div>Louie</div><div><br>Sent from my iOS </div><div><div><div><br>On 04 Jul 2015, at 16:12, Guangming Zang <<a href="mailto:guangming.zang@kaust.edu.sa" target="_blank">guangming.zang@kaust.edu.sa</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#0000ff">Ok, i see. Though i still do not understand why in new version rtk changes to call cudaimages, not keeping it simple like before. </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#0000ff">Thanks for the help, Chao.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#0000ff"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#0000ff"><br></div><div><div><div dir="ltr"><div><div dir="ltr"><font style="line-height:23.32400131225586px" face="arial, helvetica, sans-serif" color="#674ea7"><b><i>Guangming Zang (Alex)</i></b></font><div style="line-height:23.32400131225586px"><font face="arial, helvetica, sans-serif"><b><i><font color="#0b5394">King Abdullah University of Science and Technology</font><font color="#073763">(KAUST)</font></i></b></font></div><div style="line-height:23.32400131225586px"><span style="font-family:arial;font-size:13px;line-height:20.020000457763672px"><font color="#0b5394"><b><i>University of Chinese Academy of Sciences(UCAS)</i></b></font></span><font face="arial, helvetica, sans-serif"><b><i><font color="#073763"><br></font></i></b></font></div><div style="line-height:23.32400131225586px"><span style="font-family:arial;font-size:13px;line-height:20.020000457763672px"><font color="#0b5394"><b><i><br></i></b></font></span></div><div style="line-height:23.32400131225586px"><span style="font-family:arial;font-size:13px;line-height:20.020000457763672px"><font color="#0b5394"><b><i><br></i></b></font></span></div><div style="line-height:23.32400131225586px"><br></div></div></div></div></div></div>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Chao Wu</b> <span dir="ltr"><<a href="mailto:wuchao04@gmail.com" target="_blank">wuchao04@gmail.com</a>></span><br>Date: 2015-07-04 0:04 GMT+03:00<br>Subject: Re: Remote Control Issue<br>To: Guangming Zang <<a href="mailto:guangming.zang@kaust.edu.sa" target="_blank">guangming.zang@kaust.edu.sa</a>><br>Cc: <a href="mailto:rtk-users-request@public.kitware.com" target="_blank">rtk-users-request@public.kitware.com</a>, Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>><br><br><br><p dir="ltr">Now in many exes cudaimage is the default image type if rtk_use_cuda is defined, then if CUDA device is not available this error will occur. When using MS remote desktop, graphical card and driver are bypassed unless it is Tesla cards working in TCC mode. You can either compile exes without CUDA for remote desktop, or try other graphic-based remote desktop software like vnc or teamviewer.</p>
<p dir="ltr">Regards, Chao<br>
Sent from Samsung Galaxy Note 3</p>
<div class="gmail_quote"><div><div>2015年7月3日 10:26 PM于 "Guangming Zang" <<a href="mailto:guangming.zang@kaust.edu.sa" target="_blank">guangming.zang@kaust.edu.sa</a>>写道:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div style="font-family:'trebuchet ms',sans-serif;color:rgb(0,0,255)">Dear RTK community,</div><div style="font-family:'trebuchet ms',sans-serif;color:rgb(0,0,255)">







<p>There is some bug in RTK 1.1 version. That’s :</p>
<p>When i run commands In 1.1 version with my computer in the lab, RTK works fine, but when i  use my laptop at home to remote control  the computer in the lab, it does not work. i.e., no matter the command are (rtkfdk, ADMM,SART …), an error is always shown:</p>
<p>..\..\..\..\RTK-master\utilities\ITKCudaCommon\src\itkCudaDataManager.cxx:28 @ unknown : Cuda Error #3</p>
<p>but i did not use Cuda at all..<br></p>
<p>What’s more, when i run the 1.0 version RTK , it works well and no bug in remoter control mode.</p><p>So i think it is some problem caused by itk ??  can we fix this issue??</p>
<p>Thanks for help in advance</p>
<p><br></p>
<p>Regards</p>
<p>Guangming</p></div><div><div><div dir="ltr"><div><div dir="ltr"><font style="line-height:23.3240013122559px" face="arial, helvetica, sans-serif" color="#674ea7"><b><i>Guangming Zang (Alex)</i></b></font><div style="line-height:23.3240013122559px"><font face="arial, helvetica, sans-serif"><b><i><font color="#0b5394">King Abdullah University of Science and Technology</font><font color="#073763">(KAUST)</font></i></b></font></div><div style="line-height:23.3240013122559px"><span style="font-family:arial;font-size:13px;line-height:20.0200004577637px"><font color="#0b5394"><b><i>University of Chinese Academy of Sciences(UCAS)</i></b></font></span><font face="arial, helvetica, sans-serif"><b><i><font color="#073763"><br></font></i></b></font></div><div style="line-height:23.3240013122559px"><span style="font-family:arial;font-size:13px;line-height:20.0200004577637px"><font color="#0b5394"><b><i><br></i></b></font></span></div><div style="line-height:23.3240013122559px"><span style="font-family:arial;font-size:13px;line-height:20.0200004577637px"><font color="#0b5394"><b><i><br></i></b></font></span></div><div style="line-height:23.3240013122559px"><br></div></div></div></div></div></div>
</div>

<br>
</div></div><div><hr></div><font face="Arial" size="1">This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.</font></blockquote></div>
</div><br></div>

<br>
<div><hr></div><font face="Arial" size="1">This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.</font></div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Rtk-users mailing list</span><br><span><a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a></span><br><span><a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a></span><br></div></blockquote></div><br>_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

<br>
<div><hr></div><font face="Arial" size="1">This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.</font>