[Gate-users] Trouble installing GATE with CUDA enabled
Heui Lee
Heui.Lee at UTSouthwestern.edu
Fri Jan 19 18:28:47 CET 2018
Dear GATE users,
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.
-----------------------------------------
[ 4%] Built target MetaIO
[ 6%] Built target itkzlib
[ 6%] Building NVCC (Device) object CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_GateGPUManager.cu.o
Segmentation fault (core dumped)
CMake Error at Gate_generated_GateGPUManager.cu.o.cmake:266 (message):
Error generating file
/home/hughlee/Softwares/gate_v8.0-build/CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o
CMakeFiles/Gate.dir/build.make:63: recipe for target 'CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_GateGPUManager.cu.o' failed
make[2]: *** [CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_GateGPUManager.cu.o] Error 1
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/Gate.dir/all' failed
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
-----------------------------------------
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
http://lists.opengatecollaboration.org/pipermail/gate-users/2017-April/009587.html.<http://lists.opengatecollaboration.org/pipermail/gate-users/2017-April/009587.html> 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.
Below are the outputs from nvidia-smi and nvcc -V, just in case if these help with finding the problem.
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.34 Driver Version: 387.34 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro M2000 Off | 00000000:01:00.0 Off | N/A |
| 56% 40C P0 23W / 75W | 550MiB / 4038MiB | 2% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1055 G /usr/lib/xorg/Xorg 374MiB |
| 0 1708 G compiz 165MiB |
| 0 2640 G /usr/lib/firefox/firefox 1MiB |
| 0 2705 G /usr/lib/firefox/firefox 1MiB |
+-----------------------------------------------------------------------------+
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Sun_Sep__4_22:14:01_CDT_2016
Cuda compilation tools, release 8.0, V8.0.44
Your help is very much appreciated. Thank you.
Best,
Hugh HC Lee
________________________________
UT Southwestern
Medical Center
The future of medicine, today.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180119/fdd9b478/attachment.html>
More information about the Gate-users
mailing list