![]() Installing the CUDA Toolkit on a Linux ECS ¶ If the command output contains the installed driver version, the driver has been installed.įigure 15 Viewing the NVIDIA driver version ¶ Open the cmd window on the ECS and run the following commands:Ĭd C:\Program Files\NVIDIA Corporation\NVSMI Switch to Device Manager and click Display adapters. Select an installation path and click OK.įigure 12 Selecting an installation path ¶įigure 13 Completing the driver installation ¶Ĭheck whether the NVIDIA driver has been installed. On the TESLA DRIVER FOR WINDOWS page that is displayed, click DOWNLOAD.Ĭlick Agree & Download to download the installation package.įigure 10 Downloading the driver installation package ¶įigure 11 Running the NVIDIA driver installation program ¶ The following uses Tesla 425.25 as an example.įigure 9 Selecting a driver version (Windows) ¶Ĭlick the driver to be downloaded. Select a driver version at NVIDIA Driver Downloads based on the ECS type.įigure 8 Selecting a driver type (Windows) ¶ The following uses Windows Server 2016 Standard 64bit as an example to describe how to install a Tesla driver on a GPU-accelerated ECS. Installing a Tesla Driver on a Windows ECS ¶ If the command output contains the installed driver version, the driver has been installed.įigure 7 Viewing the NVIDIA driver version ¶ Log in to the ECS and run the nvidia-smi command. Run the reboot command to restart the ECS. Run the following command to set systemd: Select OK for three consecutive times as prompted to complete the driver installation.įigure 6 Completing the NVIDIA driver installation ¶ Mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bakĭracut -v /boot/initramfs-$(uname -r).img $(uname -r) Run the following command to back up and create an initramfs application: If the /etc/modprobe.d/nf file is unavailable, create it.Īdd the following statement to the end of the file:īlacklist nouveau options nouveau modeset = 0 If the command output does not contain information about the Nouveau driver, the Nouveau driver has been disabled. If the command output contains information about the Nouveau driver, the Nouveau driver has been installed and must be disabled. Run the following command to check whether the Nouveau driver has been installed: (Optional) If the following information is displayed after the command for installing the driver is executed, disable the Nouveau driver. Run the following command to install the driver: Run the following command on the ECS to download the driver:įigure 4 Obtaining the installation package ¶ On the TESLA DRIVER FOR LINUX X64 page that is displayed, click DOWNLOAD. The following uses Tesla 418.67 as an example.Ĭlick the driver to be downloaded. Click SEARCH.įigure 1 Selecting a NVIDIA driver version ¶ Select a driver version at NVIDIA Driver Downloads based on the ECS type. Install the desired program: yum install -y kernel-devel-`uname -r` gcc gcc-c++ Update the software installation source: yum -y update -exclude=kernel* -exclude=centos-release* -exclude=initscripts* Install necessary programs: apt-get install gcc g++ make Update the software installation source: apt-get -y update Update the system software based on the OS. It is recommended that the release time of the kernel version and driver version be the same. In such a case, select the desired kernel version and driver version and reinstall them. If the log shows that the failure was caused by a driver compilation error, for example, the get_user_pages parameter setting is incorrect, the kernel version is incompatible with the driver version. If installing the driver failed, check the driver installation log, which is generally stored in /var/log/nvidia-installer.log. The Linux kernel version is compatible with the driver version. The following uses Ubuntu 16.04 64bit as an example to describe how to install the Tesla driver matching CUDA 10.1 on a GPU-accelerated ECS. Installing a Tesla Driver on a Linux ECS ¶ Installing the CUDA Toolkit on a Windows ECS Installing the CUDA Toolkit on a Linux ECS Installing a Tesla Driver on a Windows ECS Obtaining a Tesla Driver and CUDA Toolkit Before installing a new driver version, uninstall the original Tesla driver to prevent an installation failure due to driver conflicts. ![]() If a Tesla driver has been installed on the ECS, check the driver version. However, if there are specific requirements or dependencies on the Tesla driver version, download the matching Tesla driver from the official NVIDIA website first and then install the driver before installing the CUDA toolkit. A Tesla driver matching the CUDA version will be automatically installed then. Download the CUDA toolkit from the official NVIDIA website and install it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |