[petsc-dev] MetSetBlockSize issue

Mark F. Adams MARK.ADAMS at columbia.edu
Mon Apr 23 16:29:00 CDT 2012


ex55.c in ksp is failing with:

[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: Arguments are incompatible!
[0]PETSC ERROR: Cannot change block size 1 to 2!
[0]PETSC ERROR: ------------------------------------------------------------------------

on this line 57 of ex55.c:

  ierr = MatSetBlockSize(Amat,2);      CHKERRQ(ierr);

Any idea what happened here?  

Mark


More information about the petsc-dev mailing list