Optix 6.5 cannot recognize device

Deriving from the display driver version you’re running on a Linux OS?
Are you saying that not even the OptiX SDK 6.5.0 example optixDeviceQuery is working on that system?

The OptiX 6.5 and 7 core implementation ships with the diplay driver.
Means it could be that the driver is not correctly finding the required library.
Check this thread: https://forums.developer.nvidia.com/t/optix-error-failed-to-load-optix-library/70671

Maybe try updating or reinstalling the display drivers. Do not use the ones shipping with the CUDA toolkits.

The Tesla V100 is only used for compute workloads, not for graphics.
Most of the OptiX SDK 6.5.0 examples use OpenGL interoperability by default to display the resulting image quicker via an OpenGL pixel buffer object.
If you can get OptiX 6.5.0 to work on that system, most examples would require the -nopbo command line option to work.

If you’re just starting with OptiX, I would really recommend using an OptiX 7 version which uses a much more modern API.
Follow all links in this post for more information: https://forums.developer.nvidia.com/t/general-optix-5-to-optix-7-code/157527/2

It’s unfortunate that the Tesla V100 driver releases are not at the same version as the Quadro GV100 drivers which already have 455.28 released, which would be required to use the newest OptiX SDK 7.2.0 release. I don’t know if these would install on a system with just a Tesla V100 as well.