From 96217f6179f276389d1b6d2d3f717d20be6f749f Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 11 Feb 2020 20:34:57 +0100 Subject: [PATCH] update to current settings (#1024) The current CUDA Toolkit is v10.2 and now supports gcc8. I was able to install it only when the --samples option was removed. This is advice from https://community.clearlinux.org/t/cuda-toolkit-installation-error/1699 --- source/tutorials/nvidia-cuda.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/tutorials/nvidia-cuda.rst b/source/tutorials/nvidia-cuda.rst index 2eb89c74..7f69a607 100644 --- a/source/tutorials/nvidia-cuda.rst +++ b/source/tutorials/nvidia-cuda.rst @@ -70,7 +70,7 @@ Refer to the `NVIDIA documentation on CUDA system requirements `_ for the latest kernel and compiler compatibility. -For example, CUDA 10.1 on a system with the latest Linux kernel requires GCC7, +For example, CUDA 10.2 on a system with the latest Linux kernel requires GCC8, which is older than the default GCC version for |CL|. Install the compatible version of GCC, if required: @@ -79,7 +79,7 @@ Install the compatible version of GCC, if required: .. code:: bash - sudo swupd bundle-add c-extras-gcc7 + sudo swupd bundle-add c-extras-gcc8 #. Create the directory :file:`/usr/local/cuda/bin`: @@ -95,8 +95,8 @@ Install the compatible version of GCC, if required: .. code:: bash - sudo ln -s /usr/bin/gcc7 /usr/local/cuda/bin/gcc - sudo ln -s /usr/bin/g++7 /usr/local/cuda/bin/g++ + sudo ln -s /usr/bin/gcc8 /usr/local/cuda/bin/gcc + sudo ln -s /usr/bin/g++8 /usr/local/cuda/bin/g++ Downloading and Installation @@ -173,7 +173,6 @@ installed. sudo ./cuda__linux.run \ --toolkit \ - --samples \ --installpath=/opt/cuda \ --no-man-page \ --override \