-
Notifications
You must be signed in to change notification settings - Fork 1
Linux SetUp
(Updated 11/2021) The latest version of CUDA (11.*) is not yet compatable with the latest version of the ggc compiler (11.*), wherefore it is necessary to install an older version of the gcc compilers. It seems that version 8 is a good compromise.
sudo apt-get install gcc-8 g++-8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8
The successful installation can be checked by
gcc --version
g++ --version
Since depreciation of texture references with the CUDA upgrade to 11.3 influences some of our features, we continue to use the slightly older version 11.1.
Follow steps 1 and 2 of NVIDIA Toolbox Installation Guide.
In step 2.7 the right version for download can be found in the CUDA Toolkit archive, the deb version avoid additional steps, and it is easy to follow directly the installation steps on the download page with one adaption:
sudo apt-get -y install cuda-11-1
Do not forget to perform the post-installation steps to set the new PATH variable, where it is recommended to add those commands also to .bashrc