<div dir="ltr">Barry, <div><br></div><div>THis code looks to me like it should work, but it does not seem to. What code were you looking at?</div><div><br></div><div><div>  ierr = PetscOptionsGetBool(NULL,NULL,"-matrap",&rap,NULL);CHKERRQ(ierr);</div><div>  if (scall == MAT_INITIAL_MATRIX) {</div><div>    ierr = PetscLogEventBegin(MAT_PtAPSymbolic,A,P,0,0);CHKERRQ(ierr);</div><div>    if (rap) { /* do R=P^T locally, then C=R*A*P */</div><div>      ierr = MatPtAPSymbolic_MPIAIJ_MPIAIJ(A,P,fill,C);CHKERRQ(ierr);</div><div>    } else {       /* do P^T*A*P */</div><div>      ierr = MatPtAPSymbolic_MPIAIJ_MPIAIJ_ptap(A,P,fill,C);CHKERRQ(ierr);</div><div>    }</div><div>    ierr = PetscLogEventEnd(MAT_PtAPSymbolic,A,P,0,0);CHKERRQ(ierr);</div><div>  }</div><div>  ierr = PetscLogEventBegin(MAT_PtAPNumeric,A,P,0,0);CHKERRQ(ierr);</div><div>  ierr = (*(*C)->ops->ptapnumeric)(A,P,*C);CHKERRQ(ierr);</div><div>  ierr = PetscLogEventEnd(MAT_PtAPNumeric,A,P,0,0);CHKERRQ(ierr);</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 4, 2016 at 9:05 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
   Mark,<br>
<br>
   Look at the source code for MatPtAP. It depends on the approach to how it is computed what logging takes place. I am not sure the rational for this exact logging is, it would seem better to always log it so perhaps that could be changed.<br>
<span class="HOEnZb"><font color="#888888"><br>
  Barry<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> On Sep 4, 2016, at 7:10 PM, Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br>
><br>
> I don't seem to be seeing RAP (MatPtAP, or whatever) profile data. Did this get dumped?<br>
><br>
> I see that there are two timers in GAMG that I can scrap but if RAP is not timed then I will add that to GAMG profile data.<br>
><br>
> Mark<br>
<br>
</div></div></blockquote></div><br></div>