Copying GPU Driver Files
Context
For a GPU-enabled edge node, you need to copy GPU driver files to specific directories on the edge node before managing it.
Currently, IEF supports NVIDIA Tesla GPUs such as P4, P40 and T4, and the GPU drivers that match CUDA Toolkit 8.0 to 10.0.
Prerequisites
The GPU driver has been installed on the edge node following the official NVIDIA guide.
Procedure
- Log in to the edge node as user root.
- Run the following command:
nvidia-modprobe -c0 -u
- Create directories.
mkdir -p /var/IEF/nvidia/drivers /var/IEF/nvidia/bin /var/IEF/nvidia/lib64
- Copy GPU driver files to the directories.
cp /lib/modules/{Kernel version of the current environment}/kernel/drivers/video/nvi* /var/IEF/nvidia/drivers/
cp /usr/bin/nvidia-* /var/IEF/nvidia/bin/
cp -rd /usr/lib64/libcuda* /var/IEF/nvidia/lib64/
cp -rd /usr/lib64/libEG* /var/IEF/nvidia/lib64/
cp -rd /usr/lib64/libGL* /var/IEF/nvidia/lib64/
cp -rd /usr/lib64/libnv* /var/IEF/nvidia/lib64/
cp -rd /usr/lib64/libOpen* /var/IEF/nvidia/lib64/
cp -rd /usr/lib64/libvdpau_nvidia* /var/IEF/nvidia/lib64/
cp -rd /usr/lib64/vdpau /var/IEF/nvidia/lib64/
You can run the uname -r command to view the kernel version of the current environment. The following is an example. Replace the kernel version with the actual value.
# uname -r 3.10.0-514.e17.x86_64
Last Article: Logs, Monitoring, and Alarms
Next Article: End Device Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.