Install and config Intel Inspector to debug multi-threaded programs

For debugging multi-threaded parallel processing code, whether in C/C++/Fortran, you need more than a few debug print statements. Intel Inspector allow tracing out memory leaks and improper memory accesses. There is a very large memory and CPU overhead for this work. The Intel Inspector GUI works with GNU and Intel compilers.

Install

  1. From the Intel Compiler setup program install_GUI.sh, select Intel Inspector and install
  2. add to ~/.bashrc
    source /opt/intel/inspector/inspxe-vars.sh
    

Run

inspxe-gui

inspxe-gui is in /opt/intel/inspector/bin64/

Leave a Comment