[petsc-users] subksp type of PCGASM
Jed Brown
jedbrown at mcs.anl.gov
Mon Nov 25 09:07:43 CST 2013
Laurent Berenguer <laurent.berenguer at gmail.com> writes:
>>How exactly did you set this subksp? Did you modify the code or change
>>the command line arguments? Did the test run without errors when you
>>don't modify anything?
>
> I tried both methods, the error is the same in both cases :
> - I added the option -user_set_subdomain_solvers and modified the code
> from
> ierr = PCSetType(subpc,PCILU);CHKERRQ(ierr);
> to
> ierr = PCSetType(subpc,PCJACOBI);CHKERRQ(ierr);
> - Or I only added -sub_ksp_type gmres without changing the code.
>
> The example runs correctly when I change nothing. But I'm not sure
> what is the default subksp. When I change nothing in the code but it
> seems to be KSPPREONLY.
It should say if you run with -ksp_view.
PCGASM is Dmitry's project and I don't think it has gotten much use yet.
I'll leave it to him to explain what's going on here. If your cases are
supposed to work, they should be added as tests.
-------------- 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/20131125/526d8c54/attachment.pgp>
More information about the petsc-users
mailing list