Intel Inspector is a dynamic memory and threading error-checking tool for C/C++/Fortran applications. It can detect issues such as memory leaks, invalid memory references, uninitialized variables, race conditions, deadlocks, etc.
The following versions are currently available on Salomon as modules:
2016 Update 1 - Inspector/2016_update1
Your program should be compiled with the -g switch to include symbol names. Optimizations can be turned on.
Debugging is possible either directly from the GUI, or from command line.
To debug from GUI, launch Inspector:
$ inspxe-gui &
Then select the File -> New -> Project menu. Choose a directory to which the project data is saved. After clicking OK, the Project properties window appears, where you can configure the path to your binary, launch arguments, working directory, etc. After clicking OK, the project is ready.
In the main pane, you can start a predefined analysis type or define your own. Click Start to start the analysis. Alternatively, you can click on Command Line, to see the command line required to run the analysis directly from the command line.
Analysis can be also run from the command line in batch mode. Batch mode analysis is run with the inspxe-cl command. To obtain the required parameters, consult the documentation or configure the analysis in the GUI and then click the "Command Line" button in the lower right corner to the respective command line.
Results obtained from batch mode can be then viewed in the GUI by selecting File -> Open -> Result...