Closed pinae closed 8 years ago
This is a CUDA compatibility issue, unrelated to Brainstorm. CUDA 7.0 (and 7.5) do not support gcc > 4.9.2 See: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements For CUDA 7.0, system requirements are here: https://a248.e.akamai.net/f/248/10/10/developer.download.nvidia.com/compute/cuda/7_0/Prod/doc/CUDA_Getting_Started_Linux.pdf According to it, the recommended combination is Ubuntu 14.10 + gcc 4.9.1
You could try following this hack (the part about patching the host_config.h
).
As @Qwlouse suggested: skipping the check makes cuda run with gcc 5. I only had to adjust /usr/local/cuda-7.0/include/host_config.h
like this:
if GNUC > 4 || (GNUC == 4 && GNUC_MINOR > 9)
//#error -- unsupported GNU version! gcc 4.10 and up are not supported!
endif /* GNUC> 4 || (GNUC == 4 && GNUC_MINOR > 9) */
Now it works. Thanks for your help!
I'm trying to run the mnist example on Ubuntu 15.10 on a system with a GTX970. The following error occurs:
I installed brainstorm as described in the README. I think Cuda is in version 7.0 but I just updated it from 6.5. gcc is in version 5.2.1. If you need any other information let me know.