<div class="gmail_quote">On Thu, Feb 24, 2011 at 11:01, TAY wee-beng <span dir="ltr"><<a href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":co">Error: This name does not have a type, and must have an explicit type. [MAT_NO_NEW_NONZERO_LOCATIONS]<br>
call MatSetOption(A_mat_uv,MAT_NO_NEW_NONZERO_LOCATIONS,PETSC_TRUE,ierr)</div></blockquote></div><div><br></div><div>The last reference to MAT_NO_NEW_NONZERO_LOCATIONS was removed more than two years ago. You should use</div>
<br><div>MatSetOption(A_mat_uv,MAT_NEW_NONZERO_LOCATIONS,PETSC_FALSE,ierr)</div>