<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 25, 2013 at 1:31 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 class="im">> I think you're just missing "use petscdmda".<br>
<br>
</div>That did not help:<br>
<div class="im"><br>
      program main<br>
#include <finclude/petscdmdef.h><br>
#include <finclude/petscsnesdef.h><br>
      use petscdm<br>
</div>      use petscdmda<br>
<div class="im">      use petscsnes<br>
      use petsc_kkt_solver_module<br>
      use petsc_kkt_solver_moduleinterfaces<br>
</div>!      implicit none</blockquote></div><br>Can you compare what you've got to snes ex5f90t.F?</div></div>