On Mon, 5 Mar 2018, Smith, Barry F. wrote:

> > My Poisson eqn solving should be the biggest culprit. I call it thru:
> > 
> > call hypre_solver(p_array,q_p_array)
> > 
> > So in this case, I first create a global variable with 
> > PetscLogEventRegister, and then before/after the subroutine, I call 
> > PetscLogEventBegin/End(). Is that all?
> 
>  Yes

check src/sys/examples/tutorials/ex3.c,ex3f.F for example usage.

Satish

Reply via email to