Install and config example of Intel Inspector for debugging 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 large to very large memory and CPU overhead for this work. The Intel Inspector GUI works with GNU and Intel compilers.

Install Intel Inspector

  1. From the Intel Compiler setup program install_GUI.sh, select Intel Inspector and install
  2. add to your ~/.bashrc

     source /opt/intel/inspector/inspxe-vars.sh
    

Run Intel Inspector

inspxe-gui

This executable resides in /opt/intel/inspector/bin64/

Leave a Comment