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

Low Accuracy with CG Solver ?

Markus__G_
Beginner
349 Views

I am just wondering why , the CG Solver is so inaccurate and also in some cases the solver doesnt covert. So how to make the solution of x more accurate and how to set the maximum number of itereations to a higher bound. Into the attachment my adapted files from the standard example,the input are just mkl files. In some cases it works,but in most cases the obtained solution is far away from the real solution.

best regard

 

0 Kudos
3 Replies
Gennady_F_Intel
Moderator
349 Views

It may be caused the ill-conditioning the input matrices. Have you checked these cases?

0 Kudos
Markus__G_
Beginner
349 Views

na not really, do u think that those matrices from matrix market are ill conditioned ?

0 Kudos
Markus__G_
Beginner
349 Views

Is it possible to say me some good parameters to improve the accuracy and conergence of the solver ?

best regards

0 Kudos
Reply