lfranke / TRIPS

https://lfranke.github.io/trips/
MIT License
495 stars 28 forks source link

nvrtc: error: failed to open libnvrtc-builtins.so.11.6 #13

Closed AlexMorgand closed 4 months ago

AlexMorgand commented 4 months ago

Anybody experienced a similar error?

nvrtc: error: failed to open libnvrtc-builtins.so.11.6

It's compiling fine following the conda instructions on Ubuntu 22

Basically trying to run

./build/bin/train --config configs/train_normalnet.ini --TrainParams.scene_names playground_test --TrainParams.name

Thanks in advance, can't wait to test it!

lfranke commented 4 months ago

Hi, you probably need to make these calls first:

conda activate trips
export CONDA=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA/lib

for the runtime to find the conda-installed cuda libraries and then run the train binary

AlexMorgand commented 4 months ago

Solved the issue! Thanks @lfranke and thank you for making your work available for everyone.