2732 shaares
32 private links
32 private links
2 results
tagged
tips
It is possible to configure nvcc to use the correct version of gcc without passing any compiler parameters by adding softlinks to the bin directory created with the nvcc install.
The default cuda binary directory (the installation default) is /usr/local/cuda/bin, adding a softlink to the correct version of gcc from this directory is sufficient:
sudo ln -s /usr/bin/gcc-4.4 /usr/local/cuda/bin/gcc
sudo systemctl set-default multi-user.target
sudo systemctl set-default graphical.target
source https://docs.01.org/clearlinux/latest/tutorials/nvidia.html