Using ML via PETSc

Satish Balay balay at mcs.anl.gov
Wed Apr 11 11:42:20 CDT 2007


On Wed, 11 Apr 2007, Stephen R Ball wrote:

> I am looking to have a go at using Sandia National Laboratory's ML
> preconditioning package via PETSc. I have looked in your python script
> for ML and the download link refers to v4.0. However, looking at your
> ftp download site I can see that v5.0 is included. Can you tell me if it
> is to safe to use the v5.0 version with PETSc v2.3.2 or should I use
> v4.0.

You might just need the following patch to get ML5.0 working with
petsc-2.3.2

http://petsc.cs.iit.edu/petsc/petsc-dev/diff/882b30353a21/src/ksp/pc/impls/ml/ml.c

> 
> Also, can you tell me if there are any examples of using ML via PETSc.

Any ksp example with '-pc_type ml' shold work...

Satish




More information about the petsc-users mailing list