We haven't tried using tau in many years - so don't really know what issues
exist.
Previously we attempted a compile wrapper - so you might have to check the code
in lib/petsc/bin/taucc.py
BTW: One relevant part:
cmd2 += ' -c -rn PetscFunctionReturn -rv PetscFunctionReturnVoid\\(\\)'
Hope this helps.
Satish
On Mon, 21 Feb 2022, Shourong Hao wrote:
> Hello,
>
> I'm using PETSc for a finite element computation.
>
> Now I want to use TAU (https://www.cs.uoregon.edu/research/tau/home.php) for
> a performance profiling after I used -log_view option.
>
> However, I encountered many errors in the compiling stage, and there is
> little information about how to use TAU in PETSc.
>
> Is there some reference materials I can learn from? Or what should I do to
> use TAU in PETSc correctly?
>
> Thank you very much for your help!
>
> Best wishes,
>
> Shourong
> [defaultAvatar.png]
> Shourong Hao
> [027208ca514b662477fc5a0020160906.png]
> Shanghai Jiao Tong University
> [email protected]
>
>