Preconditioner for cg

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
Posts: 1
Joined: Wed Nov 30, 2016 4:48 am
Location: Germany

Preconditioner for cg

Post by esytm » Wed Nov 30, 2016 5:04 am


I have a small question about sparse solver. I was able to use LU or Jacobi preconditioner for CG but not Algebraic Multigrid Methods like AMG which is also available on v2.1, it says that preconditioner is not supported. am I doing something wrong or this beautiful method still need time to be inserted completely in magma for cg.
like other parts of my code, I really prefer using a powerful library like magma over cusp.
Thanks for this awesome library and your help.

hartwig anzt
Posts: 90
Joined: Tue Sep 02, 2014 5:44 pm

Re: Preconditioner for cg

Post by hartwig anzt » Wed Nov 30, 2016 12:27 pm

Unfortunately, we currently have no AMG supported in MAGMA-sparse.

You may want to look into the ISAI preconditioner, this might be a faster alternative to an exact ILU:

./testing_dsolver --solver PCG --precond ILU --plevels 0 --trisolver ISAI --ppattern 1 --piters 0 testmatrix.mtx

Post Reply