Hongwei, 03/18/19 To check my profiling results, do the following on L409 1. source /opt/intel_17/parallel_studio_xe_2017/psxevars.csh 2. amplxe-gui & 3. Open or import my profiling results at /star/u/kehw/intel/amplxe/projects/hlt-bfc/r006hsxs How to run ================================================================================ Callgrind: a call-graph generating cache and branch prediction profiler https://valgrind.org/docs/manual/cl-manual.html#cl-manual.functionality 1. callgrind_annotate : This command reads in the profile data, and prints a sorted lists of functions, optionally with source annotation. 2. callgrind_control : This command enables you to interactively observe and control the status of a program currently running under Callgrind's control Basic Usage: ----------- valgrind --tool=callgrind [callgrind options] your-program [program options] To observe execution with: callgrind_control -b To annotate the backtrace with event counts, run : callgrind_control -e -b After program termination, a profile data file named callgrind.out. is generated, To generate a function-by-function summary from the profile data file, use : callgrind_annotate [options] callgrind.out.