<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 12, 2012, at 4:56 PM, Jed Brown wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Tue, Jun 12, 2012 at 3:54 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>How is what?  The ex10 code or "I set the block size for matrices before SetFromOptions".</div><div><br></div><div>This how I create matrices with blocks sizes:</div><div><br></div><div><div>  ierr = MatCreate( wcomm, &Prol ); CHKERRQ(ierr);</div>
<div>  ierr = MatSetSizes(Prol,nloc*bs,nLocalSelected*col_bs,PETSC_DETERMINE,PETSC_DETERMINE); </div><div>  CHKERRQ(ierr);</div><div>  ierr = MatSetBlockSizes( Prol, bs, col_bs ); CHKERRQ(ierr);</div></div></blockquote></div>
<br><div>Sorry, I thought you were talking about vectors because the error is coming from a vector load.</div><div><br></div></blockquote><div><br></div><div>There is a vector load, at least ex10 loads a vec and its seems to work (so I assume Blaise put one in there).</div><br><blockquote type="cite"><div>Where is this input file? I'll grab it sort out the issue.</div>
</blockquote></div><br><div><div>You can get an archive containing the KSP and the data files at <a href="https://filestogeaux.lsu.edu/public/download.php?FILE=bourdin/52338Q0at2Y">https://filestogeaux.lsu.edu/public/download.php?FILE=bourdin/52338Q0at2Y</a></div></div><div><br></div><div>These are just standard "binaryoutput" files I think,</div><div><br></div><div>Mark</div></body></html>