Any update to this?
I am running Visual Studio 2008 and the 11.1.054 version of the C++ compiler and I run into this same problem.
I am using the 32-bit MPICH2 from ANL and I am following their instructions on setting up the debugger using their example code. Their instructions were:
# Re-install MPICH2 on your machine on a path (e.g.: C:\MPICH2) with no spaces
# Copy mpishim.exe to a directory without any spaces (e.g.: C:\MPICH2)
# Create a new VS project, hellow, in "c:\MPICH2\examples" directory and add the hellow.c source (https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/examples/hellow.c).
# Set the include/lib dep directories to point to MPICH2
# Compile the 32-bit/Debug configuration of the VS project
# Use the following settings,
Configuration: Active (Debug)
Platform: Active (Win32)
Debugger to launch: MPI Cluster Debugger
MPIRun Command: C:\MPICH2\bin\mpiexec.exe
MPIRun Arguments: -n 2
MPIRun Working Directory: C:\MPICH2\examples\hellow\Debug
MPIShim Location: C:\MPICH2\mpishim.exe
MPI network security mode: Accept connections from any address
MPI network filter:
Debugger type: Auto