CuSolver Sparse on Fortran


I’m trying to write a program for cuSolver Sparse to solve for Vector X in the the following

AX = B

where A is a Sparse Matric and B is a vector.

I’ve coded by modifying a cuSolverDN but it seems to cause problems like type mismatch.

I’m writing to ask if there is an sample cuSolver Sparse program I can use as a starting point? Thank you.

Hi Ceeely,

We ship examples of using cuSPARSE with the compilers. You can find them in “$PGI/linux86-64/2016/examples/CUDA-Libraries/cuSPARSE/”.

Note that we ship a cuSPARSE interface module, documented here:

Hope this helps,