[petsc-dev] error reading binary file

Jed Brown jedbrown at mcs.anl.gov
Tue Jun 12 15:56:48 CDT 2012

On Tue, Jun 12, 2012 at 3:54 PM, Mark F. Adams <mark.adams at columbia.edu>wrote:

> How is what?  The ex10 code or "I set the block size for matrices before
> SetFromOptions".
> This how I create matrices with blocks sizes:
>   ierr = MatCreate( wcomm, &Prol ); CHKERRQ(ierr);
>   ierr =
> MatSetSizes(Prol,nloc*bs,nLocalSelected*col_bs,PETSC_DETERMINE,PETSC_DETERMINE);
>   CHKERRQ(ierr);
>   ierr = MatSetBlockSizes( Prol, bs, col_bs ); CHKERRQ(ierr);

Sorry, I thought you were talking about vectors because the error is coming
from a vector load.

Where is this input file? I'll grab it sort out the issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120612/02b99b1b/attachment.html>

More information about the petsc-dev mailing list