[alcf-discuss] Tau and C++ problem
Nick Collier
nick.collier at gmail.com
Tue Dec 8 12:51:44 CST 2009
I'm trying to use tau on surveyor to gather some profile data on my
app. When I use compiler-based instrumentation I get core dumps when I
run the app. The app runs fine without any tau instrumentation and
bgp_stack contains only tau related calls.
I'm not sure why its not working but perhaps tau is getting confused
and doing ppc64 based instrumentation instead of bgp? My app is
compiled via a makefile and these are the relevant tau options:
TAU_MAKEFILE = -tau_makefile=/soft/apps/tau/tau_latest/bgp/lib/
Makefile.tau-mpi-pdt
TAU_CC = /soft/apps/tau/tau_latest/bgp/bin/tau_cxx.sh
TAU_OPTIONS = -tau_options='-optCompInst -optTauInstr=/soft/apps/tau/
tau_latest/bgp/bin/tau_instrumentor -optVerbose'
I added -optTauInstr options to make sure the bgp instrumentor is
used, but I'm not sure if that actually applies as the tau options are
bit obscure to me. I've tried to use PDT but it finds errors in the
boost libraries I'm using and for the most part defaults to ordinary
compilation. It does work without core dumping though but the
majority of the code is not actually instrumented.
Any suggestions would be appreciated.
Thanks,
Nick
More information about the discuss
mailing list