Hello.
I’m trying to run a project which requires cuda 11.4 and Optix 7.0 in a docker container.
I pulled from this docker image nvidia/cuda:11.4.3-cudnn8-devel-ubuntu20.04 and followed this installation guide. After running cmake
and make
there’re some example programs in /root/NVIDIA-OptiX-SDK-7.0.0-linux64/SDK/build/bin
. However I encountered this error when running one of the examples:
root@bb491c107d01:~/NVIDIA-OptiX-SDK-7.0.0-linux64/SDK/build/bin# ./optixHello
Caught exception: OPTIX_ERROR_LIBRARY_NOT_FOUND: Optix call 'optixInit()' failed: /root/NVIDIA-OptiX-SDK-7.0.0-linux64/SDK/optixHello/optixHello.cpp:125)
This is my nvidia-smi command output in the container:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 Tesla V100-SXM2... Off | 00000000:60:00.0 Off | 0 |
| N/A 37C P0 47W / 300W | 0MiB / 16384MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
| 1 Tesla V100-SXM2... Off | 00000000:B2:00.0 Off | 0 |
| N/A 37C P0 48W / 300W | 0MiB / 16384MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+