Hi @Nathaniel_Jones,
I tried to install Accelerad again on Ubuntu cause I updated the nvidia driver. Firstly, I moved the unpacked folder to /usr/local and then the file ~/.bashrc is edited like this:
I am not sure about my installation process. Besides, I installed the Radiance with the same procedure and it works well. I hope you or anyone can supply any guidance or suggestions, thanks!
If I understand what you are saying correctly, liboptix.so.6.0.0 was found when using the demo file, but not when using your own script. The demo files don’t make any changes to your LD_LIBRARY_PATH, so if they work then your LD_LIBRARY_PATH should be set up correctly. Does your script modify LD_LIBRARY_PATH at all, such that the OptiX library would no longer be part of it?
I’m not sure why the command would work in the demo script but not in the script that you wrote. Can you add echo $LD_LIBRARY_PATH to your script and to the demo file and check that they are the same? The library liboptix.so.6.0.0 should be found in one of the listed folders, or otherwise the demo wouldn’t work.
Hi @Nathaniel_Jones,
The problem is solved by open a new terminal cause the new environment variables need to work in a new loaded shell environment. So the installation process is OK and we just should pay attention to a few details.