[Gate-users] Trouble installing GATE with CUDA enabled

Boersma David david.boersma at medaustron.at
Thu Apr 5 20:21:46 CEST 2018


Hi Jacub,

First: we have had a lack of GPU development manpower for quite a while, it is likely that we need to drop GPU support in the near future.

Second: I am not at a GPU expert, but when I was testing the develop branch in preparation for the 8.1 release, I ran in to the same problem, using the same CUDA compiler (the current release, 9.1). I did some googling and found reports about similar/identical errors, and it looks like this is due to an internal CUDA compiler bug: nvcc crashes with a segfault when trying to compile our code. Compilers really shouldn't crash like that, no matter how bad/evil/weird/outdated our code might be. For me the error went away if I add "-G" to the list of compiler options (edit the CMakeLists.txt file, insert "-G;" in the option string in the 'SET(CUDA_NVCC_FLAGS ...' line). However, that is a pretty ugly blunt axe solution. It selects "debug" mode, which makes it *much* slower, which is very probably very unwelcome. Maybe this compiler bug will be fixed in the next CUDA release? You could maybe also try downgrading to an older CUDA version, maybe that makes the crash go away without speed penalty. I did not yet find time to try this myself, unfortunately.

Please let us know if you have any success in this topic, there seem to be more users on the mailing list interested in this.

Good luck,
David B.

-----Original Message-----
From: Gate-users [mailto:gate-users-bounces at lists.opengatecollaboration.org] On Behalf Of jbaran
Sent: Thursday, April 5, 2018 4:31 PM
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] Trouble installing GATE with CUDA enabled

Dear Gate Users,

I am trying to enable GPU support for GATE v8.0 (TITAN X graphic card,
driver: 387, CUDA 9.1.85). I found the problem during the compilation as it is indicated in one of the archive messages:

https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fpipermail%2Fgate-users%2F2018-January%2F010089.html&data=02%7C01%7Cdavid.boersma%40medaustron.at%7C5ea85d73a35747a76f2108d59b01f39a%7Cadb749e06dfd4f6fbea8cd9f8e0c9b89%7C0%7C0%7C636585355046203758&sdata=1nJPldcknXvZLdmcOzAHth%2BBB4PvD%2BSMyB613V6hH5I%3D&reserved=0

However there is no solution so far.

My error is as follows:
[  0%] Building NVCC (Device) object
CMakeFiles/Gate.dir/source/gpu/src/Gate_generated_GateGPUManager.cu.o
Segmentation fault
CMake Error at Gate_generated_GateGPUManager.cu.o.cmake:266 (message):
   Error generating file

/usr/local/gate/gate_v8.0-build/CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o


CMakeFiles/Gate.dir/build.make:930: 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:67: 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 am wondering if anyone of you have similar problem and solve it somehow and could give any tips.
Yours help is very appreciated.

Regards,
Jakub
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-users&data=02%7C01%7Cdavid.boersma%40medaustron.at%7C5ea85d73a35747a76f2108d59b01f39a%7Cadb749e06dfd4f6fbea8cd9f8e0c9b89%7C0%7C0%7C636585355046203758&sdata=KNIA%2FYStG9AiFKIRTqbQXRODoFOIEaNNO%2FnGSj%2BdPGg%3D&reserved=0
Disclaimer:
Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/



More information about the Gate-users mailing list