[petsc-dev] gamg regression

Mark Adams mfadams at lbl.gov
Wed Jun 17 11:37:27 CDT 2015


>
>
>>
>
>>
>> Second question (less important): I didn't manage to change this at the
>> command line. I would have thought -mg_coarse_ksp_type preonly should have
>> done the trick but seemed to be ignored. Instead I had to do it with some
>> calls in the code:
>>
>>
>
Humm, this seems to work for me (I just cut and pasted this).  Can you try
using -options_left.




> Damn, this is a bug.   I will look at this and figure out how to make
> PREONLY the default and get -mg_coarse_ksp_type working.
>
> Mark
>
>
>
>> call PCSetup(pc, ierr) ! this is the GAMG pc
>> call PCMGGETCoarseSolve(pc, ksp_coarse, ierr)
>> call KSPSetType(ksp_coarse, PREONLY, ierr)
>>
>> Cheers
>> Stephan
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150617/57c67702/attachment.html>


More information about the petsc-dev mailing list