IntelĀ® MPI Library User's Guide for Linux* OS
If you need to debug your application, add the -g option. In this case debug information is added to the binary. You can use any debugger to debug the application.
$ mpiicc -g test.c -o testc