<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 14, 2015 at 9:59 PM, Mark Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I am trying to see why MatConvert is failing for MatNest to MPIAIJ and added print statements in to see what it is checking for.<br><br></div>Where is the function list created for MatNest? I am grepping on MatConvert_[n/N] and not finding anything other than:<br></div></div></blockquote><div><br></div><div>The person who added that code declined to hook it into the function table, set at the bottom of matnest.c. This does not bode well.</div><div><br></div><div>MatNest should never ever ever be used as a dependency. Its an optimization. At least this is my view.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>21:54 next ~/Codes/petsc$ git grep MatConvert_N <br>src/mat/impls/nest/matnest.c:#define __FUNCT__ "MatConvert_Nest_AIJ"<br>src/mat/impls/nest/matnest.c:PETSC_EXTERN PetscErrorCode MatConvert_Nest_AIJ(Mat A,MatType newtype,MatReuse reuse,Mat *newmat)<br>21:57 next ~/Codes/petsc$ git grep MatConvert_n<br>21:57 1 next ~/Codes/petsc$ <br><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Mark<br><br></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>