optixInit error on A100

my nvidia GPU is A100-PCIE-40GB and my driver version is 570.86.115 just like this:

i have installed cuda toolkit :
nvcc --version

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Tue_Feb_27_16:19:38_PST_2024
Cuda compilation tools, release 12.4, V12.4.99
Build cuda_12.4.r12.4/compiler.33961263_0

But when i installed optix 9.0 , i got this problem:
sionna/NVIDIA-OptiX-SDK-9.0.0-linux64-x86_64/SDK/bin$ ./optixHello

Caught exception: OPTIX_ERROR_LIBRARY_NOT_FOUND: Optix call ‘optixInit()’ failed: /home/zhonggp/sionna/NVIDIA-OptiX-SDK-9.0.0-linux64-x86_64/SDK/optixHello/optixHello.cpp:125)

my env path is :
echo $PATH
/usr/local/cuda-12.4/bin:/usr/local/cuda-12.4/bin:/home/software/OPTIX_SDK/bin:/usr/local/cuda-12.4/bin:/opt/miniconda3/envs/sionna/bin:/opt/miniconda3/condabin:/home/postgres/postgresql/bin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

echo $LD_LIBRARY_PATH

/home/software/OPTIX_SDK/lib:/usr/local/cuda-12.4/lib64:/usr/local/cuda-12.4/lib64:/home/software/OPTIX_SDK/lib

Another proble is :
after i installed sionna , i run the demo , i got this issue:

jit_optix_api_init(): libnvoptix.so.1 could not be loaded – disabling OptiX backend! Set the DRJIT_LIBOPTIX_PATH environment variable to specify its path. If you are using the Windows Subsystem for Linux 2 (“WSL 2”), please follow the setup instructions at mitsuba3/docs/src/optix_setup.rst at master · mitsuba-renderer/mitsuba3 · GitHub to make OptiX availablet to WSL.
Traceback (most recent call last):
File “/home/zhonggp/sionna/test.py”, line 20, in
scene = load_scene(sionna.rt.scene.munich) # Try also sionna.rt.scene.etoile
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/miniconda3/envs/sionna/lib/python3.12/site-packages/sionna/rt/scene.py”, line 1054, in load_scene
mi_scene = mi.load_string(processed)
^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: ​[xml.cpp:1078] Error while loading “” (near line 1, col 1): could not instantiate scene plugin of type “scene”: Could not initialize OptiX!

Hope reply , thx~

Hi @zhongguangpei,

Are you able to build and run any CUDA samples from the CUDA SDK?

You mentioned this happened after installing OptiX 9. Did you have a previous OptiX version working, such as OptiX 7 or 8?

The error suggests that there’s a problem with your driver installation. What machine & OS are you using? Are you running this in Docker or any kind of virtual environment?

Your OS looks like some flavor of Linux. Can you use strace to capture the paths being attempted for libnvoptix.so.1, and confirm that it’s looking in your driver store, and whether you have libnvoptix.so in your driver store.

The Dr Jit error is a symptom of the first error. I suspect once you get optixHello to run, then sionna will run without error as well.


David.