Thank you sir for your reply.
Here are the details of the problems I am facing:
When I tried to run tensorflow-gpu on cuda-9.2, I get the following error:
“ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory
Failed to load the native TensorFlow runtime.”
I surfed the net a bit to find out what it means. I got that it means that the tensorflow module was looking for cuda-9.0, which is not installed. I know that multiple cuda version can co-exist.
So I tried to install cuda-9.0 too. Then I got this complier issue:
You are attempting to install on an unsupported configuration. Do you wish to continue?
(y)es/(n)o [ default is no ]: yes
Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 384.81?
Install the CUDA 9.0 Toolkit?
Enter Toolkit Location
[ default is /usr/local/cuda-9.0 ]:
/usr/local/cuda-9.0 is not writable.
Do you wish to run the installation with ‘sudo’?
Please enter your password:
Do you want to install a symbolic link at /usr/local/cuda?
Install the CUDA 9.0 Samples?
Enter CUDA Samples Location
[ default is /home/sahil ]:
Error: unsupported compiler: 7.2.0. Use --override to override this check.
Installing the CUDA Samples in /home/sahil …
Copying samples to /home/sahil/NVIDIA_CUDA-9.0_Samples now…
Finished copying samples.
= Summary =
Driver: Not Selected
Toolkit: Installation Failed. Using unsupported Compiler.
Samples: Installation Failed
Logfile is /tmp/cuda_install_3400.log
I ran the installation again with “–override”.
And faced the same error with tensorflow-gpu
I installed the gcc-6 compiler from the repo using the command:
sudo apt-get install gcc-6
Is there anything else I need to do to make the gcc-6 compatible with cuda-9.0?
Or is there any other solution to this problem?