[petsc-dev] error reading binary file

Jed Brown jedbrown at mcs.anl.gov
Tue Jun 12 15:25:35 CDT 2012


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

> This is the calling sequence in ex10:
>
>       ierr = VecCreate(PETSC_COMM_WORLD,&b);CHKERRQ(ierr);
>         ierr = VecSetFromOptions(b);CHKERRQ(ierr);
>         ierr = VecLoad(b,fd);CHKERRQ(ierr);
>
> I set the block size for matrices before SetFromOptions.
>

How is that? You don't even know the Vec type.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120612/e0f12383/attachment.html>


More information about the petsc-dev mailing list