[petsc-users] questions about KSP with-pc_type hypre
Jed Brown
jedbrown at mcs.anl.gov
Tue Oct 8 09:33:29 CDT 2013
Roc Wang <pengxwang at hotmail.com> writes:
>> What happens with -pc_type lu? Does it solve the linear system and give back answers you expect?
>
> No, it doesn't work if I use -pc_type lu. The error information shows:
>
> [0]PETSC ERROR: --------------------- Error Message ------------------------------------
> [0]PETSC ERROR: No support for this operation for this object type!
> [0]PETSC ERROR: Matrix format mpiaij does not have a built-in PETSc LU!
If you must run in parallel, either use a third-party solver such as
-pc_type lu -pc_factor_mat_solver_package superlu_dist (configure with
--download-superlu_dist) or use -pc_type redundant (for testing).
I recommend getting your solver working in serial first.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131008/298692c3/attachment-0001.pgp>
More information about the petsc-users
mailing list