Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6975 Discussions

Sparse Matrix storage to compressed sparse row format

Ma_Khe_
Beginner
281 Views

Hi :-)

I am new here and I have a question about using "PARDISO - Parallel Direct Sparse Solver Interface". As you may know in order to use this subroutine for solving a set sparse linear equations as AX = b, the A matrix should be stored in comperes sparse row format. My question is there any subroutine which can do this storage? if there is I think it would be really nice to include them here "http://software.intel.com/sites/products/documentation/hpc/mkl/mklman/GUID-431916D5-B76D-48A1-ABB5-1A0613FDC0FA.htm#GUID-431916D5-B76D-48A1-ABB5-1A0613FDC0FA"

Kind regards,

0 Kudos
2 Replies
mecej4
Honored Contributor III
281 Views

Your question should have been posted in the MKL forum.

There is a routine mkl_ddnscsr() (for double precision real matrices; similarly named routines exist for other types) in MKL for exactly this purpose. The MKL documentation should be consulted about matrix storage schemes and conversion. A recent post that involves such conversion is "How can I remove a column from a sparse matrix (CSR) using MKL"

0 Kudos
Gennady_F_Intel
Moderator
281 Views

in that  case, we also recommend to look at the existing examples show how to use such routines -- all these examples you can find into <mklroot>\examples\spblasc\source\ directory as an example

0 Kudos
Reply