<div class="gmail_quote">On Tue, Jun 12, 2012 at 3:18 PM, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu" target="_blank">mark.adams@columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>This is the calling sequence in ex10:</div><div><br></div><div><div>      ierr = VecCreate(PETSC_COMM_WORLD,&b);CHKERRQ(ierr);</div><div>        ierr = VecSetFromOptions(b);CHKERRQ(ierr);</div><div>        ierr = VecLoad(b,fd);CHKERRQ(ierr);</div>
</div><div><br></div><div>I set the block size for matrices before SetFromOptions. </div></blockquote><div><br></div><div>How is that? You don't even know the Vec type.</div></div>