Using cloud vGPUs: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 262: Line 262:


<!--T:52-->
<!--T:52-->
If your installation was successful, the vGPU will be accessible and licensed.
Test by running <code>nvidia-smi</code> as shown above for [[Using cloud vGPUs#Preparation_of_a_VM_running_CentOS7 | CentOS7]].
== Preparation of a VM running Ubuntu18 == <!--T:57-->
Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running.
<!--T:58-->
<pre>
root@ubuntu18:~# apt-get update && apt-get -y dist-upgrade && reboot
</pre>
<!--T:59-->
After a successful reboot, the system should have the latest available kernel running.
Now the repository can be installed by installing the <code>arbutus-cloud-repo</code> package.
This package also contains the gpg key all packages are signed with.
<!--T:60-->
<pre>
root@ubuntu18:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/ubuntu18/pool/main/arbutus-cloud-repo_0.1ubuntu18_all.deb
root@ubuntu18:~# dpkg -i arbutus-cloud-repo_0.1ubuntu18_all.deb
</pre>
<!--T:61-->
A warning will be displayed since the signature key is added in the post-install stage. The warning can be ignored.
Update the local apt cache and install the vGPU packages:
<pre>
root@ubuntu18:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd
</pre>
<!--T:62-->
If your installation was successful, the vGPU will be accessible and licensed.
If your installation was successful, the vGPU will be accessible and licensed.
Test by running <code>nvidia-smi</code> as shown above for [[Using cloud vGPUs#Preparation_of_a_VM_running_CentOS7 | CentOS7]].
Test by running <code>nvidia-smi</code> as shown above for [[Using cloud vGPUs#Preparation_of_a_VM_running_CentOS7 | CentOS7]].
cc_staff
247

edits