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

Looking for a library or package that can read and write sparse matrices

zhiqiang__chen
Beginner
285 Views

When Intel visual Fortran call Pardiso in MKL to solve a linear equation group, you need to read the sparse matrix from the file. But there are many ways to store sparse matrices in files (such as: COO,CSR,CSC,DIO,et al.), and I want to find a library or package that can read and write sparse matrices.This library or package needs to meet two conditions: (1) There is a Fortran interface, (2) suitable for various sparse matrix storage methods. Or, what other methods do you have to solve the problem of reading and writing sparse matricesI need your advice. Thank you.

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
285 Views

MKL doesn't contain such specific read/write routines. I am not sure if some of math libraries provide such functionality. You could implement reading/writing procedure on your side. MKL contains only several converters from different sparse matrix representation formats. 

0 Kudos
Reply