Ok, after digging a little bit more, I realise I can configure the pc in a command line like manner using this syntax '-pc_type','lu'.
What I was hoping to use was ML and hypre, however it appears neither of these libraries can be built with --with-mpi=0, which seems to be a requirement when calling petsc from matlab. Is there a straight forward way to enable hypre and ml to be used when --with-mpi=0? Cheers, Dave On 9 December 2010 22:26, Dave May <dave.mayhem23 at gmail.com> wrote: > Hi Barry, > ?Is it possible that you could possible add PetscPC.m? > I work with a bunch of matlab users solving Stokes on staggered grid who > rely on umfpack. I'd love to be able to get them to try ML or hypre via PETSc. > > Cheers, > ?Dave >
