Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Sparse Direct Solver Support via TPLs #2251

Open
ddement opened this issue Jun 18, 2024 · 3 comments
Open

Add Sparse Direct Solver Support via TPLs #2251

ddement opened this issue Jun 18, 2024 · 3 comments

Comments

@ddement
Copy link

ddement commented Jun 18, 2024

We (Exawind's OpenTurbine project) would like for KokkosKernels to provide an interface to general sparse matrix solvers, similar to how it provides the gesv interface for dense solvers. cuSOLVER, rocSOLVER, etc all provide reasonably optimized solvers, so the goal would just be for KokkosKernels to provide a wrapper around the TPLs.

Why: For our problem size, dense matrices are incredibly large and slow to solve, but we are small enought that we don't need the complexity of multi-node solutions like Tpetra and Amesos2. Using Kokkos as an interface like we do for our sparse matrix multiplication and addition kernels would give us a big performance boost while keeping our TPLs lightweight.

@lucbv
Copy link
Contributor

lucbv commented Jun 19, 2024

Hi @ddement
if your library already has access to Amesos2, you might note that you can drive it to use TPLs like SuperLU (not the _dist variant) to get single node solvers working. Tpetra itself can also be configured without MPI support...
If you really want to stick to Kokkos Core and Kernels instead that's fine but we might want to have a discussion with you and understand the requirements and timeline you desire.

@ddement
Copy link
Author

ddement commented Jun 19, 2024

@lucbv
We can do Amesos2+Tpetra (I'm working on that right now), but there's a push for us to keep dependencies/build complexity to a minimum, so we wanted to explore this avenue in order to avoid pulling in Trilinos.

I'm up for a discussion whenever works best for you. If planning would work better as a Teams meeting, we can do that as well.

@lucbv
Copy link
Contributor

lucbv commented Jul 8, 2024

Hey, sorry for getting back to this late, was on travel recently. Do you have time this week to setup a meeting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants