DigiPathAI icon indicating copy to clipboard operation
DigiPathAI copied to clipboard

CUDA not found

Open juliandwillett opened this issue 2 years ago • 2 comments

I am using an externally located LD_LIBRARY_PATH for my CUDA installation, and DigipathAI cannot access this, blocking GPU processing. It is looking for the necessary files in the current working directory + LD_LIBRARY_PATH versus just LD_LIBRARY_PATH. Any way to edit the base code?

juliandwillett avatar Apr 22 '23 18:04 juliandwillett

An example error is:

Could not load dynamic library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /autofs/cluster/qtim/projects/estimate_hovernet_breast/digipathai/digipathai/lib/python3.7/site-packages/cv2/../../lib64:/usr/pubsw/packages/CUDA/11.2/targets/x86_64-linux/lib/

juliandwillett avatar Apr 22 '23 18:04 juliandwillett

LD_LIBRARY_PATH is: LD_LIBRARY_PATH=/usr/pubsw/packages/CUDA/11.2/targets/x86_64-linux/lib/

juliandwillett avatar Apr 22 '23 18:04 juliandwillett