ralna / spral

Sparse Parallel Robust Algorithms Library
https://ralna.github.io/spral/
Other
104 stars 27 forks source link

Document spral_ssids driver #146

Closed jfowkes closed 10 months ago

jfowkes commented 11 months ago

What is the purpose of the 'driver' folder? It appears to contain some useless CUDA helpers and a 'driver' file for SSIDS that is not configurable once compiled, is this meant to be a usage example?

mjacobse commented 11 months ago

The sources in the driver directory are compiled and linked to a spral_ssids executable that allows reading a matrix as Rutherford-Boeing file given as command-line argument and factorizing it with SSIDS. There are several other command-line arguments to configure the factorization. So in some way it's a usage example, but also a test driver for arbitrary .rb-files. I think it is very handy to have to quickly test factorizing some not-so-trivial matrices. The SuiteSparse Matrix Collection allows downloading the matrices in Rutherford-Boeing format for instance. I have used it quite a bit.

jfowkes commented 11 months ago

Thanks @mjacobse for the explanation, I was unaware of this so we should document it.