Ubuntu Deep Alchemy Environment Configuration

Ubuntu Deep Alchemy Environment Configuration

The most troublesome thing about deep alchemy is the environment configuration. The following process records the configuration of my deep alchemy environment.

The first is to install the graphics card driver, follow the instructions below

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nvidia-396

This completes the installation of the graphics card driver.

The next step is to install CUDA, which is a more troublesome job. The first is to download the latest CUDA version from the official website. The following commands are also available, but the installed version is usually not the latest.

sudo apt install nvidia-cuda-toolkit

Just download the runfile, and the installation process is relatively simple. To verify that the installation was successful, you can test it as follows:

To check the version number of cuda, enter the following command:

nvcc -V

Compile CUDA samples. In the process of installing CUDA, find the storage location of the samples you selected, run the make command after entering, and then you can find the bin/x86_64/linux/release/ directory in the Samples, and switch to this directory to run the deviceQuery program, sudo ./deviceQuery pass i.e. pass.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325217428&siteId=291194637