Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What recommended CUDA, CUDNN, GCC versions? #803

Open
hana9090 opened this issue Apr 9, 2018 · 2 comments
Open

What recommended CUDA, CUDNN, GCC versions? #803

hana9090 opened this issue Apr 9, 2018 · 2 comments

Comments

@hana9090
Copy link

hana9090 commented Apr 9, 2018

I want to make the faster rcnn, I have a VM with UBUNTU 17.10 64bit.
I install CUDA8 and CuDNN 6 then CUDNN 5.
However, when I want to build the lib folder in faster project, I got this

error: /usr/local/cuda/include/host_config.h:119:2: error: #error --
unsupported GNU version! gcc versions later than 5 are not supported!

#error -- unsupported GNU version! gcc versions later than 5 are not supported! ^~~~~ error: command '/usr/local/cuda/bin/nvcc' failed

with exit status 1

Although the default gcc version is:

$ gcc --version

gcc-5 (Ubuntu 5.5.0-1ubuntu2) 5.4.1 20171010

This is to verify the CudNN version is 5:

$ cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR      5
#define CUDNN_MINOR      1
#define CUDNN_PATCHLEVEL 10
--
#define CUDNN_VERSION    (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

#include "driver_types.h"

CUDA version:

 $ nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2016 NVIDIA Corporation
    Built on Tue_Jan_10_13:22:03_CST_2017
    Cuda compilation tools, release 8.0, V8.0.61

I tried some suggestion to install gcc 4.9 but it can't be downloaded!

$ sudo apt install gcc-4.9 g++-4.9

Package g++-4.9 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-4.9' has no installation candidate
E: Package 'g++-4.9' has no installation candidate
@chuanzihe
Copy link

Have you successfully build your caffe?
Check out the Makefile.config by rbg - https://dl.dropboxusercontent.com/s/6joa55k64xo2h68/Makefile.config?dl=0.
He used gcc-4.7.

For cudnn and cuda, check here #237

@chuanzihe
Copy link

also check out a ubuntu17.04 comment here #509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants