Using pastix just as a solver
I am interested in using Pastix as a solver in another software which does the other required things. Therefore, I would like to give pastix the CSR matrix, the rhs, the solver settings and would like to get the solution vector as output.
I looked into the examples step-by-step.c and simple.c and the others as well and went through the documentation a little, but I am a little confused on the following aspects:
I would like to set solver settings separately inside my code and not from the command line through iparm and dparm. I am not sure how to do this exactly.
I would like to use solve using the gpu. Could you please point me to how I can do that? What should I set in pastix_data that allows me to do that ?
I also would like to factor my CSR matrix on the CPU and then transfer the factors to the GPU for the solve. Can you please give me pointers for how I can do this ?
I am very grateful for your help.
Thank you, Patrik.