Building VTK with NVIDIA EGL for headless server

Hi all,

I’d like to build VTK on our headless server with the NVIDIA EGL libraries. However, I’m having trouble finding the right libraries and headers to link to. Any advice?

Were running RHEL 7.9 with the NVIDIA 515.65.01 drivers on a Tesla V100. We have the NVIDIA drivers and libraries installed from the following RPMs:

  • nvidia-driver-latest-dkms
  • nvidia-driver-latest-dkms-libs
  • nvidia-driver-latest-dkms-devel

From nvidia-driver-latest-dkms-libs, I can find the following libraries. However, I’m not sure where to find libGL

  • /usr/lib64/libEGL_nvidia.so.0
  • /usr/lib64/libGLESv2_nvidia.so.2
  • /usr/lib64/libGLX_nvidia.so.0

And from nvidia-driver-latest-dkms-devel, I see the following path was installed but it is empty (no headers inside)

  • /usr/include/nvidia/GL

Any tips on finding libGL and the development headers for this case?

Best,
Ron

Research Scientist II, Research Software Engineer
Partnership for an Advanced Computing Environment (PACE)
Georgia Institute of Technology