I'm using ubuntu 18.04 + cuda9.2.
Along all instruction I successfully updated all packages and installed pytorch_geometric. However, when comes to run all tests as well as the example cora.py. I got this error:
ImportError: libcusparse.so.9.2: cannot open shared object file: No such file or directory
Any ideas about this?
I did find the file inside /usr/local/cuda/lib64:
├── libcurand.so -> libcurand.so.9.2
├── libcurand.so.9.2 -> libcurand.so.9.2.148
├── libcurand.so.9.2.148
├── libcurand_static.a
├── libcusolver.so -> libcusolver.so.9.2
├── libcusolver.so.9.2 -> libcusolver.so.9.2.148
├── libcusolver.so.9.2.148
├── libcusolver_static.a
├── libcusparse.so -> libcusparse.so.9.2
├── libcusparse.so.9.2 -> libcusparse.so.9.2.148
├── libcusparse.so.9.2.148
├── libcusparse_static.a
├── libnppc.so -> libnppc.so.9.2
├── libnppc.so.9.2 -> libnppc.so.9.2.148
Thank you.
Fixed. It turns out that I forget to set LD_LIBRARY_PATH for cuda. Thanks.
Most helpful comment
Fixed. It turns out that I forget to set LD_LIBRARY_PATH for cuda. Thanks.