<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@Malgun Gothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p><span style="font-family:"Calibri",sans-serif;color:black">Dear GATE users,<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I have been trying to install GATE on ubuntu 1604 with the hope of leveraging GPU. However, I am stuck at the installation with the following error message.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">-----------------------------------------<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">[  4%] Built target MetaIO<br>
[  6%] Built target itkzlib<br>
[  6%] Building NVCC (Device) object CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_GateGPUManager.cu.o<br>
Segmentation fault (core dumped)<br>
CMake Error at Gate_generated_GateGPUManager.cu.o.cmake:266 (message):<br>
  Error generating file<br>
  /home/hughlee/Softwares/gate_v8.0-build/CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o<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:138: recipe for target 'all' failed<br>
make: *** [all] Error 2<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">-----------------------------------------<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I was first getting "Unsupported gpu architecture compute_20" so I went into CMakeList.txt and removed the obsolete cuda architectures 20 and 21, as per suggestion from
<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><a href="http://lists.opengatecollaboration.org/pipermail/gate-users/2017-April/009587.html">http://lists.opengatecollaboration.org/pipermail/gate-users/2017-April/009587.html.</a> However, I'm still
 stuck at the same step, now with a segmentation fault. I initially had CUDA 9.1 with NVIDIA 387 driver, but then downgraded to CUDA 8.0 to test out if it makes any difference. Still the same. I think I have searched the web pretty thoroughly but wasn't able
 to find any clue on what the problem is.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Below are the outputs from nvidia-smi and nvcc -V, just in case if these help with finding the problem.<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif;color:black">+-----------------------------------------------------------------------------+<br>
| NVIDIA-SMI 387.34                 Driver Version: 387.34                    |<br>
|-------------------------------+----------------------+----------------------+<br>
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |<br>
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |<br>
|===============================+======================+======================|<br>
|   0  Quadro M2000        Off  | 00000000:01:00.0 Off |                  N/A |<br>
| 56%   40C    P0    23W /  75W |    550MiB /  4038MiB |      2%      Default |<br>
+-------------------------------+----------------------+----------------------+<br>
                                                                               <br>
+-----------------------------------------------------------------------------+<br>
| Processes:                                                       GPU Memory |<br>
|  GPU       PID   Type   Process name                             Usage      |<br>
|=============================================================================|<br>
|    0      1055      G   /usr/lib/xorg/Xorg                           374MiB |<br>
|    0      1708      G   compiz                                       165MiB |<br>
|    0      2640      G   /usr/lib/firefox/firefox                       1MiB |<br>
|    0      2705      G   /usr/lib/firefox/firefox                       1MiB |<br>
+-----------------------------------------------------------------------------+<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif;color:black">nvcc: NVIDIA (R) Cuda compiler driver<br>
Copyright (c) 2005-2016 NVIDIA Corporation<br>
Built on Sun_Sep__4_22:14:01_CDT_2016<br>
Cuda compilation tools, release 8.0, V8.0.44<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Your help is very much appreciated. Thank you.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Best,<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Hugh HC Lee<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td><!-- Copyright 2015. UT Southwestern Medical Center 12082014v1 -->
<p align="right" style="text-align:right"><span style="font-size:17pt;letter-spacing:-3px;font-family:"Helvetica","sans-serif";color:#0054A0;font-weight:bolder;">UT</span><span style="font-size:17pt;letter-spacing:-0px;font-family:"Helvetica","sans-serif";color:#0054A0;font-weight:bolder;">
 Southwestern</span> </p>
</td>
</tr>
<tr>
<td>
<p align="right" style="text-align:right"><span style="font-size:13pt;font-family:"Helvetica","sans-serif";color:#666D70;">Medical Center</span></p>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>
<p style="text-align:right"><span style="font-size:10pt;font-family:"Helvetica","sans-serif"; color:#666D70;">The future of medicine, today.</span></p>
</td>
</tr>
</tbody>
</table>
</body>
</html>