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

RCI ISS

niotis__athanasios
687 Views

Hello, 

My name is Thanos and I am trying to use Intel Kernel Lib and RCI CG solver in FORTRAN for the solution of a big sparse linear system for CFD simulation. As it is my first endeavour in using MKL I can say that I feel rather confused about this topic. First of all, I try to use dcg routine in a test file where I will solve a small system. My question is in the following callings where you specify the matrix A? As we can see we import only x and b vectors.

call dcg_init(n, x, b, RCI_request, ipar, dpar, tmp)

call dcg_check(n, x, b, RCI_request, ipar, dpar, tmp)

call dcg(n, x, b, RCI_request, ipar, dpar, tmp)

call dcg(n, x, b, RCI_request, ipar, dpar, tmp)

Please find attached the demonstration file witch i have created. 

Any assistance will be greatly appreciated.

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
687 Views

pls take a look at the existing examples - mklroot\examples\solverf\source\cg_jacobi_precon.f or  cg_no_precon.f 

0 Kudos
niotis__athanasios
687 Views

Ok thank you for your response.

0 Kudos
Reply