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

banded sparse matrix symmetric

diedro
Beginner
180 Views
hi everyone,
I am trying to solve abanded sparse matrix symmetric (you can see it in the attachment).
Do you know if there is some lapack or blas libriries in fortra 90\\95 to solve it?
thanks in advance for any help.
0 Kudos
5 Replies
Alexander_K_Intel2
180 Views
Hi,
You could solve you problem using LAPACK functionality (lu decomposition for example)if you set your matrix in banded format or by PARDISO functionality if you set it in sparse format.
With best regards,
Alexander Kalinkin
diedro
Beginner
180 Views
hi,
thank you very much
as you can see from the attacment my matrix is both symmetric and sparse, what do you suggest? any subs?
thanks
Gennady_F_Intel
Moderator
180 Views
you can convert this matrix to the sparse representation of the CSR format ( e.g. You can usemkl_?dnscsrroutine for that) and then use PARDISO routine for solving this system.
/gf
diedro
Beginner
180 Views
hi,
I have seen that my matrix is also symmetric and banded, moreover I could have a large number of cell.
Do yoy think that there is some libraries in mkl (lapack..) to solve the system with theConjugate Gradient Method?
Thanks a lot
Alexander_K_Intel2
180 Views
Hi,
Actually, CG is combination of matrix-vector multiplication and scalar product of two vectors so it could be realized by several call to BLAS routines. But why you want to solve your system by CG? Why you don't want to use direct LAPACK or PARDISO solvers?
With best regards,
Alexander Kalinkin
Reply