KSP/PC choice

Matthew Knepley knepley at gmail.com
Wed Jul 25 10:45:54 CDT 2007


On 7/25/07, Tim Kröger <tim at cevis.uni-bremen.de> wrote:
> Dear Satish
>
> But now, the next problem is that I am not able to use MUMPS.  As
> described in the manual, I start my application using
>
> -ksp_type preonly
> -pc_type lu
> -mat_type aijmumps
> -ksp_monitor
>
> and I get

It appears that you never call MatSetFromOptions() on the matrix you
create, which would prevent the option from changing the type.

   Matt

> [0]PETSC ERROR: MatLUFactorSymbolic() line 1940 in src/mat/interface/matrix.c
> [0]PETSC ERROR: No support for this operation for this object type!
> [0]PETSC ERROR: Matrix type mpiaij  symbolic LU!
> [0]PETSC ERROR: PCSetUp_LU() line 242 in src/ksp/pc/impls/factor/lu/lu.c
> [0]PETSC ERROR: PCSetUp() line 798 in src/ksp/pc/interface/precon.c
> [0]PETSC ERROR: KSPSetUp() line 234 in src/ksp/ksp/interface/itfunc.c
> [0]PETSC ERROR: KSPSolve() line 332 in src/ksp/ksp/interface/itfunc.c
> [0]PETSC ERROR: User provided function() line 396 in unknowndirectory/src/numerics/petsc_linear_solver.C
>
> What is wrong?
>
> Best Regards,
>
> Tim
>
> --
> Dr. Tim Kroeger                            Phone +49-421-218-7710
> tim at mevis.de, tim at cevis.uni-bremen.de      Fax   +49-421-218-4236
>
> MeVis Research GmbH, Universitaetsallee 29, D-28359 Bremen, Germany
>
> Amtsgericht Bremen HRB 16222
> Geschaeftsfuehrer: Prof. Dr. H.-O. Peitgen
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list