|
|
Line 200: |
Line 200: |
| Bus Id : 00000000:00:05.0 | | Bus Id : 00000000:00:05.0 |
| </pre> | | </pre> |
|
| |
| <!-- ============ UPDATE PREPARATION DO NOT PUBLISH YET! ========================== -->
| |
| <!--
| |
| == Preparation of a VM running Almalinux8 == <!--T:76-->
| |
|
| |
| <!--T:77-->
| |
| Once the VM is available, make sure to update the OS to the latest available software, including the kernel. Then, reboot the VM to have the latest kernel running.
| |
| To have access to the [https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support DKMS package], the [https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm EPEL repository] is required.
| |
| <pre>
| |
| [root@vgpu almalinux]# dnf -y update && dnf -y install epel-release && reboot
| |
| </pre>
| |
|
| |
| <!--T:78-->
| |
| After the reboot of the VM, the [http://repo.arbutus.cloud.computecanada.ca/pulp/repos/alma8/Packages/a/arbutus-cloud-vgpu-repo-1.0-1.el8.noarch.rpm Arbutus Cloud repository]
| |
| needs to be installed.
| |
|
| |
| <!--T:79-->
| |
| <pre>
| |
| [root@almalinux8]# dnf install http://repo.arbutus.cloud.computecanada.ca/pulp/repos/alma8/Packages/a/arbutus-cloud-vgpu-repo-1.0-1.el8.noarch.rpm
| |
| </pre>
| |
|
| |
| <!--T:80-->
| |
| The next step is to install the vGPU packages, which will install the required driver and user-space tools.
| |
|
| |
| <!--T:81-->
| |
| <pre>
| |
| [root@vgpu almalinux]# dnf -y install nvidia-vgpu-gridd.x86_64 nvidia-vgpu-tools.x86_64 nvidia-vgpu-kmod.x86_64
| |
| </pre>
| |
|
| |
| <!--T:82-->
| |
| After a successful installation, <b>nvidia-smi</b> can be used to verify the proper functionality.
| |
|
| |
| <!--T:83-->
| |
| <pre>
| |
| [root@almalinux8]# nvidia-smi
| |
| Tue Apr 23 16:37:31 2024
| |
| +-----------------------------------------------------------------------------------------+
| |
| | NVIDIA-SMI 550.54.15 Driver Version: 550.54.15 CUDA Version: 12.4 |
| |
| |-----------------------------------------+------------------------+----------------------+
| |
| | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| |
| | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| |
| | | | MIG M. |
| |
| |=========================================+========================+======================|
| |
| | 0 GRID V100D-8C On | 00000000:00:06.0 Off | 0 |
| |
| | N/A N/A P0 N/A / N/A | 0MiB / 8192MiB | 0% Default |
| |
| | | | N/A |
| |
| +-----------------------------------------+------------------------+----------------------+
| |
|
| |
| +-----------------------------------------------------------------------------------------+
| |
| | Processes: |
| |
| | GPU GI CI PID Type Process name GPU Memory |
| |
| | ID ID Usage |
| |
| |=========================================================================================|
| |
| | No running processes found |
| |
| +-----------------------------------------------------------------------------------------+
| |
| </pre>
| |
| -->
| |
|
| |
|
| == Preparation of a VM running Almalinux8 == <!--T:76--> | | == Preparation of a VM running Almalinux8 == <!--T:76--> |