ceres-solver icon indicating copy to clipboard operation
ceres-solver copied to clipboard

Building Ceres with cuDSS support

Open DuVogel87 opened this issue 9 months ago • 3 comments

I am struggling to build Ceres with cuDSS support.

Is there a documentation on how to build Ceres with cuDSS support?

Thanks.

DuVogel87 avatar Mar 21 '25 18:03 DuVogel87

There is nothing special that you should need to do. Install cudss and cuda and then the build should work. You will have to tell us more about your build environment and what error you are seeing before we can say more.

On Fri, Mar 21, 2025, 12:00 PM DuVogel87 @.***> wrote:

I am struggling to build Ceres with cuDSS support.

Is there a documentation on how to build Ceres with cuDSS support?

Thanks.

— Reply to this email directly, view it on GitHub https://github.com/ceres-solver/ceres-solver/issues/1151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANCABMEW7F2VZ3UU2CQTX32VROUFAVCNFSM6AAAAABZQWJF7WVHI2DSMVQWIX3LMV43ASLTON2WKOZSHEZTSMRWGI2DIOA . You are receiving this because you are subscribed to this thread.Message ID: @.***> [image: DuVogel87]DuVogel87 created an issue (ceres-solver/ceres-solver#1151) https://github.com/ceres-solver/ceres-solver/issues/1151

I am struggling to build Ceres with cuDSS support.

Is there a documentation on how to build Ceres with cuDSS support?

Thanks.

— Reply to this email directly, view it on GitHub https://github.com/ceres-solver/ceres-solver/issues/1151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANCABMEW7F2VZ3UU2CQTX32VROUFAVCNFSM6AAAAABZQWJF7WVHI2DSMVQWIX3LMV43ASLTON2WKOZSHEZTSMRWGI2DIOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sandwichmaker avatar Mar 23 '25 16:03 sandwichmaker

On ubuntu 24.04 (e.g. nvidia/cuda:12.6.3-devel-ubuntu24.04) I need to force as it is not able to find cuDSS naturally

-Dcudss_DIR=/usr/lib/x86_64-linux-gnu/libcudss/12/cmake/cudss   -Dcudss_INCLUDE_DIR=/usr/include/libcudss/12

bhack avatar Apr 15 '25 22:04 bhack

how is the entire command line?

cd /root/ceres-solver/build && cmake .. -Dcudss_DIR=/usr/lib/x86_64-linux-gnu/libcudss/12/cmake/cudss   -Dcudss_INCLUDE_DIR=/usr/include/libcudss/12```

like this?

lucas-vitrus avatar May 27 '25 05:05 lucas-vitrus