Preconditioner for cg

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)

Preconditioner for cg

Postby esytm » Wed Nov 30, 2016 5:04 am

Hi,

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.
esytm
 
Posts: 1
Joined: Wed Nov 30, 2016 4:48 am
Location: Germany

Re: Preconditioner for cg

Postby 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
hartwig anzt
 
Posts: 76
Joined: Tue Sep 02, 2014 5:44 pm


Return to User discussion

Who is online

Users browsing this forum: Bing [Bot], hartwig anzt and 4 guests