Using cloud GPUs: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 32: Line 32:


<pre>
<pre>
apt-get update && apt-get -y dist-upgrade && apt-get -y install pciutils linux-headers-`uname -r` nvidia-driver
root@gpu2:~# apt-get update && apt-get -y dist-upgrade && apt-get -y install pciutils linux-headers-`uname -r` nvidia-driver
</pre>
</pre>
After the installation has finished and the nvidia has been automatically compiled and loaded, the following steps can be used to verify that everything has been prepared to launch the ''nvidia-persistenced'', which will create the device files and makes the GPU accessible to the user space.
After the installation has finished and the nvidia has been automatically compiled and loaded, the following steps can be used to verify that everything has been prepared to launch the ''nvidia-persistenced'', which will create the device files and makes the GPU accessible to the user space.
Line 64: Line 64:
Now the userspace process can be started, which will create the necessary character device files.
Now the userspace process can be started, which will create the necessary character device files.
<pre>
<pre>
service nvidia-persistenced  restart
root@gpu2:~# service nvidia-persistenced  restart


root@gpu2:~# ls -al /dev/nvidia*
root@gpu2:~# ls -al /dev/nvidia*
Line 85: Line 85:


* Installation for the required tools and libraries.
* Installation for the required tools and libraries.
<pre>
root@gpu2:~# yum -y install epel-release gcc kernel-devel kernel-headers pciutils
root@gpu2:~# yum -y dkms
</pre>


</translate>
</translate>
cc_staff
247

edits

Navigation menu