Software Archive
Read-only legacy content

How to set up Interactive MPI debugging

dtarb
Beginner
1,222 Views

I am trying to figure out how to configure interactive parallel debugging using Intel Parallel Studio XE 2016 Cluster Edition and Visual Studio 2015 on Windows 10. I am following the steps in the MPI Library Developer Guide https://software.intel.com/en-us/node/610381. I have a simple test program set up to run using MPI. When I do steps 1, 3, 4, 5 (Create project, configure include, configure linker, configure library dependency) then insert breakpoint in the code and Start Debugging (F5) the program stops and I am able to examine variables etc, as part of the interactive debugging process. However the program is running in single process mode. When I do step 2 to configure debugging. Specifically setting the debugging Command as $(I_MPI_ROOT)\intel64\bin\mpiexec.exe and Command arguments as -n <processes_number> "$(TargetPath)" and start debugging, the program does not stop at the breakpoints and the breakpoint symbol becomes a hollow dot indicating it will not be hit. As a result I am unable to debug a parallel multiprocess program.

0 Kudos
1 Reply
Georg_Z_Intel
Employee
1,222 Views

Hello,

IIRC MPI debugging is not an integral feature of latest Microsoft Visual Studio* releases. Please see this for a workaround:

http://stackoverflow.com/questions/15682843/mpi-debugging-with-vs2012

Best regards,

Georg Zitzlsberger

0 Kudos
Reply