Open Xusj0w0 opened 5 days ago
Hi @Xusj0w0!
Yes, it is a problem we are aware of. Basically, system-wide installation of cudss does not work as intended and due to the update-alternatives cannot find the shared library "by default".
We're going to fix this problem in cudss 0.4.0 (as well as add a cmake version file, which should also improve user experience with our cmake config).
Meanwhile, there are following workarounds:
find_path()
command within cudss-config.cmake
to solve the issue but it's too hacky in my opinion).Let me know if changing the CMAKE_PREFIX_PATH is not an option for you and I can give more details about the second workaround.
Btw, we're glad to hear you're using ceres with cudss!
Thanks, Kirill
Sorry to interrupt. I was compiling ceres-solver with cudss. However, the file
/usr/lib/x86_64-linux-gnu/./libcudss.so.0.3.0
doesn't exist.I listed the files in the directory
/usr/lib/x86_64-linux-gnu
and foundlibcudss.so
andlibcudss.so.0
. I'm not familiar with the C++ compilation process. What should I do to solve the above problem?Ubuntu 20.04 CUDA 12.4 GNU 9.4.0 cmake 3.31.0