[petsc-users] Sorted CSR Matrix and Multigrid PC.

Mark Adams mfadams at lbl.gov
Fri Sep 2 12:34:24 CDT 2016


>
>
> >
> >   call PCCreate(PETSC_COMM_WORLD,mg,ierr) !Create preconditioner context
> >   call PCSetType(mg,PCGAMG,ierr)
> >    call PCGAMGSetType(mg,PCGAMGAGG,ierr)  !ERROR: 11 SEGV: Segmentation
> Violation | IS MY PETSC CORRUPTED? gamg.h empty
>
>     This should work ok. Send a complete file we can compile and run that
> crashes like this.
>
>
I would reconfigure your PETSc from scratch by deleting the whole
architecture directory $PETSC_DIR/$PETSC_ARCH, the configure, make.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160902/d70d01e3/attachment.html>


More information about the petsc-users mailing list