[petsc-users] MG Preconditioning

Jed Brown jedbrown at mcs.anl.gov
Fri Aug 31 22:08:45 CDT 2012


On Fri, Aug 31, 2012 at 10:06 PM, Matthew Knepley <knepley at gmail.com> wrote:

> True, but the backtrace also shows that comm = 0x0 on the call to
> KSPCreate(), which
> leads me to believe that your petsc4py has not initialized PETSc, and
> therefor not
> initialized PETSC_COMM_WORLD.
>

Could catch, maybe PetscFunctionBegin() should check that PETSc has been
initialized.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120831/0e30a077/attachment.html>


More information about the petsc-users mailing list